*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;  
  }

  /* Colors */
:root {
    --accent-color: #b8ee24;
    --black: #100000;
    --grey: #707070;
    --light-grey: #e6e6e6;
    --white: #ffffff;    
 }  

/* Typography */
p, h1, h2, h3, h4, a, li, td, .label, .input, .textarea, .val-msg {
    font-family: Arial, Helvetica, sans-serif
}
p, td {
    font-size: 0.9rem;
    line-height: 1.6rem;
    font-weight: 100;
    padding: 1rem 0;
    letter-spacing: 0.1rem;
    color: var(--grey);
}
h1 {
    font-size: 3.4rem;
    font-weight: 600;
    line-height: 4rem;
    padding: 25px 0;
    @media screen and (max-width: 1023px) {
        font-size: 2.6rem;
        line-height: 3.2rem;
    }
}
h2 {
    font-size: 2.2rem;
    font-weight: 600;
    padding-bottom: 20px;
    
}
h3 {
    font-size: 1.6rem;
    font-weight: 600;
    padding-bottom: 20px;
}
h4 {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 10px 0;
}
a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    text-decoration: underline;
    opacity: 0.9;
}
ul, li {
    list-style-type: none;
    list-style: none;
    white-space: nowrap;  
}
.fa {
    padding: 0 10px;
}

/* Navigation */
nav.scrolled {
    background-color: rgb(255, 255, 255);         
}
.nav {
    width: 100%;
    position: fixed;
    top:0;
    left: 0;
    right: 0;
    z-index: 11;
    display: flex;    
    align-items: center;
    padding: 10px 25px;  
    @media screen and (max-width: 1023px) {
        justify-content: space-between;
        align-items: start;        
    }
    @media screen and (min-width: 1440px) {
        padding: 0 12vw;
    }
}
.nav-logo {
    max-height: 70px;
    max-width: 200px;
    padding: 10px;          
}
.nav-menu-container {
    padding: 10px 50px;
}
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.8rem;
    font-size: 1.2rem;
    font-weight: 800;
    @media screen and (max-width: 1023px) {
        display: none;
    }
}
.nav-icon-container {
    @media screen and (min-width: 1024px) {
        display: none; 
    }
}
.nav-icon {
    font-size: 1.4rem;
    cursor: pointer;  
}
#burger {
    position: absolute;
    top: 25px;
    right: 25px;     
}
.mobile-nav-overlay {
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(255, 255, 255, 1);
    z-index: 30;    
}
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: start;
    position: absolute;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    gap: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    font-size: 1rem;
    letter-spacing: .1rem;
    white-space: nowrap;
    text-transform: uppercase;
    padding: 10px 36px;
    margin: 1rem 0rem;
    background-color: var(--black);
    color: var(--white);
    border: none;
    &:hover {
        background-color: var(--grey);
    }
}
.text-link {
    font-size: 1.2rem;
    
}

/* Containers */
section {
    margin: 125px 0;
}
.container {            
    padding: 10px;
}
.content {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;    
    padding: 20px;
    gap: 50px;
    max-width: 900px;
    margin: auto;
    & img, video {
        width: 100%;
        height: auto;
        padding: 20px 0;
        overflow: hidden;
    }    
}
.two-col-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    @media screen and (max-width: 768px) {
        flex-direction: column;
        gap: 0;
    }
}
.card {
    background-color: #e7e7e7;
    height: 400px;
    max-width: 1000px;
    width: 100%;
    margin-bottom: 100px;    
}
.card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    padding: 0;
}


/* Home Page */
#home-page .nav-links {
    display: flex;
    flex-direction: column;
    align-items: start;
    position: absolute;
    top: 35vh;
    left: 35vw; 
    transform: translate(-50%, -50%);   
    font-size: 2.4rem;
    gap: 3rem;
    @media screen and (max-width: 1023px) {
        top: 50vh;
        left: 50vw;
        font-size: 1.8rem; 
    }
}
#home-page .nav-icon-container {
    display: none;
}

.video-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%) translateY(-50%);
    background-size: cover;
  }
  .video-bg::after {
    content: "";
    background-image: url(/assets/video_overlay.png);
    position: absolute;
    opacity: 0.8;
    inset: 0;
  }

/* Academic Directory */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0px 50px;
}
td {
    border-right: 1px solid #707070;
    text-align: left;
    vertical-align: top;
    padding: 0px 10px;
}
td:first-child {
    padding-left: 0;
}
td:last-child {
    border-right: none;
    padding-right: 0;
}
@media (max-width: 600px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }
    table {
        border-collapse: collapse;
        width: 100%;
    }

    tr {
        margin-bottom: 50px;
    }

    td {
        text-align: left;
        position: relative;
        border-left: 1px solid #ccc;
        border-right: none;
    }
    td:first-child {
        padding-left: 10px;
    }
}

/* About Page */
.bio-photo {
    min-width: 300px;
    max-width: 425px;
}

/* Contact Page */
#contact-page .content {
    align-items: start;
}
.form-container {
    width: 100%;
    max-width: 500px;
    padding-top: 1rem;
}
.field {
    padding-bottom: 25px;
}
.input, .textarea {
    font-size: 1rem;
    line-height: 1.2rem;
    padding: 0.4rem 0.7rem;
    min-width: 100%;
    border: solid 1px;
    border-radius: 1px;
    &:focus {
        outline: none;
    }  
}
.label {
    display: block;
    font-size: 0.8rem;
    color: var(--grey);
    padding-bottom: 0.2rem;
}
.is-danger {
    border: solid 1px red;
    outline: none;    
}
.val-msg {
    display: block;
    color: red;
    font-size: 1rem;
    padding-top: 0.2rem;
}