@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap);

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

section{
    padding: 100px 200px;
}

header {
    z-index: 999;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 3rem;
    padding: 6px 80px;
    transition: 0.5s ease;
    backdrop-filter: blur(1px);
}

header .navigation {
    position: relative;
}

header .navigation .navigation-items a {
    position: relative;
    color: #fff;
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    margin-left: 25px;
    transition: 0.3s ease;
}

header .navigation .navigation-items a:before {
    content: "";
    position: absolute;
    background: #fff;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    transition: 0.3s ease;
}

header .navigation .navigation-items a:hover:before {
    width: 100%;
}

.about{
    position: relative;
    min-height: 100vh;
    background:#33FF65;
    background: url(./about.jpg);
    background-size: cover;
    width: 100%;
    height: 100%;
    padding: 20px;
    padding-top: 5rem;
    text-align: left;
}

.about:hover .content h1{
    transform: scale(1.2);
    transition: 0.3s ease;
}

.about .content h1{
    font-size: 2em;
    font-weight: 900;
    color: #ff0000;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 50px;
    margin-bottom: 10px;
    margin-top: 10px;
    text-align: center;
}

.about .content p{
    margin-bottom: 65px;
    color: #fff;
    text-align: justify;
}

.about .content .container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.about .content .container .box{
    background-color: rgba(51, 51, 51, 0.5);
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.about .content .container .box h2{
    color:  #00ff00;
}

@media (max-width: 1040px) {
    header {
        padding: 12px 20px;
        transition: 0.5s ease;
        display: flex;
        flex-direction: row-reverse;
    }

    header .navigation {
        display: none;
    }

    header .navigation.active {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(1, 1, 1, 0.5);
    }

    header .navigation .navigation-items a {
        color: #222;
        font-size: 1.2em;
        margin: 20px;
    }

    header .navigation .navigation-items a:before {
        background: #222;
        height: 5px;
    }

    header .navigation.active .navigation-items {
        background: #fff;
        width: 100%;
        max-width: 600px;
        margin: 20px;
        padding: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 5px;
        box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
    }

    .menu-btn {
        background: url(../Home/assest/menu-alt-right-regular-24.png) no-repeat;
        background-size: 30px;
        background-position: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        transition: 0.3s ease;
    }

    .menu-btn.active {
        z-index: 999;
        background: url(../Home/assest/window-close-regular-24.png) no-repeat;
        background-size: 30px;
        background-position: center;
        transition: 0.3s ease;
        font-size: 2rem;
        color: #fff;
    }

    section {
        padding: 60px 20px;
    }

    section .about{
        background-size: cover;
        background-attachment: fixed;
    }
}

@media only screen and (max-width: 365px) {

    header {
        padding: 15px;
    }

    .logo {
        max-width: 60px;
    }

    header .title {
        font-size: 1.5em;
        margin-top: 10px;
    }

    header .navigation {
        margin-top: 10px;
    }

    header .navigation .navigation-items {
        flex-direction: column;
        align-items: center;
    }

    header .navigation .navigation-items a {
        font-size: 0.8em;
        margin: 5px 0;
    }

    section,
    .home {
        padding: 50px 10px;
    }

    .home .content {
        width: 100%;
    }
}

@media only screen and (min-width: 366px) and (max-width: 600px) {

    header {
        padding: 20px;
    }

    .logo {
        max-width: 80px;
    }

    header .title {
        font-size: 1.8em;
    }

    header .navigation {
        margin-top: 10px;
    }

    header .navigation .navigation-items {
        flex-direction: column;
        align-items: center;
    }

    header .navigation .navigation-items a {
        font-size: 1em;
        margin: 5px 0;
    }

    section,
    .home {
        padding: 50px 20px;
    }

    .home .content {
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {

    header {
        flex-direction: column;
        align-items: center;
    }

    header .title {
        margin-top: 0;
    }

    header .navigation {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    header .navigation .navigation-items {
        flex-direction: row;
        margin-top: 0;
    }

    header .navigation .navigation-items a {
        margin: 0 15px;
    }

    section {
        padding: 50px 20px;
    }

    .home .content {
        width: 70%;
    }
}
