* {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
body {
    line-height: 1.42857143;
    color: #333333;
    background-color: #fff;
}

header {
    margin-bottom: 15px;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 15px;
}

header nav .left a{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 15px;
    text-decoration: none;
    color: black;
}

header nav .left span {
    font-weight: bold;
    font-size: 16px;
}

header nav .right ul {
    list-style: none;
    display: flex;
}

header nav .right ul li {
    margin-right: 10px;
}

header nav .right ul li a {
    padding: 10px 20px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 16px;    
}

header nav .right ul li a.active, header nav .right ul li a:hover {
    color: orangered;
}

.banner img {
    height: 350px;
    object-fit: cover;
}

.contact {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px 50px;
}

.contact a {
    display: inline-block;
    background-color: #f58229;
    border-radius: 50px;
    padding: 10px 30px;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
}

.about_us {
    display: flex;
    justify-content: space-around;
    padding: 40px;
    background-color: #f9f9f9;
    box-shadow: 5px 11px 20px 4px #ebebeb;
    z-index: 1;
    position: relative;
    align-items: center;
}

.about_us .left {
    width: 50%;
}

.about_us .left h1 {
    font-size: 25px;
    color: #bb3d0b;
    margin-bottom: 15px;
}

.about_us .left p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about_us .left p.link {
    text-align: right;
}

.about_us .left p.link a {
    display: inline-block;
    background-color: #f58229;
    border-radius: 15px;
    padding: 7px 24px;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
}


.info {
    padding: 40px;
    display: flex;
    justify-content: space-around;
    background-color: white;
}

.info .left, .info .right {
    padding: 20px;
    border-radius: 10px;
    width: 450px;
    height: 180px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: #f3f4f6;
    box-shadow: 5px 11px 12px 0px #d5d5d5;
}

.info .left p.link, .info .right p.link {
    margin-top: 10px; 
    text-align: right;
}

.info .left p.link a, .info .right p.link a {
    display: inline-block;
    color: #f58229;
    font-weight: bold;
    font-size: 16px;
    text-decoration: underline;
}

.info .left h2, .info .right h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.info .left p, .info .right p {
    font-size: 16px;
}

.resources {
    padding: 30px;
    display: flex;
    justify-content: space-around;
    background-image: linear-gradient(to top left, #f58229, white);
}

.resources .left, .resources .right {
    padding: 20px;
    border-radius: 10px;
    width: 400px;
    height: 180px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: #fff;
}

.resources .left {
    box-shadow: 0px 0px 17px 0px #f8a869;
}
.resources .right {
    margin-top: 70px;
    box-shadow: 0px 0px 17px 0px #fce0cb;
}

.resources .left h2, .resources .right h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.resources .left p, .resources .right p {
    font-size: 16px;
}

.resources .left p.link, .resources .right p.link {
    margin-top: 10px; 
    text-align: right;
}

.resources .left p.link a, .resources .right p.link a {
    display: inline-block;
    background-color: #f58229;
    border-radius: 15px;
    padding: 7px 24px;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
}

footer {
    display: flex;
    justify-content: space-between;
    background-color: #f3f4f6;
    padding: 20px 40px 10px;
}

footer h2 {
    font-size: 16px;
}

footer ul {
    list-style: none;
    margin-top: 15px;
}

footer ul li {
    margin-bottom: 15px;
}

footer ul li a {
    color: #222;
    font-weight: bold;
    text-decoration: none;
}

footer ul li a:hover {
    color: orangered;
}

footer .social-media ul {
    display: flex;
    justify-content: space-between;
}

footer .social-media ul li:not(:last-child) {
    margin-right: 10px;
}

footer .social-media ul li a {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    background: #f58229;
    color: white;
}

footer .social-media h2 {
    text-align: center;
}

.copy-rights {
    color: black;
    text-align: center;
    padding: 10px 0px;
    background-color: #f3f4f6;
}

@media only screen and (max-width: 650px) {

    header nav .left a img {
        width: 80px;
        margin-top: 10px;
    }
    header nav .left a span {
        font-size: 12px;
    }

    header nav .right {
        display: none;
    }

    .about_us {
        flex-direction: column-reverse;
    }
    .about_us .left {
        width: 100%;
    }

    .info {
        flex-direction: column;
        align-items: center;
    }

    .info .left, .info .right {
        width: 100%;
    }

    .info .right {
        margin-top: 70px;
    }

    .resources {
        flex-direction: column;
        align-items: center;
    }

    .resources .left, .resources .right {
        width: 100%;
    }
}

@media only screen and (max-width: 500px) {
    footer  {
        flex-direction: column;
    }

    footer h2{
        margin-top: 20px;
    }

    footer .social-media ul {
        justify-content: space-around;
    }
}