/*--------------------------------------------------------
    Typography
--------------------------------------------------------*/
* {box-sizing: border-box;}
a:link {text-decoration: none;}
a img {border: none;}
a:focus,a:active,a img:focus {outline: none;}
body {
    margin: 0 auto;
    background: #e9ecfa;
    font-size: 16px;
    font-family: Verdana, Arial, Helvetic, sans-serif;
}
h1,h2,h3 {
    text-align: center;
    padding: 1em 0;
}
/*--------------------------------------------------------
    Layout
--------------------------------------------------------*/
header {
    display: flex;
    background: #F02D36;
    height: 64px;
    justify-content: space-between;
    padding-top: 10px;
}
header a {
    border: none;
    color: #FFF;}
header img{
    display: block;
    margin-left: 10px;
    height: 80%;
}
header nav {
    position: absolute;
    top: 64px;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: #F02D36;
    transition: height .3s ease-in;
}
header nav a {
    display: block;
    padding: 23px 0 23px 0;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 1px solid #666;
}
header nav.open {
    display: block;
    height: 300px;
}
#burger {
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;  
}
#burger div,
#burger div::before,
#burger div::after{
    content: '';
    position: absolute;
    width: 30px;
    height: 4px;
    border-radius: 8px;
    background: #FFF;
    transition: all .3s ease-in;
}
#burger.open div {transform: translate(-15px); width: 0;}
#burger.open div::before {transform: rotate(45deg);}
#burger.open div::after {transform: rotate(-45deg);}
#burger div::before {transform: translateY(-10px);}
#burger div::after {transform: translateY(10px);}
#banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../images/mobile_banner.jpg);
    background-size: cover;
    background-position: top left;
    aspect-ratio: 2 / 3;
    color: #FFF;
    margin-bottom: 30px;
}
#banner h1 {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.6);
    max-width: 75%;
    padding: 15px;
    font-size: 2.8em;}
#header #burger div,
#header #burger div::before,
#header #burger div::after {background: #FFF;}
#header nav a {color: #FFF;}
#features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}
#features img {width: 100%;}

#features > div {
    background: #FFF;
}
#features .benefit {margin: 0 2rem 2rem;}
footer {
    margin-top: 50px;
    background: #333;
    color: #CCC;
    height: 200px;
}
/* Styling for About.php */
#about {padding: 15px;}
/*---------------------------------------------------------------------
    Media Queries
---------------------------------------------------------------------*/
@media screen and (min-width: 700px){
    #burger {display: none;}
    header nav {
        position: static;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        max-width: 400px;
        height: 30px;
        margin-right: 70px;
        background: none;
        align-items: center;}
    header nav a {border-bottom: none;}
    #banner {
        background: url(../images/desktop_banner.jpg);
        background-size: cover;
        aspect-ratio: 16 / 9;
    }
    #features > div{flex: 1 1 calc(50% - 1em);}
}
@media screen and (min-width: 1024px){
    #features > div {
        flex: 1 1 calc(33% - 1em);
    }
}