/************Font Formatting************/
/*Roboto*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/*Roboto Slab*/
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/*Merriweather*/
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Roboto+Slab:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/*Varela Round*/
@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');
/************End of Font Formatting************/

/************General Formatting************/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/*Format smooth scrolling behavior*/
html {
    scroll-behavior: smooth;
}
/************End of general formatting************/

/************Animation Formatting************/
@keyframes fadedown {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes textTyping {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: lightblue;
    }
}

@keyframes appear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
/************End of Animation Formatting************/

/************Root formatting************/
:root {
    --navigation-font: 'Roboto', sans-serif;
    --footer-font: 'Roboto Slab', sans-serif;
    --section-title-font: 'Merriweather', sans-serif;
    --section-subtitle-font: 'Varela Round', sans-serif;
}
/************Header formatting************/

/*Format nav bar brand img*/
.navbar-brand img {
   width: 60px;
}

/*Format nav bar links*/
.nav-item {
    font-family: var(--navigation-font);
    font-size: 1.4em;
}
/************End of Header formatting************/

/************Section formatting************/

.heroSection {
    position: relative;
    width: 100%;
    height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/*Format video background*/
.videoBackground {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: -1;
}

/*Format video overlay*/
.videoOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

/*Format hero content*/
.heroContent {
    position: relative;
    z-index: 1;
}

/*Format hero content h2*/
.heroContent h2 {
    font-family: var(--secondary-round-font);
    font-size: var(--second-font-size);
    color: white;
    padding: 20px;
    font-size: 1.6em;
}

/*Format hero content h2 span*/
.heroContent h2 span {
    color: #BDFFFD;
}

/*Format h2 type animation*/
.typeWriter {
    animation: textTyping 3.5s steps(40, end),
    blink-caret 1s step-end infinite;
    overflow: hidden;
    white-space: nowrap;
    border-right: 10px solid lightcyan;
    margin: 0 auto;
}

/*Format hero content a*/
.heroContent a {
    font-family: var(--navigation-font);
    font-size: 1em;
    font-weight: bolder;
    text-decoration: none;
    text-transform: uppercase;
    background-color: #BDFFFD;
    color: black;
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px 20px;
    border-radius: 100px;
    animation: appear 1s ease-in;/*Create appear animation*/
}

section {
    text-align: center;
    padding: 20px;
}

/*Format section titles*/
section h2 {
    font-family: var(--section-title-font);
    font-weight: bold;
    font-size: 1.5em;
}
/**Project Formatting**/

/*Create box shadow*/
.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/*Format card button*/
.card a {
    border-radius: 50px;
    font-size: 1.3em;
}

/**About Formatting**/

/*Format about content*/
.aboutContent {
    display: flex;
    flex-direction: column;
    align-items: normal;
    justify-content: center;
}

/*Format about content img*/
.aboutContent img {
    width: 60%;
}

/*Format about content header tag*/
.aboutContent h4 {
    font-family: var(--section-subtitle-font);
    font-size: 1.5em;
    text-decoration: underline;
    text-align: left;
}

/*Format about content p tag*/
.aboutContent p {
    text-align: left;
    line-height: 2;
    letter-spacing: 2px;
    font-family: var(--section-subtitle-font);
}

/*Format highlight item*/
.highlightItem {
    display: flex;
    flex-direction: column;
    align-items: normal;
    justify-content: center;
    margin-top: 50px;
}

/*Format highlight item icon*/
.highlightItem i {
    font-size: 4em;
    background-color: #BDFFFD;
    padding: 15px;
    margin-bottom: 25px;
    width: 100px;
    border-radius: 50%;
}

/*Format highlight h4 tag*/
.highlightItem h4 {
    font-family: var(--section-subtitle-font);
    font-size: 1.5em;
    text-decoration: underline;
    text-align: left;
}

/*Format highlight item p tag*/
.highlightItem p {
    text-align: left;
    line-height: 2;
    letter-spacing: 2px;
    font-family: var(--section-subtitle-font);
}

/************Footer formatting************/
footer {
    text-align: center;
    background-color: #f9f9fb;
    padding: 10px;
}

/*Format footer p text*/
footer p {
    font-family: var(--footer-font);
    font-size: 0.8em;
}
/************Footer formatting************/

/************Media Queries************/

/*Desktop Media Query*/
@media screen and (min-width: 1300px) {

    /*Section Formatting/

    /*Format section titles*/
    section h2 {
        font-size: 3em;
    }

    /*Hero Section Formatting*/
    .heroSection {
        height: 50vh;
    }

    /*Format hero content h2*/
    .heroContent h2 {
        font-size: 3em;
    }

    /*Format hero content a*/
    .heroContent a {
        font-size: 1.5em;
        padding: 15px 30px;
    }

    /*About Formatting*/

    /*Format contentContainer to row*/
    .contentContainer {
       display: flex;
       justify-content: center;
       align-items: flex-start;
       flex-direction: row-reverse;
       gap: 100px;
    }

    /*Format about content*/
    .aboutContent {
        display: flex;
        flex-direction: column;
        align-items: normal;
        justify-content: left;
        position: sticky;
        top: 0;
        margin: 20px;
    }

    /*Format about content img*/
    .aboutContent img {
        width: 50%;
    }

    /*Format about content header tag*/
    .aboutContent h4 {
        font-family: var(--section-subtitle-font);
        font-size: 3em;
        text-decoration: underline;
        text-align: left;
    }

    /*Format about content p tag*/
    .aboutContent p {
        text-align: left;
        line-height: 2;
        letter-spacing: 2px;
        font-family: var(--section-subtitle-font);
        font-size: 2em;
        width: 800px
    }

    /*Format highlight container*/
    .highlightContainer {
        margin: 20px;
    }

    /*Format h4 title*/
    .highlightItem h4 {
        font-size: 3em;
    }

    /*Format p tag*/
    .highlightItem p {
        font-size: 1.3em;
        width: 800px;
    }
}
