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

body {
    background-color: #1e202b;
    font-family: sans-serif;
}

/*-------NAVIGATION----BAR---START-----*/

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
}

.logo-container {
    margin-left: 1rem;
    display: flex;
}

.logo {
    margin-right: 1rem;
}

.logo img {
    width: 100%;
}

.logo-title a {
    text-decoration: none;
}

.logo-title a p {
    color: white;
}

.logo-title a p span {
    display: block;
    color: #a7a7a7;
    font-size: .7rem;
    margin-top: .4rem;
}

.nav-links {
    display: block;
    margin-right: 1rem;
}

.nav-links li {
    display: flex;
}

.nav-links ul {
    margin: .5rem;
}

.nav-links ul a {
    text-decoration: none;
    color: white;
    padding: .5rem 1.5rem;
    transition: all .5s ease;
    border-radius: 30px;
}

.nav-links .home {
    color: #009ad8;
    outline: 1px solid #009ad8;
    padding: .5rem 1.5rem;
    border-radius: 30px;
}

.nav-links ul a:hover {
    color: #009ad8;
    outline: 1px solid #009ad8;
}

.nav-links-mobile {
    display: none;
    width: 75%;
    margin: auto;
    margin-top: 1.5rem;
    border-radius: 10px;
    text-align: center;
    background: #262936;
}

.nav-links-mobile ul{ 
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.nav-links-mobile ul:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links-mobile ul:hover:not(:first-child) {
    background-color: #009ad8;
}

.nav-links-mobile ul a {
    display: inline-block;
    text-decoration: none;
    color: white;
    cursor: pointer;
}

.nav-links-mobile ul:first-child a {
    color: #009ad8;
}

.mobile-menu {
    display: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #009ad8;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.fa-bars {
    font-size: 1.5rem;
    color: #009ad8;
}

/* ------NAVIGATION----BAR---END---- */


/*------------- HOME CONTENT START------------- */

.hero {
    background-image: url(../imgs/banner.png);
    background-size: cover;
    height: 45vh;
    padding: 4rem 0;
    margin-top: 3rem;
}

.search-bar {
    position: relative;
    width: 97%;
    margin: auto;
}

.fa-magnifying-glass {
    position: absolute;
    top: 21px;
    left: 12px;
    color: #a7a7a7;
}

input {
    width: 100%;
    padding: 1.2rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    background-color: #1e202b;
    color: white;
    border: none;
    outline: none;
}

.find-location {
    position: absolute;
    background-color: #009ad8;
    color: white;
    cursor: pointer;
    right: 5px;
    top: 5px;
    font-size: 1rem;
    padding: .9rem 2.5rem;
    border: none;
    border-radius: 30px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    width: 97%;
    margin-top: -11rem;
    margin-right: auto;
    margin-left: auto;
}

.col-4 {
    flex-basis: 33.3%;
    margin: auto;
}

.box-container {
    width: 100%;
    padding-bottom: 2rem;
    background: #323544;
}

.box-title {
    display: flow-root;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: rgba(0, 0, 0, 0.1);
    color: #a7a7a7;
}

.box-day {
    float: left;
}

.box-date {
    float: right;
}

.clear-fix::after{
    content: '';
    display: block;
    clear: both;
}

.city{
    padding: 1rem;
    color: white;
}

.box-content-1 {
    display: flex;
    align-items: center;
}

.weather-icon {
    display: inline-block;
}

.custom {
    margin-bottom: 0 !important;
}

.weather-icon.margin {
    margin-top: 1.2rem;
    margin-bottom: 2rem;
}

.weather-icon img {
    width: 100%;
}

.temperature-value{
    padding: 1rem;
    font-size: 5rem;
    color: white;
}

.temperature-description {
    padding: 1rem;
    color: #009ad8;
}

.weather-status {
    display: flex;
    padding: 1rem;
    color: #a7a7a7;
}

.rain-precentage {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.rain-precentage img {
    margin-right: .5rem;
}

.wind-speed {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.wind-speed img {
    margin-right: .5rem;
}

.wind-direction {
    display: flex;
    align-items: center;
}

.wind-direction img {
    margin-right: .5rem;
}

.box-container.background {
    background-color: #262936;
}

.box-title.text-center {
    text-align: center;
}

.max-temp {
    font-size: 2rem;
    margin-bottom: .7rem;
}

.min-temp {
    font-size: 1.5rem;
    color: #a7a7a7;
}

.box-content {
    text-align: center;
    margin-bottom: .3rem;
}


/* ------------ HOME CONTENT END----------- */

/*------------ FOOTER SECTION START--------- */

.footer {
    background-color: #262936;
    padding-top: 12rem;
    margin-top: 4rem;
}

.footer-container {
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.col-input {
    width: 70%;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.form-bar {
    width: 100%;
}

.subscribe-bar {
    width: 100%;
}

.subscribe-btn {
    position: absolute;
    background-color: #009ad8;
    color: white;
    cursor: pointer;
    right: 5px;
    top: 5px;
    font-size: 1rem;
    padding: .9rem 1rem;
    border: none;
    border-radius: 30px;
}

.col-footer-social {
    display: flex;
}

.social-links {
    display: flex;
}

.link-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 40px;
    height: 40px;
    background-color: #1e202b;
    color: #009ad8;
    border-radius: 50%;
    margin: 0 .5rem;
    transition: all .5s;
}

.link-circle:hover {
    background-color: #009ad8;
    color: white;
}

.link-circle svg {
    font-size: 1.4rem;
}

.copyright {
    display: inline-block;
    color: white;
    margin-bottom: 2rem;
    margin-left: 2.3rem;
}

.copyright a {
    text-decoration: none;
    color: #009ad8;
}

.copyright a:hover {
    text-decoration: underline;
}

/*-------------- FOOTER SECTION END--------------- */


@media only screen and (min-width: 1200px) {
    .container {
        width: 1170px;
        margin: auto;
    }
    .col-4 {
        margin-top: 2rem;
    }
}

@media only screen and (max-width: 1199px) {
    .col-4 {
        flex-basis: 33.3%;
        margin-top: 3rem;
    }
}

@media only screen and (max-width: 989px) {
    nav {
        width: 75%;
        margin: auto;
        margin-top: 4rem;
    }
    .nav-links {
        display: none;
    }
    .mobile-menu {
        display: flex;
    }
    .active {
        display: block;
    }
    .search-bar {
        width: 75%;
        margin-bottom: 1.5rem;
    }
    .row {
        margin-top: -6rem;
        margin-bottom: 0;
    }
    .col-4 {
        flex-basis: 75%;
        margin-top: 0rem;
    }
    .city {
        text-align: center;
    }
    .temperature-description {
        padding: 1rem;
        color: #009ad8;
        text-align: center;
    }
    .weather-status {
        justify-content: center;
    }
    .box-content-1 {
        justify-content: center;
    }
    .custom {
        margin-bottom: 0 !important;
    }
    .footer {
        margin-top: 3rem;
        padding-top: 8rem;
        padding-bottom: 1.5rem;
    }
    .col-input {
        width: 100%;
        margin-bottom: 0;
    }
    .footer-container {
        width: 100%;
        text-align: center;
    }
    .footer-content {
        display: block;
    }
    .col-footer-social {
        display: inline-block;
        margin-bottom: 1.5rem;
    }
    .copyright {
        margin-left: 5rem;
        margin-right: 5rem;
        line-height: 1.5rem;
    }
}

@media only screen and (max-width: 388px) {
    .box-content-1 {
        display: block;
    }
    .custom {
        margin-left: 1rem;
    }
}