@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Public Sans", sans-serif;
    font-size: 18px;
    max-width: 1440px;
    font-weight: 700;
    /* padding: 0 16px 90px 16px; */
    /* line-height: 27.2px; */
    
}
img {
    display: block;
    max-width: 100%;
}
h1 {
    font-size: 40px;
    font-weight: 300;
}
h2 {
    font-size: 32px;

}
h3 {
    font-size: 20px;
}
h1,
h2,
h3 {
    color: #2d314d;
    line-height: 20px;
    font-weight: 300;
}
p {
    color: #9698a6;
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
}
.container {
    display: flex;
    justify-content: space-between;
    padding: 24px 36px;

}
.main-nav {
    display: block;
    position: static;
    left: 0;
    justify-content: space-between;
    transform: translateX(0);
    margin: 0 auto;
    z-index: 4;
    text-decoration: none;
}
.header-main {
    display: flex;
    position: relative;
    overflow: hidden;
    padding: 0 16px 90px 16px;
    background: white hsl(0, 0%, 100%);

}

header {
    display: flex;
    /* justify-content: center; */
    /* justify-content: space-between; */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    /* gap: 20px; */
    /* background-color: White hsl(0, 0%, 100%); */
    /* font-size: 18px; */
    /* border: solid 2px; */

}
.navbar {
    display: flex;
    flex-direction: column;
    gap: 4px;
    /* padding: 0 20px; */
}



.nav-bar {
    display: flex;
    text-decoration: none;
}
.lists {
    margin-bottom: 0;
    margin-left: 3em;
}
.link {
    font-size: 18px;
    color: #9698a6;
    transition: .3s;
}
.link:hover {
    color: #31d35c;
}
.btn {
    background: linear-gradient(to right,hsl(136, 65%, 51%), hsl(192, 70%, 51%));
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    border: none;
    /* font-size: 18px; */
    /* font-weight: 700; */
    /* display: block; */
    margin: auto;
    transition: 0.25s;


}
.btn:hover {
    cursor: pointer;

}

.moblie-menu {
    display: none;
}
.jpg {
    width: 40%;

}
.img-overlay {
    position: absolute;
    width: 50%;
    top: -120px;
    left: 60%;
    margin: 0;
    z-index: 10;
    
    
}
.img-base {
    display: block;
    position: absolute;
    top: -30%;
    right: -28%;

}
.background-moblie {
    display: none;
}
.menu-background {
    display: none;
    position: absolute;
    z-index: 3;
    top: 3;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 30%;
    margin-top: 16px;
    border-radius: 5px;
    background: white;
}
.account {
    margin: 160px 320px 0 136px;
    order: -1;
    width: 30%;


}
.home-title {
    line-height: 35px;
    letter-spacing: 4px;
    margin-right: 160px;
    display: block;
}
.home-text {
    /* margin: 0; */
    color: grey;
    margin-top: 25px;
    /* text-align: left; */
    font-size: 18px;
    /* line-height: 1.7; */
    margin-bottom: 30px;
    /* padding: 0; */
    /* max-width: 450px; */
}


.home {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    background: hsl(220, 16%, 96%);
    /* padding-bottom: 60px; */
    padding: 40px;
}
.home img {
    margin: 24px auto 24px auto;
}
.wrapper {
    margin: 0 96px 0 136px;
}


.section-text {
    color: grey;
    margin-bottom: 80px;
    margin-top: 40px;
}
.service-card-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}
.service-card {
    text-align: left;
}
.card-icon {
    margin: 0;
    margin-bottom: 80px;
    margin-top: 40px;
    margin-left: 20px;
}
.card-title {
    color: var(--dark-blue);
    margin-bottom: 40px;
    margin-top: 20px;
    line-height: 30px;
    letter-spacing: 2px;
}
.card-text {
    margin-bottom: 80px;
    color: grey;
    
}
.reasons {
    background: #fafafa;
    padding-bottom: 128px;
   
    
}
.section-title {
    padding-top: 64px;
    margin-bottom: 8px;
}
.reasons-content {
    display: flex;
    grid-template-columns: repeat(4, 1fr);
    margin: 32px 0;
    /* grid-gap: 16px; */


    
}

.card-head {
    width: 90%;
    background: white;
    margin: 32px auto;
    border-radius: 5px;
}
.card-img {
    object-fit: cover;
    width: 100%;
    height: 200px;
    border-radius: 5px;
}

.article-author, .article-heading, .article-subtitle {
    text-align: left;
    margin: 0 32px 0 40px;
}
.article-author {
    margin: 24px 0 8px 40px;
}
.article-heading {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 20px;
}
.article-subtitle {
    padding-bottom: 35px;
    line-height: 22px;
}
.main-footer {
    display: flex;
    background-color: hsl(233, 26%, 24%);

}
.social-media {
    margin: 0 136px 32px 136px;
}
.moblie-logo {
    color: white;
    margin: 0 auto;
    padding: 48px 0 32px 0;
}
.media {
    display: flex;
    justify-content: space-between;
    width: 42%;
    max-width: 250px;
    margin: 0 auto;
}
.media img {
    width: 30px;
}
.footer-item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 128px;
    margin: 48px 0 32px 0;

}
.footer-list {
    margin-bottom: 10px;
}
.footer-link {
    color: white;
}
.copyright {
    text-align: right;
    margin: 48px 0 0 480px;
}
.footer-copy {
    padding: 32px 0 32px 0;
}





