/********************Font Formatting********************/
/*Import M Plus round font*/
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap');

/*Import Nunito San*/
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

/*Import Barlow*/
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/********************End of Font Formatting********************/

/********************Root Formatting********************/
:root {
    --primary-font: 'M Plus Rounded 1c', sans-serif;
    --primary-font-size: 1.6em;
    --navigation-link-font: monospace;
    --navigation-font-size: 1.4em;
    --footer-font: 'Nunito Sans', sans-serif;
    --footer-sub-font: 'Barlow', sans-serif;
}
/********************End of Root Formatting********************/

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

/*Format main background*/
body {
    background-image: url(../images/beautiful-clouds-digital-art.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/*Format scrolling behavior*/
html {
    scroll-behavior: smooth;
}
/********************End of General Formatting********************/

/********************Header Formatting********************/

/**Navbar formatting**/

/*Format nav bar brand color*/
.navbar-brand {
    color: orange;
    font-family: var(--primary-font);
    font-size: var(--primary-font-size);
    font-weight: bold;
}

/*Format nav links*/
.nav-link {
    font-family: var(--navigation-link-font);
    font-size: var(--navigation-font-size);
    color: white;
}

/*Format nav bar collapse*/

/*Format box menu icon*/
.navbar-toggler {
    border: 2px solid white;
}
/********************End of Header Formatting********************/

/********************Section Formatting********************/

/**Weather Formatting**/
.weatherContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 25px;
}

/*Format weather content*/
.weatherContent {
    background-color: #0d6efd;
    width: 100%;
    padding: 5%;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.weatherContent h2 {
    font-family: var(--primary-font);
    font-size: 2em;
    font-weight: bold;
    color: white;
    letter-spacing: 2px;
}

/*Format weather content search input*/
.weatherBox {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.weatherBox input {
    border: none;
    outline: none;
    border-radius: 12px;
    padding: 10px;
    background-color: #f8f9fa;
}

/*Format weather content search button*/
.weatherBox button {
    border: none;
    outline: none;
    border-radius: 50%;
    width: 50px;
    padding: 10px;
    background-color: #f8f9fa;
    margin-left: 10px;
    font-size: 1.3em;
}

/*Format weather result container*/
.weatherResult {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 5%;
    border-radius: 12px;
    background-color: #304c89;
    display: none;
}

/*Format weather result img*/
.weatherResult img {
    width: 50%;
    margin: 20px 0;
}

/*Format weatherResult h3 title*/
.weatherResult h3 {
    font-family: var(--primary-font);
    font-size: 2.5em;
    font-weight: bold;
    color: white;
    letter-spacing: 2px;
    text-decoration: underline;
}

/*Format weather result p tag*/
.weatherResult p {
    font-family: var(--primary-font);
    font-size: 1.2em;
    color: white;
    letter-spacing: 2px;
    text-align: left;
    margin-top: 25px;
}

/**About Formatting**/
.aboutContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 25px;
}

/*Format about text*/
.aboutContent {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 5%;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.aboutContent h2 {
    font-family: monospace;
    font-size: 2em;
    font-weight: bold;
    color: black;
    text-align: left;
}

/*Format about content img*/
.aboutContent img {
    width: 40%;
    margin: 20px 0;
}

/*Format about coontent p*/
.aboutContent p {
    font-family: var(--primary-font);
    text-align: left;
    line-height: 2;
    letter-spacing: 2px;
    color: black;
    font-size: 0.9em;
}


/********************Footer Formatting********************/
Footer {
    text-align: center;
    background-color: #0d6efd;
    padding: 10px;
    color: white;
    font-family: var(--footer-font);
    font-size: 0.8em;
}

/*Format footer p tag*/
footer p {
    margin-top: 25px;
}

/*Format accordion*/
.accordion {
    --bs-accordion-bg: #0d6efd;
}
/*Format accordion button font*/
.accordion-button {
    font-size: 1em;
    font-family: var(--footer-font);
    font-weight: bold;
    color: orange;
    text-decoration: underline;
}

/*Delete button focus*/
.accordion-button:focus {
    box-shadow: none;
}

/*Delete color from button active state*/
.accordion-button:not(.collapsed) {
    color: orange;
    background-color: #0d6efd;
}

/*Format accordion body list*/
.accordion-body ul {
    list-style-type: none;
    text-align: left;
    line-height: 2;
    letter-spacing: 2px;
    color: white;
    font-size: 0.9em;
}

/*Format list items*/
.accordion-body li a {
    font-family: var(--footer-sub-font);
    font-size: 2em;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

/********************End of Footer Formatting********************/

/********************Media Query Formatting********************/

/*Tablet Formatting*/
@media screen and (min-width: 768px) and (max-width: 1199px) {

    /*Format nav bar font*/
    .navbar-brand {
        font-size: 3em;
    }

    /*Format box icon*/
    .navbar-toggler {
        font-size: 2em;
    }

    /*Format nav links*/
    .nav-link {
        font-size: 2em;
    }

    /*Format weather Container*/

    /*Format weather box width*/
    .weatherContent {
        width: 80%;
    }

    /*Format search input*/
    .weatherBox input {
        width: 400px;
        font-size: 2em;
    }

    /*Format search button*/
    .weatherBox button {
        width: 65px;
        height: 60px;
        text-align: center;
        font-size: 2em;
    }

    /*Format about container*/

    /*Format about content width*/
    .aboutContent {
        width: 90%;
    }

    /*Format weather title*/
    .aboutContent h2 {
        font-size: 3em;
    }

    /*Format about content img*/
    .aboutContent img {
        width: 40%;
    }

    /*Format about content p*/
    .aboutContent p {
        font-size: 2em;
    }

    /*Format footer*/

    /*Format footer links*/
    .accordion-button {
        font-size: 2em;
    }

    /*Format accordion links*/
    .accordion-body ul {
        font-size: 1.5em;
    }

    /*Format footer p tag*/
    footer p {
        font-size: 2em;
    }


}

/*Desktop Formatting*/
@media screen and (min-width: 1200px) {

    /*Format weather container*/
    
    /*Format weather box width*/
    .weatherContent {
        width: 50%;
    }

    /*Format weather box title*/
    .weatherBox h2 {
        font-size: 6em;
    }

    /*Format weather box input*/
    .weatherBox input {
        font-size: 2.5em;
    }

    /*Format weather box button*/
    .weatherBox button {
        font-size: 2.5em;
        width: 100px;
        text-align: center;
    }
    /*About container formatting*/

    /*Format width of about content container*/
    .aboutContent {
        width: 50%;
    }

    /*Format about content title*/
    .aboutContent h2 {
        font-size: 3em;
    }

    /*Format about content img*/
    .aboutContent img {
        width: 30%;
    }

    /*Format about content p*/
    .aboutContent p {
        font-size: 1.6em;
    }

    /*Format footer*/

    /*Format footer p tag*/
    footer p {
        font-size: 1.5em;
    }

}