/* Google font link  */
@import url('https://fonts.googleapis.com/css2?family=Alkatra:wght@400;500;600;700&family=Edu+NSW+ACT+Foundation:wght@400;500;600;700&family=Geologica:wght@100;200;300;400;500&family=Kalam:wght@300;400;700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,400&family=Mukta:wght@200;300;400;500;600;700&family=PT+Sans&family=Poppins:wght@300&display=swap');

/* Universal styling  */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kalam', cursive;
    outline: none;
    text-transform: capitalize;
}

:root {
    --primary-color: #ff7613;
    --darkcolor: #727171;
    --black: #444;
    --light-color: #666;
    --border: 0.1rem solid rgba(0, 0, 0, 0.1);
    --border-hover: 0.1rem solid var(--black);
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 5rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar {
    width: 1rem;
}

html::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 15px;
}

html::-webkit-scrollbar-thumb {
    background: var(--light-color);
    border-radius: 15px;
}

.heading {
    color: #333;
    font-size: 3.5rem;
    padding: 1rem;
    padding-top: 10rem;
    font-weight: bold;
    text-align: center;
    letter-spacing: .2rem;
}

.heading-name {
    color: #333;
    font-size: 3.5rem;
    padding: 1rem;
    padding-top: 4rem;
    font-weight: bold;
    text-align: left;
    letter-spacing: 0.3rem;
}

.heading-name-even {
    color: #333;
    font-size: 3.5rem;
    padding: 1rem;
    padding-top: 4rem;
    font-weight: bold;
    text-align: right;
    letter-spacing: 0.3rem;
}

.heading span {
    color: var(--primary-color);
}

.heading-name span {
    color: var(--primary-color);
}

.heading-name-even span {
    color: var(--primary-color);
}

header {
    width: 96%;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    padding: .3rem 2rem;
    transform: .2s linear;
    z-index: 1000;
}

.header-active {
    top: 0;
    width: 100%;
    border-radius: 0;
}

header .logo {
    color: #333;
    font-size: 3rem;
    text-decoration: none;
}

header .logo span {
    color: var(--primary-color);
}

header .navbar ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
}

header .navbar ul li {
    margin: 0 1rem;
}

header .navbar ul li a {
    text-decoration: none;
    font-size: 2rem;
    color: var(--black);
    transition: .2s linear;
}

header .navbar ul li .active, header .navbar ul li a:hover {
    color: var(--primary-color);
}

.logo:hover {
    color: var(--primary-color);
}

header .fa-bars {
    font-size: 3rem;
    color: var(--primary-color);
    cursor: pointer;
    display: none;
}


/* box1 styling starts from here  */

.main {
    width: 80%;
    height: 100%;
    /* border: 1px solid var(--primary-color); */
    margin: 2rem auto;

}

.box1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--box-shadow);
}

.box1:hover {
    border: 1px solid var(--primary-color);
}

.box1 img {
    width: 40vw;
    height: 40vh;
    padding: 1rem 2rem;
}

.box1 p {
    font-size: 2rem;
    padding: 1rem 1rem;
    text-align: justify;
}




/* footer section styling starts from here  */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: #222;
}

.footer .credit {
    font-size: 2rem;
    color: #eee;  
}

.footer .credit span {
    color: var(--primary-color);
    cursor: pointer;
}

.footer .icons a {
    font-size: 2rem;
    margin: 0 .5rem;
    height: 4rem;
    width: 4rem;
    line-height: 3.5rem;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    border: .2rem solid #fff;
    transition: .2s linear;
}

.footer .icons a:hover {
    background: var(--primary-color);
}






























@media (max-width: 991px) {
    .home {
        flex-flow: column;
        padding: 1.5rem;
    }

    .home .content {
        text-align: center;
    }

    .home .content h1 {
        font-size: 5.5rem;
    }

    .home .content p {
        font-size: 1.8rem;
        padding: 0;
        border: none;
    }

    .box1 {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }

    header .fa-bars {
        display: block;
    }

    header .navbar {
        position: fixed;
        top: -100rem;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        background-color: #fff;
        border-radius: .5rem;
        box-shadow: var(--box-shadow);
        z-index: 1000;
        transition: .2s linear;
        opacity: 0;
    }

    header .navbar ul {
        flex-flow: column;
    }

    header .navbar ul li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }

    header .navbar ul li a {
        display: block;
        font-size: 3rem;
    }

    header .nav-toggle {
        top: 5.5rem;
        opacity: 1;
    }
}
