/* --------------- ENTIRE WEBSITE ----------- */
html,
body {
    height: 100vh;
    /* overflow: hidden; */
    background-image: url(img/HeroImage.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 18px;
}

.parent {
    /* overflow-y: scroll; */
    height: 100vh;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 20vw 0 20vw;
}

.snap-section {
    margin: 10vh 20vw;
    height: 100vh;
    width: auto;
    background: linear-gradient(0deg, rgb(65, 71, 75, 0) 0%, #40464A 10%, #40464A 90%, rgb(65, 71, 75, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spacing-container {
    margin: 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header, .background-container h1, #about-me h1 {
    color: white;
    background-color: #F5A631;
    padding: 1vh 5vw;
    text-align: center;
    border-radius: 5vw 0;
}

section {
    scroll-snap-align: center;
    position: relative;
    width: 100%;
    /* border: black 1px solid; */
    color: white;
}

/* for buttons */
a {
    display: block;
    text-decoration: none;
    background-color: white;
    color: #41474B;
    text-align: center;
    justify-content: space-around;
    border-radius: 10px;
    box-shadow: 10px 5px 5px #38393a;
    border: rgba(128, 128, 128, 0.5) 2px solid;
}

a:hover {
    box-shadow: 5px 2px 5px #38393a inset;
}

/* headers for most sections of website */
section h1 {
    font-size: 3em;
}

/* --------------- NAVBAR -------------------- */

#main-nav {
    color: black;
    background-color: rgb(49, 161, 245, 0);
    box-sizing: border-box;
    display: flex;
    text-align: center;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    position: fixed;
    transition: background-color 0.5s;
    width: 100%;
    z-index: 1;

}

#main-nav p {
    font-size: 1.5em;
    background-color: rgb(49, 161, 245);
    padding: 10px;
    border-radius: 10px;
}

#Navbar-buttons {
    list-style: none;
    align-content: center;
    display: flex;
}

#Navbar-buttons li {
    margin: 0 20px;
}

#Navbar-buttons a {
    margin: 5%;
    padding: 1vh 2vw;
    width: 10vw;
    box-shadow: 10px 5px 5px #5580A0;
}

#Navbar-buttons a:hover {
    box-shadow: 5px 2px 5px #5580A0 inset;
}

/* ----------- header ---------------- */
#hero-image {
    height: 100vh;
    justify-content: space-around;
}

.background-container {
    width: 50vw;
    height: 100vh;
    padding: 8vh;
    margin: 5vw;
    background: linear-gradient(0deg, rgb(65, 71, 75, 0) 0%, #40464A 10%, #40464A 90%, rgb(65, 71, 75, 0) 100%);
    animation: OpacityModes 2s normal forwards;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.background-container a {
    padding: 10px;
    border-radius: 10px;
}

.background-container p {
    margin: 2vh 0;
}

.background-container p b {
    font-size: 2em;
    background-color: #40464A;
}

/* animation for appearing hero text */
@keyframes OpacityModes {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 40;
    padding-top: 2vh;
    font-size: 2em;
    color: #6b6f72;
}

/* ---------- Footer ---------------- */
#footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #31A1F5;
    color: black;
}

#footer a {
    background-color: transparent;
    box-shadow: none;
    border: none;
}

/* ----------- About Me -------------- */
#about-me .spacing-container {
    background-color: white;
    color: black;
    padding: 5vw;
    width: 40vw;
}

.collapsible {
    background-color: #F5A631;
    cursor: pointer;
    padding: 2vh 1vw;
    width: 43vw;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1em;
}

.active,
.collapsible:hover {
    color: white;
    background-color: #B58D51;
}


.content {
    object-fit: contain;
    width: 40vw;
    list-style: square;
    text-align: start;
    display: none;
    overflow: hidden;
    background-color: #d8dce0;
    margin: 0;
}

/* ---------- Projects ----------- */
/* cards for projects */
.cards {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
}

.cards li {
    margin: 0;
    padding: 0;
}

.cards a {
    box-shadow: none;
}

.card-links {
    display: block;
    text-align: center;
    position: relative;
    width: 17vw;
    height: 17vw;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.projectImages {
    opacity: 1;
    display: block;
    object-fit: contain;
    height: 100%;
    width: 100%;
    transition: .5s ease;
    backface-visibility: hidden;
}

.center-text {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 0.5em;
}

.card-links:hover .projectImages {
    opacity: 0.3;
    animation: imageGrow 1s forwards;
}

@keyframes imageGrow {
    0% {
        scale: 1;
    }
    100% {
        scale: 1.5;
    }
}

.card-links:hover .center-text {
    opacity: 1;
}

.scroll-arrow {
    border-radius: 0;
    box-shadow: none;
    border: none;
    background-color: transparent;
}

.scroll-arrow:hover {
    cursor: pointer;
    box-shadow: none;
}

.scroll-arrow:hover .material-symbols-outlined {
    color: white;
    transition: 1s ease;
    animation: pointDownwards 2s infinite;
    position: relative;
}

/* keyframes for moving arrow to indicate more is below */
@keyframes pointDownwards {
    0% {
        transform: translate(0);
    }
    50% {
        transform: translate(0, 50px);
    }
    100% {
        transform: translate(0);
    }
}

/* ---------- Projects webpages ------------ */
.project-headers, .gallery-section {
    margin: 0 5%;
    padding: 0;
    background-color: white;
    scroll-snap-type: none;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 90%;
}

.hero-section {
    width: 50vw;
    height: 14vh;
    padding: 8vh;
    margin: 10vw 5vw 5vw;
    animation: OpacityModes 2s normal forwards;
    justify-content: center;
    background-position: center;
    background-size:cover;
    scroll-snap-type: none;
}

/* assign the image logos for each project webpage */
#movies-header {
    background-image: url(img/MovieWebsiteIcon.png);
}

#portfolio-header {
    background-image: url(img/PortfolioWebsiteIcon.png);
    opacity: 0.3;
}

#explore-header {
    background-image: url(img/ExploreWebsiteIcon.png);
    opacity: 0.3;
}

#bals-header {
    background-image: url(img/PrototypeIcon.jpg);
    opacity: 0.3;
}

#wellbeing-header {
    background-image: url(img/MindfulnessAppIcon.png);
    opacity: 0.3;
}

#food-header {
    background-image: url(img/SaladAppIcon.png);
    opacity: 0.3;
}

/* style the project webpages */
.hero-section h1, .hero-section p {
    color: black;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.904);
    padding: 2vw 5vw;
    margin: 0;
}

.gallery-section {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: normal;
    justify-content: center;
    background-color: white;
}

.gallery-column {
    flex: 25%;
    max-width: 25%;
    padding: 0 2vw;
}

.gallery-column img {
    margin: 4vh 0;
    vertical-align: middle;
    width: 100%;
}

.website .gallery-column {
    flex: 40%;
    max-width: 40%;
}

.gallery h1 {
    color: black;
    background-color: #31A1F5;
    width: 90%;
    margin: 0 5%;
    padding: 1vh 0;
    text-align: center;
}