/* Imports Lato */

.lato-thin {
font-family: "Lato", sans-serif;
font-weight: 100;
font-style: normal;
}

.lato-light {
font-family: "Lato", sans-serif;
font-weight: 300;
font-style: normal;
}

.lato-regular {
font-family: "Lato", sans-serif;
font-weight: 400;
font-style: normal;
}

.lato-bold {
font-family: "Lato", sans-serif;
font-weight: 700;
font-style: normal;
}

.lato-black {
font-family: "Lato", sans-serif;
font-weight: 900;
font-style: normal;
}

.lato-thin-italic {
font-family: "Lato", sans-serif;
font-weight: 100;
font-style: italic;
}

.lato-light-italic {
font-family: "Lato", sans-serif;
font-weight: 300;
font-style: italic;
}

.lato-regular-italic {
font-family: "Lato", sans-serif;
font-weight: 400;
font-style: italic;
}

.lato-bold-italic {
font-family: "Lato", sans-serif;
font-weight: 700;
font-style: italic;
}

.lato-black-italic {
font-family: "Lato", sans-serif;
font-weight: 900;
font-style: italic;
}

/* Sets the background to white and a default color and font for text */

body {
    background-color: #F9F5F1;
    color: black;
    font-family: "Lato", sans-serif;
    font-size: 1.6vw;
}

/* Gets rid of default styling on links */

a {
    color: black;
    text-decoration: none;
}

/* Header section */

/*
Menu
*/

ul {
    list-style: none;
    padding: 0;
}

/* Menu with home, work, etc. */

#menu {
    z-index: 9000;
    top: 0;
    padding-top: 3vh;
    padding-bottom: 4vh;
    transition: 0.4s;
    width: 100vw;
    min-height: 10vh;
    max-height: 10vh;
    font-size: 2vw;
}

/* Menu alignment */

.nav__list,
.nav__link {
    display: flex;
    justify-content: center;
    align-items: end;
    column-gap: 6vw;
}

.nav__link {
    flex-direction: column;
    align-items: center;
    row-gap: 0;
    font-weight: 600;
    color: black;
    opacity: 0.7;
}

/* Menu hover animation */

.nav__link:hover {
    opacity: 1.0;
    transition: 0.1s;
    transition-timing-function: ease-in-out;
}

/* Some space at the bottom of the menu and icon sizing */

.nav__icon {
    margin-bottom: 2vh;
    max-width: 60%;
}

.fadein {
    -webkit-animation: fadeIn 1.2s both;
    -moz-animation: fadeIn 1.2s both;
    -o-animation: fadeIn 1.2s both;
    animation: fadeIn 1.2s both;
}

/* Animation of fading in the reel (and the video popups and descriptions on tablets and phones) */

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
        -webkit-transform: translateY(50px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
        -moz-transform: translateY(50px);
    }

    100% {
        opacity: 1;
        -moz-transform: translateY(0);
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
        -o-transform: translateY(50px);
    }

    100% {
        opacity: 1;
        -o-transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Div for left and right margins */

.marginleftright {
    margin: auto 5vw auto 5vw;
}

/* Grid for the top photos */
.photo_grid {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 5vw;
}

.photos {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 30vw;
    margin-top: 10vh;
    margin-bottom: 10vh;
}

/* Styling the work section */

.cards {
    display: flex;
    column-gap: 5vw;
    padding: 10vh 7vw;
    background-color: white;
    border-radius: 30px;
    margin-bottom: 15vh;
}

/* .cards:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: box-shadow 0.3s ease-in-out;
} */

.emoji {
    font-size: 6vw;
    margin: 0;
    align-self: center;
}

.text {
    font-size: 1.6vw;
    margin: 0;
    align-self: center;
    font-weight: 450;
}

.work_grid {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 5vw;
    align-items: center;
    justify-items: center;
    margin-top: 5vh;
    margin-bottom: 5vh;
}

.work_grid h2 {
    font-size: 3vw;
}

.mockup {
    width: 30vw;
    opacity: 0.9;
    transition: 0.35s ease-in-out;
}

.mockup:hover {
    width: 31.5vw;
    opacity: 1;
}

.orglogo {
    width: 5vw;
    margin-bottom: 0;
}

.role_research {
    background-color: #E0E8FF;
    border: none;
    color: black;
    padding: 5px 2px;
    border-radius: 20px;
    width: 15vw;
    text-align: center;
    font-size: 1.3vw;
    font-weight: 500;
}

.product_description {
    font-size: 1.8vw;
}

#patrick_barry .role_research {
    background-color: #bceefd;
}

.role_design {
    background-color: #d4d1fd;
    border: none;
    color: black;
    padding: 5px 2px;
    border-radius: 20px;
    width: 20vw;
    text-align: center;
    font-size: 1.3vw;
    font-weight: 500;
}

.roles {
    display: flex;
    column-gap: 2vw;
}

/* Footer */

#footer {
    background-color: #F9F5F1;
    position: absolute;
    width: 100vw;
    left: 0;
    padding: 0 4vw 4vh 4vw;
}

/* Aligning the social media icons with CSS flexbox */

#footflex {
    display: flex;
    justify-content: center;
    align-items: end;
    column-gap: 6vw;
    margin-bottom: 5vh;
    margin-right: 8vw;
}

/* LinkedIn item */

#linkedin {
    width: 4.5vw;
    opacity: 0.65;
    transition: 0.4s;
    border-radius: 6px;
}

#linkedin:hover {
    opacity: 1.0;
}

/* Copyright [Year] Eli Marietta */

#copyright {
    text-align: center;
    margin-right: 8vw;
}

/* Responsiveness for tablets */

@media screen and (max-width: 999px) {

    body {
        font-size: 4.9vw;
    }

    #menu {
        z-index: 9000;
        padding: 0;
        min-height: 2vh;
        max-height: 2vh;
        font-size: 4.5vw;
        margin-bottom: 12vh;
    }

    .nav__menu {
        padding-left: 0;
        padding-right: 0;
        padding-top: 2vh;
        padding-bottom: 0vh;
        display: grid;
        align-content: center;
    }

    .nav__list {
        justify-content: center;
        column-gap: 6vw;
        padding-left: 0;
    }

    .nav__link {
        opacity: 0.7;
    }

    .photos {
        width: 80vw;
    }

    .cards {
        display: block;
    }

    .emoji {
        font-size: 12vw;
        margin-bottom: 2vh;
    }

    .text {
        font-size: 4.5vw;
        font-weight: 500;
    }

    .photo_grid {
        display: block;
    }

    /* Footer */

    #linkedin {
        width: 9vw;
    }

    #footflex {
        margin-bottom: 0;
    }

    /* Copyright [Year] Eli Marietta */

    #copyright {
        margin-bottom: 6vh;
    }

    #copyright>h2 {
        font-size: 5.5vw;
    }
}

/* Responsiveness for landscape on tablets and phones */

@media screen and (max-width: 999px) and (orientation:landscape) {
    #menu {
        min-height: 10vh;
        max-height: 10vh;
        margin-bottom: 30vh;
    }
}

/* Responsiveness for smaller phones */

@media screen and (max-width: 500px) {}