
/* NavBar Styles */
nav{
    height: 12vh;
    padding: 1vh 5vw; 
    background-color: var(--nav-background);
    position: fixed;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: row;
}

.branding-div{
    display: flex;
    flex-direction: row;
    align-items: center;
}

#branding-logo{
    height: 12vh;
    width: 12vh;
    background-color: white;
}
.branding-div>h1{
    margin-left: 20px;
}

#nav-spacer{
    height: 12vh;
    padding: 1vh 5vw;
}
#nav-links-div{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;    
    flex: .9;
    gap: 40px;
}
#nav-links-div>a{
    font-size: 30px;
    text-decoration: none;
}
#nav-links-div>a:hover{
    text-shadow: 0 0 20px var(--brand-font);
}

/* Media Styles */
@media (max-width: 750px) {
    #mobile-menu{
        flex: 0.85;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
    }
    #mobile-menu>span{
        border-bottom: 4px solid #cacaca;
        width: 40px;
        margin: 5px;
        display: flex;
        position: absolute;
        transition: .5s ease-in-out;
    }
    #mobile-menu>span:nth-child(1){
        margin-top: -16px;
    }
    #mobile-menu>span:nth-child(3){
        margin-top: 26px;
    }
    #mobile-menu.active>span:nth-child(1){
        transform: rotate(45deg);
        margin: 0px;
    }
    #mobile-menu.active>span:nth-child(2){
        opacity: 0;
    }
    #mobile-menu.active>span:nth-child(3){
        transform: rotate(-45deg);
        margin: 0px;
    }
    #nav-links-div{
        overflow: hidden;
        max-height: 0px;
        transition: .5s ease-in-out;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        height: auto;
        top: 14vh;
        left: 0px;
        background-color: var(--nav-links-background);
        width: 100%;
    }
    #nav-links-div.active{
        max-height: 100vh;
    }
    #nav-links-div>*{
        margin: 0px;
        padding: 20px;
        width: 100%;
        text-align: center;
    }
}

/* Branded Table */
.branded-table{
    border: 1px solid var(--border-dark)
}

/* Grid Styles */
.grid-1-1{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.grid-1-1-1{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.grid-2-1{
    display: grid;
    grid-template-columns: 2fr 1fr;
}
@media (max-width: 750px){
    .grid-2-1, .grid-1-1, .grid-1-1-1{
        grid-template-columns: 1fr;
    }
}

/* Layouts */
.center{
    display: flex;
    justify-content: center;
}
.mobile-only{
    display: none;
}
.desktop-row{
    display: flex;
    flex-direction: row;
    width: 100%;
}
@media (max-width: 750px){
    .mobile-only{
        display: block;
    }
    .desktop-only{
        display: none;
    }
    .mobile-column{
        display: flex;
        flex-direction: column;
    }
}

/* Input Styles */
.input-div{
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding: 10px 0px;
    align-items: center;
}
input, select, option{
    min-height: 30px;
    color: #000;
    padding: 0px 5px;
}
@media (max-width: 750px){
    input:has(+ *){
        max-width: 60%;
    }
    input:has(+ input[types=file]){
        max-width: 100%;
    }
}

.branded-button{
    border-radius: 20px;
    background-color: var(--primary-color);
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

/* Sections */
.content-section>h1{
    margin-bottom: 30px;
}
.content-section>h2{
    margin-bottom: 5px;
    border-bottom: 1px solid #fff;
}
.resume-section{
    padding: 20px;
    padding-bottom: 10px;
    padding-top: 0px;
}
@media (max-width: 750px){
    .content-section{
        padding: 0px 5%;
    }
    .content-section>h1, .content-section>h2, .resume-section{
        padding: 0px 10%;
    }
    .content-section>h2{
        margin-top: 20px;
    }
    .resume-section{
        margin-top: 10px;
    }
}

/* Cards */
.card-container{
    margin: 0px 30px;
    background-color: var(--card-background);
    border: 5px solid var(--border-dark);
    border-radius: 50px;
    min-width: 200px;
    max-width: 250px;
    padding: 20px 40px 30px 40px;
    cursor: pointer;
    transition: border-color .3s;
    display: grid;
    grid-template-rows: .1fr .1fr 1fr .2fr;
}
.card-container:hover{
    border-color: var(--border-light);
}
.card-container img{
    max-width: 100%;
    margin: 10px 0px;
    align-self: center;
    justify-self: center;
    max-height: 150px;
}
.card-container p{
    margin-bottom: 5px;
}
@media (max-width: 750px){
    .card-container{
        min-width: 40%;
        max-width: 40%;
    }
    .card-container img{
        max-width: 80%;
    }
}


/* Card Displays */
.horizontal-index{
    display: flex;
}
.horizontal-index>*{
    transition: 1s;
}
.horizontal-indexer{
    padding: 20px;
    display: flex;
    align-items: center;
    border-radius: 50px;
    border: 5px solid rgba(0,0,0,0);
    cursor: pointer;
    transition: border-color .3s;
    color: var(#fff);
    font-size: 50px;
    font-family: sans-serif;
}
.horizontal-indexer:hover{
    border-color: var(--border-light);
    border: 5px solid var(--border-dark);
    border-radius: 50px;

}
@media (max-width: 750px){
    .horizontal-index{
        margin-left: -10px;
    }
    .horizontal-indexer{
        padding: 10px;
        font-size: 30px;
    }
    .horizontal-index>*{
        margin-left: 5px;
        margin-right: 5px;
    }
}


/* Basics */
.hidden{
    display: none;
}