:root {
    --darkgray: #212329;
    --brightaccent: #cf4d1a;
    --white: #fff;
    --lightaccent: #e99e80cc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Nunito", sans-serif;
    font-size: 14pt;    
}

ul {
    list-style: none;
}

li {
    text-decoration: none;
}

a {
    text-decoration: none;
    color: var(--white);
}

p {
    color: var(--white);
    padding-top: 15px;
}

h1 {
    font-size: 64pt;
    color: var(--white);
}

h2 {
    font-size: 28pt;
    color: var(--white);
}

h4 {
    font-size: 20pt;
    color: var(--white);
}

h5 {
    color: var(--white);
}

body {
    display: flex;
    flex-direction: column;
    background-color: rgb(0, 0, 0);
    min-height: 100vh;
}

footer {
    background-color: var(--darkgray);
    padding: 20px 80px 20px 80px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.small-txt {
    font-size: 10pt;
}

.margin-left {
    margin-left: 20px;
}

.margin-left-half {
    margin-left: 10px;
}

.margin-right {
    margin-right: 20px;
}

.margin-right-half {
    margin-right: 10px;
}

.margin-top {
    margin-top: 20px;
}

.margin-bottom {
    margin-bottom: 20px;
}

.link {
    text-decoration: underline;
    color: var(--lightaccent);
}

.content {
    flex: 1;
    max-width: 2000px;
    align-self: center;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-container {
    height: auto;
    display: flex;
    /* border: 4px solid var(--lightaccent); */
    justify-content: center;
    align-items: center;
}

.index-container {
    margin: 20px 30vh;
}


.text-box {
    display: flex;
    flex-direction: column;
    height: auto;
    /* height: 400px;  */
    width: 100%;
    background-color: var(--darkgray);
    font-size: 64pt;
    padding: 40px;
    /* padding-left: 40px;
    padding-right: 80px; */
    justify-content: center;
    /* border-top-left-radius: 7px; */
    /* border-bottom-left-radius: 7px; */
    border-radius: 7px;
}

.index-text {    
    padding-right: 100px;
}

.text-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
}

.image-box {
    display: flex;
    justify-content: center;
    align-items: center;    
    height: auto;
    width: auto;
    /* padding: 20px; */
    background-color: var(--darkgray);
    font-size: 64pt;
    border-radius: 7px;
}

.img-face {
    height: 460px;
    border-radius: 7px;
    flex-shrink: 1;
}

/* start of navbar css */

.nav-padding {
    padding-left: 20px;
    padding-right: 20px;
}

.nav-container {
    width: 100%;
    background-color: var(--darkgray);
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    margin: 0 auto;
}

#navbar-logo {
    font-size: 32pt;
    color: var(--white);
    justify-self: start;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    justify-content: flex-end;
}

.nav-links {
    color: var(--white);
    text-decoration: none;
    padding: 0px 15px 0px 15px;
}

.content-link {
    color: var(--white);
    text-decoration: none;
    padding: 0px 15px 0px 15px;
}

.nav-links:hover {
    color: var(--brightaccent);
    transition: all 0.2s ease-out;
}

.nav-links-btn {
    display: flex;
    align-content: center;
    justify-content: center;
    max-width: 250px;
    background-color: var(--brightaccent);
    margin-top: 40px;
    padding: 6px 16px;
    border-radius: 4px;
}

.content-link-btn {
    display: flex;
    align-content: center;
    justify-content: center;
    max-width: 250px;
    background-color: var(--brightaccent);
    margin-top: 40px;
    padding: 6px 16px;
    border-radius: 4px;
}

.nav-links-btn:hover {
    background-color: transparent;
    color: var(--white);
    padding: 5px 15px;
    border-radius: 4px;
    border: solid 1px var(--brightaccent);
    transition: all 0.3s ease-out;
}

.content-link-btn:hover {
    background-color: transparent;
    color: var(--white);
    padding: 5px 15px;
    border-radius: 4px;
    border: solid 1px var(--brightaccent);
    transition: all 0.3s ease-out;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background: var(--white);
}

.nav-selected {
    font-weight: bold;
    color: var(--brightaccent);
}

.about-title .about-intro {
    justify-self: center;
}

.footer-link{
    text-decoration: underline;
}

.video {
    aspect-ratio: 16/9;
    width: 100%;
    border-radius: 7px;
}

.video-box {
    display: flex;
    padding: 20px;
    background-color: var(--darkgray);
    border-radius: 7px;
    width: 100%;
}


.about-txt {
    text-align: center;
}

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

    .margin-left-half {
        margin-left: 0px;
    }
    
    .margin-right-half {
        margin-right: 0px;
    }

    .index-container {
        margin: 20px;
    }

    .nav-container {
        position: relative;
    }

    .nav-menu{
        display: flex;
        justify-content: center;
        flex-direction: column;
        background: var(--brightaccent);
        margin: 0;
        width: 100%;
        position: absolute;
        top: 80px;
        left:-100%;
        opacity: 0;
        transition: all 0.5s ease;
    }

    #navbar-logo {
        margin-left: 20px;
    }

    .nav-menu.active {
        background: var(--darkgray);
        left: 0;
        opacity: 1;
        transition: all 0.5s ease;
    }

    .nav-links {
        text-align: center;
        line-height: 60px;
        width: 100%;
        display: table;        
    }

    .nav-links:hover {
        background-color: var(--brightaccent);
        color: var(--white);
        transition: all 0.4s ease-out;
    }

    .navbar {
        width: 100%;
    }

    .nav-links-btn {
        align-self: center;
    } 

    .nav-links-btn:hover {
        border: none;
        padding: 0;
        border-radius: 0;
        background-color: var(--brightaccent);
        color: var(--white);
        transition: all 0.4s ease-out;
    }
    
    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .menu-toggle .bar {
        display: block;
        cursor: pointer;
    }

    .menu-toggle:hover {
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }    

    .text-box {
        border-radius: 7px;
    }

    /* .image-box {
        border-top-right-radius: 7px;
        border-bottom-right-radius: 7px;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
    } */

    .section-container {
        display: flex;
        flex-direction: column-reverse;
    }

    .reverse {
        flex-direction: column;
    }
}

/* end of navbar css */

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

    h1 {
        font-size: 48pt;
    }

    .section-container {
        /* margin: 10px; */
        flex-direction: column-reverse;
    }

    .text-box {
        height: auto;
        width: 100%;
        border-radius: 7px;
        padding: 20px;
    }

    .image-box {
        border-top-left-radius: 7px;
        border-top-right-radius: 7px;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;

    }    

    .footer-container {
        flex-direction: column;        
    }

    .footer-col {
        padding: 20px;
    }

    .reverse {
        flex-direction: column;
    }
    
}

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

    h1 {
        font-size: 32pt;
    }

    .reverse {
        flex-direction: column;
    }

}