@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HEADER */

.header{
    display: flex;
    justify-content: space-around;
    padding: 30px;
    flex-wrap: wrap;
}

.header-links ul{
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-left: -40px;
}

.header-links ul li{
    list-style: none;
    font-family: "Public sans", sans-serif;
}

.header-links a{
    color: hsl(233, 8%, 62%);
    text-decoration: none;
    font-size: 14px;
    position: relative;
}

.header a::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 5px;
    background-color: hsl(136, 64%, 51%);
    display: flex;
    top: 52px;

    opacity: 0;
    transform: scaleX(0);
  transform-origin: bottom;
  transition: transform 0.3s ease, opacity 0.3s ease;

}

.header a:hover{
    color: black;
    font-weight: 700;
}

.header-links a:hover::after{
    color: black;
    opacity: 1;
    transform: scaleX(1);
}

.invite-btn{
    padding: 12px;
    width: 150px;
    border-radius: 30px;
    outline: none;
    border: none;
    color: white;
    background: linear-gradient(to bottom, hsl(136, 64%, 51%),hsl(192, 69%, 51%));
    margin-top: -10px;
    margin-left: 50%;
    
}

.invite-btn:hover{
    cursor: pointer;
    opacity: 0.5;
}



.nav-bar{
    display: none;
}

/* MAIN */

.main{
    position: relative;
    overflow: hidden;
}

/* FIRST SECTION */

.first-section-main{
     background: linear-gradient(to bottom, hsl(220, 16%, 96%)
    , hsl(0, 100%, 100%));
    margin-top: -20px;
    min-height: 100vh;
    position: relative;
    width: 100%;
    display: flex;
    overflow: visible;
    z-index: 10;
}

.first-section-write-up{
    position: relative;
    margin-top: 10%;
    margin-left: 5%;
    gap: 40px;
    display: flex;
    flex-direction: column;
    width: 50%;
}

.first-section-h1{
    width: 70%;
    font-family: "Public sans", sans-serif;
    font-weight: 300;
    font-size: 60px;
    line-height: 1.2;
    color: #242424;
}

.first-section-p{
    font-family: "Public sans", sans-serif;
    line-height: 1.7;
    font-size: 17px;
    width: 60%;
    color: hsl(233, 8%, 62%);
}

.first-section-btn{
    padding: 12px;
    width: 150px;
    border-radius: 30px;
    outline: none;
    border: none;
    color: white;
    background: linear-gradient(to bottom, hsl(136, 64%, 51%),hsl(192, 69%, 51%));
    margin-top: -10px;
}

.first-section-btn:hover{
    opacity: 0.4;
    cursor: pointer;
}

.first-section-mockup-bg-dsk{
    position: absolute;
    top: 2px;
    left: 35%;
    background: url("Assets/bg-intro-desktop.svg") center right 90%  no-repeat;
    height: 108vh;
    margin-top: -40px;
    width: 100%;
    overflow: visible;
}

.mobile-image{
    display: none;
}

.first-section-mockup-dsk{
    margin-top: -8%;
    margin-left: 17%;
    position: relative;
    z-index: 10;
}


.first-section-mockup-bg-mob{
    display: none;
}

/* SECOND-SECTION */

.second-section-main{
   background: hsl(220, 16%, 96%);
   position: relative;
   z-index: 1;
   min-height: 100vh;
   padding: 5%;
   
}

.second-section-head-writeup{
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 20px;
    font-family: "Public sans", sans-serif;
}

.second-section-h2{
    width: 70%;
    font-family: "Public sans", sans-serif;
    font-weight: 300;
    font-size: 40px;
    line-height: 1.2;
    color: #242424;
}

.second-section-p{
    font-family: "Public sans", sans-serif;
    line-height: 1.7;
    font-size: 18px;
    width: 60%;
    color: hsl(233, 8%, 62%);
    font-weight: 500;
}

/* Bank features */
.bank-features{
    display: grid;
    margin-top: 5%;
    grid-template-columns: 300px 300px 300px 300px;
    grid-template-rows: 250px;
    gap: 25px;
}


/* Feature One */
.feature-one{
    display: grid;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    gap: 20px;
    width: 100%;
    margin-top: 15px;
}

.feature-one-image{
    display: flex;
    margin-top: -15px;
}

.feature-one-h2{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 300;
    font-size: 25px;
    line-height: 1.2;
    color: #242424;
    margin-top: -3px;
}

.feature-one-p{
    font-family: "Public sans", sans-serif;
    line-height: 1.7;
    font-size: 15px;
    width: 99%;
    color: hsl(233, 8%, 62%);
    word-wrap: wrap;
    margin-top: -15px;
}

/* Feature Two */
.feature-two{
    display: grid;
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    gap: 20px;
}

.feature-two-image{
    display: flex;
    text-align: center;
}

.feature-two-h2{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 300;
    font-size: 25px;
    line-height: 1.2;
    color: #242424;
}

.feature-two-p{
    font-family: "Public sans", sans-serif;
    line-height: 1.7;
    font-size: 15px;
    width: 90%;
    color: hsl(233, 8%, 62%);
    margin-top: -15px;
}

/* Feature Three */
.feature-three{
    display: grid;
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    gap: 20px;
}

.feature-three-image{
    display: flex;
    text-align: center;
}

.feature-three-h2{
    width: 95%;
    font-family: "Public sans", sans-serif;
    font-weight: 300;
    font-size: 25px;
    line-height: 1.2;
    color: #242424;
}

.feature-three-p{
    font-family: "Public sans", sans-serif;
    line-height: 1.7;
    font-size: 15px;
    width: 97%;
    color: hsl(233, 8%, 62%);
    margin-top: -15px;
}

/* Feature Four */
.feature-four{
    display: grid;
    grid-column: 4 / 5;
    grid-row: 1 / 2;
    gap: 20px;
}

.feature-four-image{
    display: flex;
    text-align: center;
}

.feature-four-h2{
    width: 70%;
    font-family: "Public sans", sans-serif;
    font-weight: 300;
    font-size: 25px;
    line-height: 1.2;
    color: #242424;
    margin-top: 3px;
}

.feature-four-p{
    font-family: "Public sans", sans-serif;
    line-height: 1.7;
    font-size: 15px;
    width: 99%;
    color: hsl(233, 8%, 62%);
    margin-top: -15px;
}

/* THIRD-SECTION MAIN */
.third-section-main{
    background: linear-gradient(to top, hsl(220, 16%, 96%)
    , hsl(0, 100%, 100%));;
   position: relative;
   z-index: 1;
   min-height: 90vh;
   padding: 5%;
}

.third-section-h2{
    width: 70%;
    font-family: "Public sans", sans-serif;
    font-weight: 300;
    font-size: 40px;
    line-height: 1.2;
    color: #242424;
}

/* Article features */
.article-features{
    margin-top: 10%;
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

/* Article one */

.article-one{
    width: 250px;
    background-color: white;
    border-radius: 5px;
    height: 390px;
}

.article-one-image{
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.article-one-writeup{
    padding: 20px;
    font-family: "Public sans", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-one-user{
    font-size: 10px;
    font-weight: 700;
    color: hsl(233, 8%, 62%);
}

.article-one-h2{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    color: #242424;
}

.article-one-h2:hover{
    color: hsl(136, 64%, 51%);
    cursor: pointer;
}

.article-one-p{
    margin-top: -10px;
    font-size: 14px;
    font-weight: 400;
    color: hsl(233, 8%, 62%);
    line-height: 1.3;
}

/* Article two */

.article-two{
    width: 250px;
    background-color: white;
    border-radius: 5px;
    height: 390px;
}

.article-two-image{
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 30vh;
}

.article-two-writeup{
    padding: 20px;
    font-family: "Public sans", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-two-user{
    font-size: 10px;
    font-weight: 700;
    color: hsl(233, 8%, 62%);
}

.article-two-h2{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    color: #242424;
}

.article-two-h2:hover{
    color: hsl(136, 64%, 51%);
    cursor: pointer;
}

.article-two-p{
    margin-top: -10px;
    font-size: 14px;
    font-weight: 400;
    color: hsl(233, 8%, 62%);
    line-height: 1.3;
}

/* Article three */

.article-three{
    width: 250px;
    background-color: white;
    border-radius: 5px;
    height: 390px;
}

.article-three-image{
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 30vh;
}

.article-three-writeup{
    padding: 20px;
    font-family: "Public sans", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-three-user{
    font-size: 10px;
    font-weight: 700;
    color: hsl(233, 8%, 62%);
}

.article-three-h2{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    color: #242424;
}

.article-three-h2:hover{
    color: hsl(136, 64%, 51%);
    cursor: pointer;
}

.article-three-p{
    margin-top: -10px;
    font-size: 13.5px;
    font-weight: 400;
    color: hsl(233, 8%, 62%);
    line-height: 1.3;
    width: 100%;
}

/* Article three */

.article-four{
    width: 250px;
    background-color: white;
    border-radius: 5px;
    height: 390px;
}

.article-four-image{
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 30vh;
}

.article-four-writeup{
    padding: 20px;
    font-family: "Public sans", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-four-user{
    font-size: 10px;
    font-weight: 700;
    color: hsl(233, 8%, 62%);
}

.article-four-h2{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    color: #242424;
}

.article-four-h2:hover{
    color: hsl(136, 64%, 51%);
    cursor: pointer;
}

.article-four-p{
    margin-top: -10px;
    font-size: 14px;
    font-weight: 400;
    color: hsl(233, 8%, 62%);
    line-height: 1.3;
}

/* FOOTER */
.footer{
    height: 30vh;
    background: hwb(233 18% 70%);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo-and-socials{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 60px;
}

.socials{
    display: flex;
    gap: 20px;
}

.soc{
    transform: scale(1);
    transition: transform 0.3s ease;
}

.soc:hover{
    cursor: pointer;
    transform: scale(1.2);
}

.footer-links ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 70px;
    padding: 0;
    margin: 0;
    width: 100%;
    justify-content: flex-start;
    list-style: none;
}

.footer-links ul li a{
    text-decoration: none;
    color: hsl(220, 16%, 96%);
    font-family: "Public Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
}


.footer-links a:hover{
    cursor: pointer;
    color: hsl(136, 64%, 51%);
}


.footer-button-and-rights{
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-btn{
    padding: 16px;
    width: 160px;
    border-radius: 30px;
    outline: none;
    border: none;
    color: white;
    background: linear-gradient(to bottom, hsl(136, 64%, 51%),hsl(192, 69%, 51%));
    margin-top: -20px;
}

.footer-btn:hover{
    font-weight: 700;
    cursor: pointer;
    color: white;
    background: linear-gradient(hsl(136, 100%, 77%));
}

.rights{
    font-size: 15px;
    color: hsl(233, 8%, 62%);
    font-family: "Public Sans", sans-serif;
    margin-left: -95px;
}




/* MOBILE VIEW */
@media screen and (max-width:600px) {
    /* HEADER */
 


.header{
    display: flex;
    flex-wrap: wrap;
}

.page-logo{
    display: flex;
    justify-content: space-between;
    gap: 120px;
}

.nav-bar{
    display: flex;
}

.top-logo{
    margin-bottom: 40px;
    display: flex;
    align-self: flex-start;
    justify-self: flex-start;
    margin-left: -20px;
    width: 200px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.5); /* dark transparent */
    
    opacity: 0;
    visibility: hidden;

    transition: 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
    z-index: 2000;
}

.open-btn{
    width: 40px;
    height: 22px;
    margin-left: -20px;
}

.close-btn{
    display: none;
    width: 33px;
    height: 27px;
    margin-left: -20px;
    z-index: 3000;
}

.header-links ul{
    display: none;
    gap: 30px;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 35px;
    width: 90vw;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    position: absolute;
    right: 20px;
    z-index: 2;
    text-align: center;
    margin-top: 50px;

    transition: all 0.3 ease;
    
}

body.no-scroll {
    overflow: hidden;
}

.header-links ul li{
    list-style: none;
    font-family: "Public sans", sans-serif;
}

.header-links a{
    text-decoration: none;
    font-size: 25px;
    position: relative;
    color: hsl(233, 8%, 62%);
    font-weight: 600;
    margin-left: -10px;
    
}

.header a::after{
    display: none;

}

.header a:hover{
    color: black;
    font-weight: 700;
}

.header-links a:hover::after{
    color: black;
    opacity: 1;
    transform: scaleX(1);
}

.invite-btn{
    display: none;
    
}

.main{
    position: relative;
    z-index: 1;
    margin-top: -25px;
}

/* FIRST SECTION */

.first-section-main{
     background: linear-gradient(to bottom, hsl(220, 16%, 96%)
    , hsl(0, 100%, 100%));
    min-height: 100vh;
    width: 100%;
    display: flex;
    overflow: visible;
    z-index: 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

.first-section-write-up{
    order: 2;
    gap: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 100%;

}

.first-section-h1{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 300;
    font-size: 40px;
    line-height: 1.2;
    color: #242424;
    text-align: center;
    margin-left: -30px;
    margin-top: 20px;
}

.first-section-p{
    font-family: "Public sans", sans-serif;
    line-height: 1.7;
    font-size: 17px;
    width: 90%;
    margin-left: -30px;
    text-align: center;
    color: hsl(233, 8%, 62%);
}

.first-section-btn{
    padding: 12px;
    width: 200px;
    height: 50px;
    border-radius: 30px;
    outline: none;
    border: none;
    color: white;
    background: linear-gradient(to bottom, hsl(136, 64%, 51%),hsl(192, 69%, 51%));
    margin-top: 10px;
    margin-bottom: 20px;
    margin-left: -30px;
    font-size: 17px;
    font-weight: 600;
}

.first-section-btn:hover{
    opacity: 0.4;
    cursor: pointer;
}

.first-section-mockup-bg-dsk{
    display: none;
}


.first-section-mockup-dsk{
    margin-top: -8%;
    margin-left: 17%;
    position: relative;
    z-index: 10;
}


.first-section-mockup-bg-mob{
    order: 1;
    display: flex;
    position: absolute;
    top: -90px;
    background: url("Assets/bg-intro-mobile.svg") center right  no-repeat;
    height: 70vh;
    margin-top: -40px;
    width: 100%;
    overflow: visible;
}

.first-section-mockup-mob{
    width: 100%;
}



/* SECOND-SECTION */
.second-section-main{
   background: hsl(220, 16%, 96%);
   position: relative;
   z-index: 1;
   min-height: 100vh;
   padding: 5%;
   
}

.second-section-head-writeup{
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    font-family: "Public sans", sans-serif;
}

.second-section-h2{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 300;
    font-size: 40px;
    line-height: 1.2;
    color: #242424;
    text-align: center;
}

.second-section-p{
    font-family: "Public sans", sans-serif;
    line-height: 1.5;
    font-size: 18px;
    width: 98%;
    text-align: center;
    color: hsl(233, 8%, 62%);
    font-weight: 500;
}

/* Bank features */
.bank-features{
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 50px;
}


/* Feature One */
.feature-one{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    margin-top: 15px;
}

.feature-one-image{
    display: flex;
    margin-top: -15px;
    width: 100px;
}

.feature-one-h2{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.2;
    color: #242424;
    margin-top: 3px;
    text-align: center;
}

.feature-one-p{
    font-family: "Public sans", sans-serif;
    line-height: 1.5;
    font-size: 18px;
    width: 99%;
    color: hsl(233, 8%, 62%);
    word-wrap: wrap;
    margin-top: -15px;
    text-align: center;
    font-weight: 500;
}

/* Feature Two */
.feature-two{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    margin-top: 15px;
}

.feature-two-image{
    display: flex;
    margin-top: -15px;
    width: 100px;
}

.feature-two-h2{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.2;
    color: #242424;
    margin-top: 3px;
    text-align: center;
}

.feature-two-p{
    font-family: "Public sans", sans-serif;
    line-height: 1.5;
    font-size: 18px;
    width: 99%;
    color: hsl(233, 8%, 62%);
    word-wrap: wrap;
    margin-top: -15px;
    text-align: center;
    font-weight: 500;
}

/* Feature Three */
.feature-three{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    margin-top: 15px;
}

.feature-three-image{
    display: flex;
    margin-top: -15px;
    width: 100px;
}

.feature-three-h2{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.2;
    color: #242424;
    margin-top: 3px;
    text-align: center;
}

.feature-three-p{
    font-family: "Public sans", sans-serif;
    line-height: 1.5;
    font-size: 18px;
    width: 99%;
    color: hsl(233, 8%, 62%);
    word-wrap: wrap;
    margin-top: -15px;
    text-align: center;
    font-weight: 500;
}

/* Feature Four */
.feature-four{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    margin-top: 15px;
}

.feature-four-image{
    display: flex;
    margin-top: -15px;
    width: 100px;
}

.feature-four-h2{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.2;
    color: #242424;
    margin-top: 3px;
    text-align: center;
}

.feature-four-p{
    font-family: "Public sans", sans-serif;
    line-height: 1.5;
    font-size: 18px;
    width: 99%;
    color: hsl(233, 8%, 62%);
    word-wrap: wrap;
    margin-top: -15px;
    text-align: center;
    font-weight: 500;
}

/* THIRD-SECTION MAIN */
.third-section-main{
    background: linear-gradient(to top, hsl(220, 16%, 96%)
    , hsl(0, 100%, 100%));;
   position: relative;
   z-index: 1;
   min-height: 90vh;
   padding: 5%;
}

.third-section-h2{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 300;
    font-size: 40px;
    line-height: 1.2;
    margin-top: 30px;
    text-align: center;
    color: #242424;
}

/* Article features */
.article-features{
    margin-top: 17%;
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

/* Article one */

.article-one{
    width: 100vw;
    background-color: white;
    border-radius: 5px;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.article-one-image{
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-align: center;
    display: flex;
    align-self: center;
    justify-self: center;
    height: 200px;
}

.article-one-writeup{
    padding: 20px;
    font-family: "Public sans", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.article-one-user{
    font-size: 15px;
    font-weight: 700;
    color: hsl(233, 8%, 62%);
}

.article-one-h2{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 500;
    font-size: 19px;
    line-height: 1.4;
    color: #242424;
}

.article-one-h2:hover{
    color: hsl(136, 64%, 51%);
    cursor: pointer;
}

.article-one-p{
    margin-top: -8px;
    font-size: 17px;
    font-weight: 400;
    color: hsl(233, 8%, 62%);
    line-height: 1.4;
}

/* Article two */

.article-two{
    width: 100vw;
    background-color: white;
    border-radius: 5px;
    height: 450px;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.article-two-image{
    width: 100%;
    margin-top: -20px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-align: center;
    display: flex;
    align-self: center;
    justify-self: center;
}

.article-two-writeup{
    padding: 20px;
    font-family: "Public sans", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.article-two-user{
    font-size: 15px;
    font-weight: 700;
    color: hsl(233, 8%, 62%);
}

.article-two-h2{
    width: 70%;
    font-family: "Public sans", sans-serif;
    font-weight: 500;
    font-size: 19px;
    line-height: 1.4;
    color: #242424;
}

.article-two-h2:hover{
    color: hsl(136, 64%, 51%);
    cursor: pointer;
}

.article-two-p{
    margin-top: -10px;
    font-size: 17px;
    font-weight: 400;
    color: hsl(233, 8%, 62%);
    line-height: 1.3;
}

/* Article three */

.article-three{
    width: 100vw;
    background-color: white;
    border-radius: 5px;
    height: 475px;
}

.article-three-image{
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 30vh;
}

.article-three-writeup{
    padding: 20px;
    font-family: "Public sans", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-three-user{
    font-size: 15px;
    font-weight: 700;
    color: hsl(233, 8%, 62%);
}

.article-three-h2{
    width: 80%;
    font-family: "Public sans", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
    color: #242424;
}

.article-three-h2:hover{
    color: hsl(136, 64%, 51%);
    cursor: pointer;
}

.article-three-p{
    margin-top: -5px;
    font-size: 17px;
    font-weight: 400;
    color: hsl(233, 8%, 62%);
    line-height: 1.3;
    width: 90%;
}

/* Article three */

.article-four{
    width: 100vw;
    background-color: white;
    border-radius: 5px;
    height: 450px;
}

.article-four-image{
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 30vh;
}

.article-four-writeup{
    padding: 20px;
    font-family: "Public sans", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-four-user{
    font-size: 15px;
    font-weight: 700;
    color: hsl(233, 8%, 62%);
}

.article-four-h2{
    width: 80%;
    font-family: "Public sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.3;
    color: #242424;
}

.article-four-h2:hover{
    color: hsl(136, 64%, 51%);
    cursor: pointer;
}

.article-four-p{
    margin-top: -5px;
    font-size: 17px;
    font-weight: 400;
    color: hsl(233, 8%, 62%);
    line-height: 1.3;
}

/* FOOTER */
.footer{
    height: 160%;
    background: hwb(233 18% 70%);
    padding: 60px;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding-bottom: 0;
}

.logo-and-socials{
    margin: 0 auto;
    margin-left: -25px;
}

.socials{
    display: flex;
    gap: 40px;
    justify-content: center;
}

.soc{
    transform: scale(1);
    transition: transform 0.3s ease;
    width: 30px;
}

.soc:hover{
    cursor: pointer;
    transform: scale(1.2);
}

.footer-links {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.footer-links ul{
    display: flex;
    gap: 30px;
    flex-direction: column;
    margin-top: 40%;
    text-align: center;
    justify-content: center;
    align-content: center;
}

.footer-links ul li a{
    font-size: 22px;
    letter-spacing: 1.2px;
}


.footer-links a:hover{
    cursor: pointer;
    color: hsl(136, 64%, 51%);
}


.footer-button-and-rights{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 0 auto;
    margin-top: 100px;
    
}

.footer-btn{
    padding: 25px;
    width: 200px;
    border-radius: 35px;
    outline: none;
    border: none;
    color: white;
    background: linear-gradient(to bottom, hsl(136, 64%, 51%),hsl(192, 69%, 51%));
    margin-top: -70px;
    font-size: 20px;
}

.footer-btn:hover{
    font-weight: 700;
    cursor: pointer;
    color: white;
    background: linear-gradient(hsl(136, 100%, 77%));
}

.rights{
    font-size: 15px;
    width: 100%;
    color: hsl(233, 8%, 62%);
    font-family: "Public Sans", sans-serif;
    margin-left: 0;
    margin: 0 auto;
    margin-bottom: 20px;
    
}


}

/* TABLET VIEW */

@media (min-width: 600px) and (max-width: 1024px) {
    .header{
    display: flex;
    justify-content: space-around;
    padding: 30px;
    flex-wrap: wrap;
}

.header-links ul{
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-left: -40px;
}

.header-links ul li{
    list-style: none;
    font-family: "Public sans", sans-serif;
}

.header-links a{
    color: hsl(233, 8%, 62%);
    text-decoration: none;
    font-size: 14px;
    position: relative;
}

.header a::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 5px;
    background-color: hsl(136, 64%, 51%);
    display: flex;
    top: 52px;

    opacity: 0;
    transform: scaleX(0);
  transform-origin: bottom;
  transition: transform 0.3s ease, opacity 0.3s ease;

}

.header a:hover{
    color: black;
    font-weight: 700;
}

.header-links a:hover::after{
    color: black;
    opacity: 1;
    transform: scaleX(1);
}

.invite-btn{
    padding: 12px;
    width: 150px;
    border-radius: 30px;
    outline: none;
    border: none;
    color: white;
    background: linear-gradient(to bottom, hsl(136, 64%, 51%),hsl(192, 69%, 51%));
    margin-top: -10px;
    margin-left: 50%;
    
}

.invite-btn:hover{
    cursor: pointer;
    opacity: 0.5;
}



.nav-bar{
    display: none;
}

/* MAIN */

.main{
    position: relative;
    overflow: hidden;
}

/* FIRST SECTION */

.first-section-main{
     background: linear-gradient(to bottom, hsl(220, 16%, 96%)
    , hsl(0, 100%, 100%));
    margin-top: -20px;
    min-height: 100vh;
    position: relative;
    width: 100%;
    display: flex;
    overflow: visible;
    z-index: 10;
}

.first-section-write-up{
    position: relative;
    margin-top: 10%;
    margin-left: 5%;
    gap: 40px;
    display: flex;
    flex-direction: column;
    width: 50%;
}

.first-section-h1{
    width: 70%;
    font-family: "Public sans", sans-serif;
    font-weight: 300;
    font-size: 70px;
    line-height: 1.2;
    color: #242424;
}

.first-section-p{
    font-family: "Public sans", sans-serif;
    line-height: 1.7;
    font-size: 19px;
    width: 60%;
    color: hsl(233, 8%, 62%);
}

.first-section-btn{
    padding: 12px;
    width: 150px;
    border-radius: 30px;
    outline: none;
    border: none;
    color: white;
    background: linear-gradient(to bottom, hsl(136, 64%, 51%),hsl(192, 69%, 51%));
    margin-top: -10px;
}

.first-section-btn:hover{
    opacity: 0.4;
    cursor: pointer;
}

.first-section-mockup-bg-dsk{
    position: absolute;
    top: 2px;
    left: 35%;
    background: url("Assets/bg-intro-desktop.svg") center right 80%  no-repeat;
    height: 108vh;
    margin-top: -40px;
    width: 100%;
    overflow: visible;
}

.mobile-image{
    display: none;
}

.first-section-mockup-dsk{
    margin-top: -10%;
    margin-left: 4%;
    position: relative;
    z-index: 10;
}


.first-section-mockup-bg-mob{
    display: none;
}

/* SECOND-SECTION */

.second-section-main{
   background: hsl(220, 16%, 96%);
   position: relative;
   z-index: 1;
   min-height: 100vh;
   padding: 5%;
   
}

.second-section-head-writeup{
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 20px;
    font-family: "Public sans", sans-serif;
}

.second-section-h2{
    width: 70%;
    font-family: "Public sans", sans-serif;
    font-weight: 300;
    font-size: 40px;
    line-height: 1.2;
    color: #242424;
}

.second-section-p{
    font-family: "Public sans", sans-serif;
    line-height: 1.7;
    font-size: 20px;
    width: 80%;
    color: hsl(233, 8%, 62%);
    font-weight: 500;
}

/* Bank features */
.bank-features{
    display: grid;
    margin-top: 5%;
    grid-template-columns: 300px 300px;
    grid-template-rows: 300px;
    gap: 40px;
    margin: 50px;
}


/* Feature One */
.feature-one{
    display: grid;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    gap: 20px;
    width: 100%;
    margin-top: 15px;
}

.feature-one-image{
    display: flex;
    margin-top: -15px;
}

.feature-one-h2{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 300;
    font-size: 25px;
    line-height: 1.2;
    color: #242424;
    margin-top: -3px;
}

.feature-one-p{
    font-family: "Public sans", sans-serif;
    line-height: 1.7;
    font-size: 15px;
    width: 99%;
    color: hsl(233, 8%, 62%);
    word-wrap: wrap;
    margin-top: -15px;
}

/* Feature Two */
.feature-two{
    display: grid;
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    gap: 25px;
    margin-left: 70px;
}

.feature-two-image{
    display: flex;
    text-align: center;
}

.feature-two-h2{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.2;
    color: #242424;
}

.feature-two-p{
    font-family: "Public sans", sans-serif;
    line-height: 1.7;
    font-size: 15px;
    width: 120%;
    color: hsl(233, 8%, 62%);
    margin-top: -15px;
}

/* Feature Three */
.feature-three{
    display: grid;
    grid-column: 1 / 2;
    grid-row: 2 / 4;
    gap: 20px;
}

.feature-three-image{
    display: flex;
    text-align: center;
}

.feature-three-h2{
    width: 95%;
    font-family: "Public sans", sans-serif;
    font-weight: 300;
    font-size: 25px;
    line-height: 1.2;
    color: #242424;
}

.feature-three-p{
    font-family: "Public sans", sans-serif;
    line-height: 1.7;
    font-size: 15px;
    width: 97%;
    color: hsl(233, 8%, 62%);
    margin-top: -15px;
}

/* Feature Four */
.feature-four{
    display: grid;
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    gap: 35px;
    margin-left: 65px;
}

.feature-four-image{
    display: flex;
    text-align: center;
}

.feature-four-h2{
    width: 70%;
    font-family: "Public sans", sans-serif;
    font-weight: 300;
    font-size: 25px;
    line-height: 1.2;
    color: #242424;
    margin-top: 3px;
}

.feature-four-p{
    font-family: "Public sans", sans-serif;
    line-height: 1.7;
    font-size: 15px;
    width: 140%;
    color: hsl(233, 8%, 62%);
    margin-top: -15px;
}

/* THIRD-SECTION MAIN */
.third-section-main{
    background: linear-gradient(to top, hsl(220, 16%, 96%)
    , hsl(0, 100%, 100%));;
   position: relative;
   z-index: 1;
   min-height: 90vh;
   padding: 5%;
   margin-top: -40%;
}

.third-section-h2{
    width: 70%;
    font-family: "Public sans", sans-serif;
    font-weight: 300;
    font-size: 40px;
    line-height: 1.2;
    color: #242424;
}

/* Article features */
.article-features{
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    margin: 70px;
    margin-top: 10%;
}

/* Article one */

.article-one{
    width: 350px;
    background-color: white;
    border-radius: 5px;
    height: 480px;
}

.article-one-image{
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.article-one-writeup{
    padding: 20px;
    font-family: "Public sans", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-one-user{
    font-size: 20px;
    font-weight: 700;
    color: hsl(233, 8%, 62%);
}

.article-one-h2{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 400;
    font-size: 19px;
    line-height: 1.3;
    color: #242424;
}

.article-one-h2:hover{
    color: hsl(136, 64%, 51%);
    cursor: pointer;
}

.article-one-p{
    margin-top: -5px;
    font-size: 14px;
    font-weight: 400;
    color: hsl(233, 8%, 62%);
    line-height: 1.3;
}

/* Article two */

.article-two{
    width: 350px;
    background-color: white;
    border-radius: 5px;
    height: 480px;
    margin-left: 10px;
}

.article-two-image{
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 19.4vh;
}

.article-two-writeup{
    padding: 20px;
    font-family: "Public sans", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.article-two-user{
    font-size: 20px;
    font-weight: 700;
    color: hsl(233, 8%, 62%);
}

.article-two-h2{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 400;
    font-size: 19px;
    line-height: 1.3;
    color: #242424;
}

.article-two-h2:hover{
    color: hsl(136, 64%, 51%);
    cursor: pointer;
}

.article-two-p{
    margin-top: -10px;
    font-size: 14px;
    font-weight: 400;
    color: hsl(233, 8%, 62%);
    line-height: 1.3;
}

/* Article three */

.article-three{
    width: 350px;
    background-color: white;
    border-radius: 5px;
    height: 480px;
}

.article-three-image{
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 19.4vh;
}

.article-three-writeup{
    padding: 20px;
    font-family: "Public sans", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-three-user{
    font-size: 20px;
    font-weight: 700;
    color: hsl(233, 8%, 62%);
}

.article-three-h2{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
    color: #242424;
}

.article-three-h2:hover{
    color: hsl(136, 64%, 51%);
    cursor: pointer;
}

.article-three-p{
    margin-top: -10px;
    font-size: 14px;
    font-weight: 400;
    color: hsl(233, 8%, 62%);
    line-height: 1.3;
    width: 100%;
}

/* Article three */

.article-four{
    width: 350px;
    background-color: white;
    border-radius: 5px;
    height: 480px;
    margin-left: 10px;
}

.article-four-image{
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 19.5vh;
}

.article-four-writeup{
    padding: 20px;
    font-family: "Public sans", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-four-user{
    font-size: 20px;
    font-weight: 700;
    color: hsl(233, 8%, 62%);
}

.article-four-h2{
    width: 100%;
    font-family: "Public sans", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
    color: #242424;
}

.article-four-h2:hover{
    color: hsl(136, 64%, 51%);
    cursor: pointer;
}

.article-four-p{
    margin-top: -10px;
    font-size: 14px;
    font-weight: 400;
    color: hsl(233, 8%, 62%);
    line-height: 1.3;
}

/* FOOTER */
.footer{
    height: 30vh;
    background: hwb(233 18% 70%);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo-and-socials{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 60px;
}

.socials{
    display: flex;
    gap: 20px;
}

.soc{
    transform: scale(1);
    transition: transform 0.3s ease;
}

.soc:hover{
    cursor: pointer;
    transform: scale(1.2);
}

.footer-links ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 70px;
    padding: 0;
    margin: 0;
    width: 100%;
    justify-content: flex-start;
    list-style: none;
}

.footer-links ul li a{
    text-decoration: none;
    color: hsl(220, 16%, 96%);
    font-family: "Public Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
}


.footer-links a:hover{
    cursor: pointer;
    color: hsl(136, 64%, 51%);
}


.footer-button-and-rights{
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-btn{
    padding: 16px;
    width: 160px;
    border-radius: 30px;
    outline: none;
    border: none;
    color: white;
    background: linear-gradient(to bottom, hsl(136, 64%, 51%),hsl(192, 69%, 51%));
    margin-top: -20px;
}

.footer-btn:hover{
    font-weight: 700;
    cursor: pointer;
    color: white;
    background: linear-gradient(hsl(136, 100%, 77%));
}

.rights{
    font-size: 15px;
    color: hsl(233, 8%, 62%);
    font-family: "Public Sans", sans-serif;
    margin-left: -95px;
}
}   










