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

html{
    position: relative;
    min-height: 100%;
}

body{
    background-color: #EBEEF3;
    justify-content: center;
    width: 100%;
    max-width: 1440px;
    margin: auto;
}

main{
    max-width: 1440px;
    margin: 40px;
}

header{
    background-color: #060E2E;
    color: #EBEEF3;
    width: auto;
    height: 75px;
    display: block;
}

h1,h2,h3,h4,h5{
    font-family: 'Titillium Web',sans-serif;
}

p {
    font-family: 'Roboto', sans-serif;
}
/*navbar*/
nav{
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 75px;
    background-color: #060E2E;
    font-family: 'Titillium Web',sans-serif;
}

.logo a{
    color: #EBEEF3;
    text-decoration: none;
    font-size: 26px;
}


.nav-links{
    display: flex;
    justify-content: space-around;
    width: 30%;
}

.nav-links a{
    text-decoration: none;
}

.nav-links li{
    list-style: none;
}

.burger{
    display: none;
}
.burger div{
    width: 25px;
    height: 3px;
    background-color:#EBEEF3;
    margin: 5px;
}
@media screen and (max-width:800px) {
    body{
        overflow-x: hidden;
    }
    .nav-links{
        display: none;
        position: absolute;
        top: 55px;
        height: 250px;
        background-color: #060E2E;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        justify-content: space-around;
        transition: transform 0.2s ease-in;
        transform: translateX(100%)
    }

    .nav-links li{
        opacity: 0;
    }

    .burger{
        display: block;
        cursor: pointer;
    }
}

.nav-active{
    transform: translateX(0%);
}

@keyframes navLinkFade{

    from{
        opacity: 0;
        transform: translateX(50px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);
    }

}
/* homepage image start */
.banner{
   width: auto; 
   max-height: 420px;
   max-width: 1440px;
   clear: both;
}
.banner img{
    width: 100%;
    height: 100%;
    max-width: 1440px;
    margin: auto;
}
/* homepage image end */

/* homepage card start */
.card-container{
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: row;
}

.card {
    width: 300px;
    height: 350px; 
    margin: 15px; 
    padding: 10px;
    float: left;
    background-color: #060E2E;
    border-radius: 10px;
}

figure {
    width:300px;
    height: auto;
    margin-bottom: 10px;
    margin-left: 0px;
    float: left;
}

figure img{
    width: 100%;
    height: auto;
    border-radius: 10px;
}

figcaption {
    font-size: 18px;
    font-family: 'Roboto',sans-serif;
    height: auto;
    padding: 0.5em;
    color: #EBEEF3;
}

/* homepage card end */
footer {
    background-color: #060E2E;
    color: #EBEEF3;
    clear: both;
    width: 100%;
    height: 75px;
    padding-top: 15px; 
    font-family: 'Roboto', sans-serif;

    left: 0;
    bottom: 0;
    overflow: hidden;
}

footer a{
    color: #B8E4F1;
}

.active{
    font-size: 24px;
    font-family: 'Titillium Web',sans-serif;
    color: #B8E4F1;
    text-decoration: underline;
}

.inactive{
    font-size: 24px;
    font-family: 'Titillium Web',sans-serif;
    color: #EBEEF3;
    text-decoration: none;
}

.content{
    max-width: 690px;
    text-align: center;
    margin: auto;
    width: 50%;
}

.content p {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
}

.content h1{
    font-size: 48px;
}

.content a{
    color: #FF1A03;
    text-decoration: none;
    font-style: italic;
}

.attribution {
    text-decoration: none;
    font-size: 12px;
    font-style: italic;
}

@media screen and (max-width: 800px){
    .card-container{
        flex-direction: column;
    }


}