@import url('../css/fonts.css');
html,
body {
    margin: 0%;
    box-sizing: border-box;
    overflow-x: hidden;
}


/* to create variable we need to create root variable to make it easy to write font family*/

:root {
    /*      Theme colors        */
    --text-gray: #e76f51;
    --text-light: #457b9d;
    --bg-color: #2a9d8f;
    --white: #e9c46a;
    --midnight: #264653;
    /* gradient color   */
    --sky: linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 100%);
    /*      theme font-family   */
    --Abel: 'Abel', cursive;
    --Kiteone: 'Kiteone', cursive;
    --Lexend: 'Lexend', cursive;
    --Josefin: 'Josefin', cursive;
    --Dancing-Script: 'Dancing Script', cursive;
    --Livvic: 'Livvic', cursive;
    --Satisfy: 'Satisfy', bold, cursive;
    --ebg: 'ebg', cursive;
}


/* ---------------- Global Classes ---------------*/

a {
    text-decoration: none;
    color: var(--text-gray);
    /* variable is called uisng var method*/
}

.flex-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

ul {
    list-style-type: none;
}

h1 {
    font-family: var(--Kiteone);
    font-size: 2.5rem;
}

h2 {
    font-family: var(--Kiteone);
}

h3 {
    font-family: var(--Satisfy);
    font-size: 1.3rem;
}

button.btn {
    border: none;
    border-radius: 2rem;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-family: var(--ebg);
    cursor: pointer;
}

span {
    font-family: var(--Josefin);
}

.container {
    margin: 0 5vw;
}

.text-gray {
    color: var(--text-gray);
}

p {
    font-family: var(--Lexend);
    color: var(--text-light);
}


/* ------x------- Global Classes -------x-------*/


/* --------------- navbar ----------------- */

.navbar {
    background: var(--bg-color);
    padding: 0 2rem;
    height: 0rem;
    min-height: 10vh;
    overflow: hidden;
    transition: height 1s ease-in-out;
}

.navbar {
    justify-content: space-around;
}

.navbar .toggle-collapse {
    position: absolute;
    top: 0%;
    width: 90%;
    cursor: pointer;
    display: none;
}

.navbar .toggle-collapse .toggle-icons {
    display: flex;
    justify-content: flex-end;
    padding: 1.7rem 0;
}

.navbar .toggle-collapse .toggle-icons i {
    font-size: 1.4rem;
    color: var(--text-gray);
}

.collapse {
    height: 30rem;
}

.navbar .nav-items {
    display: flex;
    margin: 0;
}

.navbar .nav-items .nav-link {
    padding: 1.6rem 1rem;
    font-size: 1.1rem;
    position: relative;
    font-family: var(--Kiteone);
    font-size: 1.1rem;
    color: var(--white);
}

.navbar .nav-items .nav-link:hover {
    background-color: var(--midnight);
}

.navbar .nav-items .nav-link:hover a {
    color: var(--text-gray);
}

.navbar .navbar-brand {
    font-size: 2rem;
    padding: 1rem 0;
    display: block;
    font-family: var(--Satisfy);
    color: var(--white);
    font-size: 1.6rem;
}

.navbar .social {
    padding: 1.4rem 0
}

.navbar .social i {
    padding: 0 .2rem;
}

.nav .social i:hover {
    color: #a1c4cf;
}


/* -------x------- navbar ---------x------- */


/* ----------------- Main Content----------- */


/* --------------- Site title ---------------- */

main .site-title {
    background: url('../assets/bg.jpg');
    background-size: cover;
    height: 90vh;
    display: flex;
    justify-content: center;
}

main .site-title .site-background {
    padding-top: 10rem;
    text-align: center;
    color: var(--white);
}

main .site-title h1,
h3 {
    margin: .3rem;
}

main .site-title .btn {
    margin: 1.8rem;
    background: var(--sky);
}


/* when i move the mouse over the btn itll change the colour.. thats what hover is..*/

main .site-title .btn:hover {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.ourmission {
    padding-top: 80px;
    overflow: hidden;
    z-index: 9999;
    text-align: center;
    font-family: cursive;
    color: #080852;
}

.ourmissiontext {
    text-align: center;
    font-family: cursive;
    font-size: 20px;
    padding-bottom: 8px;
}

.abt {
    padding-top: 50px;
    overflow: hidden;
    z-index: 9999;
    text-align: center;
    font-family: Karla;
    color: #080852;
}

.abttext {
    text-align: center;
    font-family: Karla;
    font-size: 18px;
    padding-bottom: 200px;
    padding-left: 100px;
    padding-right: 100px;
    border-bottom: 1px solid #dee7ec;
}

footer.footer {
    height: 100%;
    background: var(--bg-color);
    position: relative;
}

footer.footer .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

footer.footer .container>div {
    flex-grow: 1;
    flex-basis: 0;
    padding: 3rem .9rem;
}

footer.footer .container h2 {
    color: var(--white);
}

footer.footer .newsletter .form-element {
    background: black;
    display: inline-block;
}

footer.footer .newsletter .form-element input {
    padding: .5rem .7rem;
    border: none;
    background: transparent;
    color: white;
    font-family: var(--Josefin);
    font-size: 1rem;
    width: 74%;
}

footer.footer .newsletter .form-element span {
    background: var(--sky);
    padding: .5rem .7rem;
    cursor: pointer;
}

footer.footer .instagram div>img {
    display: inline-block;
    width: 25%;
    height: 50%;
    margin: .3rem .4rem;
}

footer.footer .follow div i {
    color: var(--white);
    padding: 0 .4rem;
}

footer.footer .rights {
    justify-content: center;
    font-family: var(--Josefin);
}

footer.footer .rights h4 a {
    color: var(--white);
}

footer.footer .move-up {
    position: absolute;
    right: 6%;
    top: 50%;
}

footer.footer .move-up span {
    color: var(--midnight);
}

footer.footer .move-up span:hover {
    color: var(--white);
    cursor: pointer;
}


/* ---------x------- Footer ----------x---------- */


/*              Viewport less then or equal to 1130px            */

@media screen and (max-width: 768px) {
    section {
        margin: 0px;
    }
    .navbar {
        background-attachment: fixed;
    }
    .navbar .collapse .navbar-collapse,
    .navbar.nav-items {
        flex-direction: column;
        color: var(--white);
    }
    .nav-items {
        text-align: center;
    }
    .container .site-content .post-content,
    .post-image .post-info {
        left: 2rem !important;
        bottom: 1.2rem !important;
        border-radius: 0% !important;
        height: auto;
    }
    .container .site-content .sidebar .popular-post .post-info {
        display: none !important;
        height: auto;
        margin: 0px;
        padding: 0;
    }
    footer.footer .container {
        grid-template-columns: repeat(2, 1fr);
    }
}