* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
:root {
    --bg-color:#ffffff;
    --second-color:#f54300;
    --main-color:#7dd87d;
    --text-color:#130849;
    --other-color:#130849;
    --other-color:#999fb9;
    --big-font:3.4rem;
    --h2-font:3.0rem;
    --p-font:1rem;
}
body {
    color: var(--text-color);
    background: var(--bg-color);
    overflow-x: hidden;
}
header {
    position: fixed;
    width: 100%;
    right: 0; 
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    box-shadow: 0px 5px 30px rgb(19 8 73/9%);
    padding: 25px 3%;
    transition: all .33s ease;
    z-index: 1000;
}
.logo img {
    max-width: 100%;
    width: 152px;
    height: auto;
}
.navbar {
    display: flex;
    align-items: center;
}
.navbar a::after {
    content: '';
    position: absolute;
    width: 0px;
    height: 2px;
    background: crimson;
    left: 0;
    bottom: -4px;
    transition: ease .40s;
}
.navbar a:hover::after {
    width: 100%;
}
.navbar a {
    font-size: var(--p-font);
    color: var(--text-color);
    padding: 10px 28px;
    font-weight: 600;
    transition: .5s linear;
}
.navbar a:hover {
    color: var(--main-color);

}
.navbar a.active {
    color: var(--main-color);
}
.navbar a.cart {
    font-size: 22px;
}
#menu-btn {
    color: var(--text-color);
    font-size: 32px;
    z-index: 10001;
    cursor: pointer;
    display: none;
}
header .top-btn a {
    display: inline-block;
    margin-right: 40px;
    background: var(--text-color);
    color: white;
    padding: 14px 30px;
    border-radius: 32px;
    border: none;
    font-size: 17px;
    font-weight: 700;
    transition: .5s linear;
}
.top-btn a:hover {
    background: var(--main-color);
    color: var(--text-color);
}

section {
    padding: 80px 19%;
}
.home {
    height: 90vh;
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 2fr));
    gap: 4.4rem;
    align-items: center;
}

.home-text h1 {
    margin: 19px 0px 19px;
    font-size: var(--big-font);
    line-height: 1;
}
.home-text h3 {
    color: var(--second-color);
    font-size: 30px;
    font-weight: 700;
}
.home-text p {
    font-size: var(--p-font);
    color: var(--other-color);
    line-height: 20px;
    font-weight: 500;
    margin-bottom: 30px;
}
.top-btn a {
    display: inline-block;
    background: var(--main-color);
    color: white;
    padding: 14px 30px;
    border-radius: 32px;
    border: none;
    font-size: 17px;
    font-weight: 700;
    transition: .5s linear;
}
 .top-btn a:hover {
    box-shadow: 3px 3px 0px 3px var(--second-color);
}

.home-image {
    width: 100%;
}

.about {
    background: url(./img/feature\ \(1\).svg);
    background-size: cover;
    background-position: center;
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    align-items: center;
    gap:1rem;
}
.about-image img {
    width: 100%;
    height: auto;
    padding-top: 80px;
}
.about-text h2 {
    margin: 15px 0 15px;
    font-size: var(--h2-font);
    line-height: 1.1;
}
.about-text h3 {
    color: var(--second-color);
    font-size: 25px;
    font-weight: 600;
}
.about-text p {
    margin-bottom: 30px;
    font-size: var(--p-font);
    color: var(--other-color);
    line-height: 20px;
    font-weight: 500;
}


/*Javascript scrolling sticky */
header.sticky {
    background: #fff;
    padding: 12px 18%;
    box-shadow: 0px 0px 1px #13084982;
}
.menu-text {
    text-align: center;
}
.menu-text h2 {
    margin: 16px 0px 0px;
    font-size: var(--h2-font);
    line-height: 1;
}
.menu-text h3 {
    color: var(--second-color);
    font-size: 35px;
}
.menu-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    gap: 2.2rem;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
    margin-bottom: 3rem;
    cursor: pointer;
}
 .box {
    padding: 15px 50px 15px 50px;
    background: var(--bg-color);
    box-shadow: 0px 5px 30px rgb(19 8 73/15%);
    border-radius: 20px;
    transition: .5s linear;
}
.box:hover {
    transform: scale(0.9) translateY(-5px);
}
.box-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}
.box-img {
    width: 100%;
    height: auto;
}
.box-text h4 {
    color: var(--text-color);
    font-size: 23px;
    margin-bottom: 12px;
}
.box-text p {
    margin-bottom: 20px;
    font-size: var(--p-font);
    color: var(--other-color);
    line-height: 20px;
    font-weight: 500;
}
.box-text h6 {
    font-size: 17px;
    text-align: center;
    color: var(--second-color);
    margin-bottom: 10px;
    font-weight: 800;
}
.menu .top-btn a {
    text-align: center;
}
.team-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, auto));
    gap: 3.2rem;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
    margin-bottom: 3rem;
    cursor: pointer;
}
.row {
    padding: 32px 40px;
    background: var(--bg-color);
    box-shadow: 0px 5px 30px rgb(19 8 73/15%);
    border-radius: 20px;
    transition: .5s linear;
    margin: auto;
}
.row:hover {
    transform: scale(0.9) translateY(-5px);
}

.team-image img {
    height: 120px;
    width: 120px;
    border: 6px solid var(--main-color);
    object-fit: cover;
    border-radius: 50%;
    margin-top: 25px;
    margin-left: 45px;
}
.row h4 {
    font-size: 20px;
    text-align: center;
}
.row p {
    text-align: center;
    margin-bottom: 15px;
    font-size: var(--p-font);
    color: var(--other-color);
    line-height: 20px;
    margin-top: 7px;
    font-weight: 500;
    letter-spacing: 1;
}
.team-icon {
    margin-top: 40px;
}
.team-icon a {
    border-radius: 50%;
}
.team-icon a #icon-edit {
    display: inline-flex;
    width: 30px;
    height: 30px;
    padding: 0px 12px;
    background-color: var(--bg-color);
    color: var(--text-color);
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 20px;
    margin: 0 7px;
    transition: all .5s linear;
}
.team-icon a #icon-edit:hover {
    transform: scale(0.9) translateY(-5px);
    background: var(--main-color);
    color: var(--bg-color);
}

.container {
    padding: 70px 80px;
    width: 100%;
    box-shadow: 0px 5px 30px rgb(19 8 73/15%);
    border-radius: 20px;
}
.newsletter-content {
    display: flex;
    width: 100%;
    flex-wrap: no-wrap;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
}
.newsletter-content .news-text h2 {
    margin: 15px 0px 15px;
    font-size: var(--h2-font);
    line-height: 1.1;
}
.newsletter-content .news-text h3 {
    color: var(--second-color);
    font-size: 30px;
    font-weight: 600;
}
.newsletter-content .news-text p {
    font-size: var(--p-font);
    color: var(--other-color);
    line-height: 20px;
    margin-bottom: 17px;
    font-weight: 500;
    line-height: 30px;
}
.newsletter-content .letter form {
    position: relative;
    width: 270px;
    max-width: 100%;
}
.newsletter-content .letter form input:first-child {
    display: inline-block;
    width: 100%;
    padding: 16px 130px 16px 15px;
    border-radius: 60px;
    outline: var(--second-color);
    border: 2px solid var(--main-color);
}
.newsletter-content .letter form input:last-child {
    position: relative;
    top: 10px;
    left: 60px;
    display: inline-block;
    outline: none;
    border: none;
    padding: 17px 35px;
    border-radius: 60px;
    cursor: pointer;
    font-size: 20px;
    background: var(--second-color);
    color: white;
}

 .center-text h3 {
    text-align: center;
    color: var(--second-color);
    font-size: 30px;
}

.center-text h2 {
    text-align: center;
    color: var(--text-color);
    font-size: var(--h2-font);
}
.blog {
    background: url(./img/blog.svg);
    background-size: cover;
    background-position: cover;
}
.blog-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
    grid-gap: 2.2rem;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
    margin-bottom: 3rem;
    cursor: pointer;
}
.main {
    padding: 0px 0px 10px 0px;
    box-shadow: 0px 5px 30px rgb(19 8 73/15%);
    border-radius: 20px;
    width: 100%;
    transition: .5s linear;
}
.main img {
    width: 100%;
    height: 220px;
    border-radius: 20px 20px 0px 0px;
    object-fit: cover;
}
.blog-text {
    padding: 20px 18px;
}
.blog-text h6 {
     font-size: 13px;
     font-weight: 400;
     color: var(--other-color);
     margin-bottom: 15px;
}
.blog-text h4 {
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    transition: .5s linear;
}
.blog-text p {
    font-size: var(--p-font);
    color: var(--other-color);
    line-height: 10px;
    margin-bottom: 17px;
    font-weight: 500;
    line-height: 30px;
}

.blog-btn {
    display: flex;
    align-items: center;

}
.blog-btn a {
    font-size: var(--p-font);
    color: var(--main-color);
    margin-right: 10px;
}
.blog-btn #icon-edit {
    font-size: 18px;
    color:var(--main-color);
}
.blog-text h4:hover {
    color: var(--main-color);
}

.main:hover {
    transform: scale(0.9) translateY(-5px);
    transition: .5s linear;
}

.contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, auto  ));
}
.contact-box h3 {
    margin-bottom: 20px;
    font-size: 23px;
}
.contact-box h5 {
    font-size: 17px;
    font-weight: 600;
    color: var(--other-color);
}
.social {
    display: flex;
    margin: 1.8rem;
}
.social-media a #icon-edit {
    font-size: 25px;
    margin-top: 20px;
    margin-right: 0.9rem;
    color: var(--main-color);
    transform-origin: .5s linear;
}
.social-media a #icon-edit:hover {
    transform: scale(1.1);
    transition: .5s linear;
}
.contact-box li {
    margin-bottom: 11px;
}
.contact-box li a {
    display: block;
    color: var(--other-color);
    font-size: var(--p-font);
    font-weight: 600;
    transition: .5s ease;
}
.contact-box li a:hover {
    transform: translateX(15px);
    transition: .5s linear;
    color: var(--main-color);
}
.address {
    display: flex;
   flex-wrap: wrap;
   flex-direction: column;
   margin-bottom: 12px;
}
.flex #icon-edit {
    color: var(--main-color);
}
.flex p {
    margin-bottom: 1rem;
    color: var(--other-color);
}
.footer-text p {
    text-align: center;
    margin-bottom: 20px;
    color: var(--other-color);
    letter-spacing: 1.7px;
}


/*Responsiveness */
@media (max-width:1360px) {
    .home {
        height: 82vh;
        padding-top: 100px;
    }
    section .container .newsletter-content {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    section .container .newsletter-content form {
        margin-top: -20px;
    }
    header {
        padding: 15px 3%;
        transition: .4s linear;
    }
    header.sticky {
        padding: 11px 4%;
        transition: .5s linear;
    }
    section {
        padding-top: 70px -3%;
        transition: .5s linear;
    }
    .home-image {
        width: 100%;
    }
}
@media (max-width:1100px) {
    header {
        padding: 35px 36px;
    }
    #menu-btn {
        display: block;
        margin-right:-10px;
    }
    .top-btn {
        display: none;
    }
    .navbar {
        position: absolute;
        top: -700px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background: #fff;
        align-items: flex-start;
    }
    .navbar a {
        display: block;
        padding: 0.8rem 2rem;
        margin: 0.6rem;
    }
    .navbar .open {
        top: 100%;
    }  
    .home-image {
        max-width: 100%;
    } 
}
@media (max-width:1090px) {
    :root {
        --big-font:3.5rem;
        --h2-font:2.3rem;
        --p-font:1rem;
        transition: .5s ease;
    }
}
@media (max-width:920px) {
    .about {
        margin-top: 0px;
    }
    .home {
        display: flex;
        flex-direction: column-reverse;
        margin-top: 500px;
    }
    .home-text {
        margin-top: -100px;
    }
    .home-image {
        max-height: fit-content;
    }
    
}
@media (max-width:890px) {
    .home {
        height:76vh;
        padding-top: 80px 3%;
    }
    section {
        padding-top: 90px 4%;
    }
}
@media (max-width:760px) {
    .home {
        grid-template-columns: 1fr;
        height: 100vh;
        grid-gap: 1rem;
    }
    .home-text {
        text-align: center;
        margin-top: 20px;
    }
    .home-image {
        width: 400px;
    }
}

@media (max-width:460px) {
   section .home-text h3 {
        text-align: center;
   }
   section .home-text h1 {
    text-align: center;
    font-size: 10vmax;
   }

   .blog-content {
    position: relative;
   }
   .newsletter-content .letter {
    position: relative;
    
   }
   .top-btn {
    display: block;
   }
}
