* {
    box-sizing: border-box;
}
body {
    margin: 10px;
    padding: 0;  
    font-family: 'Nunito-Light';
    background-color: var(--colorfour);
}
@font-face {
    font-family: 'Nunito-Black';
    src: url('Nunito-Black.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
}
@font-face {
    font-family: 'Nunito-Light';
    src: url('Nunito-Light.ttf') format('truetype');
    font-style: normal;
    font-weight: 200;
}
:root {
    --colorone: #172A3A;
    --colortwo: #508991;
    --colorthree: #A64253;
    --colorfour: #E0C1B3;
    --colorfive: #FCEADE;
}
#top{
    width: 100%;
    padding: 10px;
    border-style: solid;
    border-width: 5px;
    border-color: var(--colorfive);
    background-color: var(--colorone);
    color: var(--colorfive);
    display: flex;
    justify-content: center;
    border-radius: 1px;
    top: -1px;
    position: sticky;
    transition: 200ms;
}
#top.is-pinned{
    border: 0;
    box-shadow: 10px 0 0 var(--colorone), -10px 0 0 var(--colorone);
}
#top.is-pinned .brand-title{
    height: 0px;
    overflow: hidden;
    margin: 0;
}
#top.is-pinned .navbar-links li{
    background-color: rgba(1, 2, 3, 0);
    
}
#top.is-pinned .navbar-links a{
    color: var(--colorfour)
    
}
.brand-title {
    font-size: 1.5rem;
    margin: .5rem;
    text-align: center;
}
.navbar{
    position: relative;
}
.navbar-links ul {
    display: flex;
    margin: 0;
    padding: 0;
    transition: 200ms;

}
.navbar-links li {
    list-style: none;
    background-color: var(--colorfive);
    margin: 0 5px 0 5px;
}
.navbar-links ul :first-child{
    border-radius: 20px 0 0 20px ;
}
.navbar-links ul :last-child{
    border-radius:  0 20px 20px 0;
}
.navbar-links li a {
    display: block;
    text-decoration: none;
    color: var(--colorone);
    padding: 0.5rem;
}
.navbar-links li:hover {
    text-shadow: 0 0 1px black;
}
.toggle-button {
    position: absolute;
    right: 0;
    top: .75rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    float: right;
}
.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: var(--colorfive);
    border-radius: 10px;
}
#logo {
    width: 30%;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1 ;
    opacity: 0.4;
}
.img-between{
    width: 100%;
    max-height: 50vh;
    object-fit: cover;
    border-style: solid;
    border-width: 5px;
    border-color: var(--colorfive);
    border-radius: 1px;
}
section{
    background-color: var(--colorfive);
    width: 100%;
    display: flex;
    margin: 20px 0 20px 0;
    border-radius: 1px;
}
.banner-right{
    justify-content: space-around;
}
.banner-right h2{
    text-align: right;
}
.banner-right .banner{
    background-color: var(--colorthree);
    width: 60px;
    box-shadow: 0 -10px var(--colorthree);
    margin: 0 30px 0 0 ;
    border-radius: 1px;
}
.banner-right p{
    text-align: left;
}
.banner-left .banner{
    background-color: var(--colorthree);
    width: 60px;
    box-shadow: 0 -10px var(--colorthree);
    margin: 0 0px 0 30px ;
    border-radius: 1px;
}
.banner-left h2, p, details{
    margin-left: 10px;
    color: var(--colorone);
}
.underlining {
    margin-top: -20px;
    height: 1px;
    background-color: var(--colorone);
    margin-left: 10px;
    width: 100%;
}
#footer{
    border-style: solid;
    border-width: 5px;
    border-color: var(--colorfive);
    background-color: var(--colorone);
    color: var(--colorfive);    
    width: 100%;
    text-align: center;
    padding: 10px;
    border-radius: 1px;
}
summary{
   text-decoration: underline;
   
}
strong{
    font-family: Nunito-Black;
}
#toggle-button {
    display: none;
}
.info-box{
    width: 32%;
    background-color: var(--colorfour);
    color: var(--colorone);
    padding: 10px;
    border-radius: 1px;
}
.info-box-box{
    display: flex;
    justify-content: space-between;
    font-family: Nunito-black;
}
.content{
    width: 80%;
    margin: 10px;
}
.scrollTo{
    position: relative;
    bottom: 100px;
}
@media (max-width: 800px) {
    #top.is-pinned{
        border: 0;
        box-shadow: 10px 0 0 var(--colorone), -10px 0 0 var(--colorone);
    }
    #top.is-pinned .navbar-links{
        top: 43px;
        right: -20px;
    }
    #top.is-pinned .brand-title{
        height: auto;
        overflow: hidden;
    }
    #top.is-pinned .navbar-links ul li{
        background-color: var(--colorfive);
    }
    #top.is-pinned .navbar-links ul a{
        color: var(--colorone);
    }
    #top.is-pinned .toggle-button {
        margin: -.25rem;
    }
    .toggle-button {
        display: flex;
    }
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        width: 100%;
        display: flex;

    }

    .navbar-links ul :first-child{
        border-radius:  0 ;
    }
    .navbar-links ul :last-child{
        box-shadow: 0px 0px 5px 1px var(--colorone);
        border-radius: 0;

    }
    .navbar-links {
        display: none;
        position: absolute;
        right: -15px;
        top: 59px;
    }
    .navbar-links ul {
        width: 100%;
        flex-direction: column;

    }
    .navbar-links ul li {
        text-align: center;
        
    }
    .navbar-links ul li a {
        padding: .5rem 1rem;
    }
    .not-always-visible{
        display: none;
    }
    .banner {
        display: none;
    }
    #toggle-button:checked ~ .navbar-links{
        display: flex;
    }
    .info-box-box{
        display: grid;
    }
    .info-box{
        width: 100%;
        margin-bottom: 10px;
    }
    section{
        justify-content: center;
    }
} 
@media (max-width: 500px) {
    .brand-title {
        font-size: 1rem;
        margin: .5rem;
    }
    .navbar-links {
        top: 47px;
    }
    .toggle-button {
        position: absolute;
        right: 0;
        top: .60rem;
        right: 0.5rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 18px;
        float: right;
    }
    
    .toggle-button .bar {
        height: 2px;
        width: 100%;
        background-color: var(--colorfive);
        border-radius: 10px;
    }
    #top.is-pinned .toggle-button {
        margin: -.5rem;
    }
    #top.is-pinned .navbar-links{
        top: 31px;
    }
}