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

*,
*::after,
*::before{
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}
html{
    font-size: 16px;
}
body{
    font-family: 'Poppins', sans-serif;
}
.content__width{
    max-width: 79.5rem;
    margin: 0 auto;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    color:#0B032B;
}
p{
    font-weight: 400;
    color: #2F294A;
    letter-spacing: 0.2px;
}
a{
    font-weight: 400;
    text-decoration: none;
    color: #2F294A;
    letter-spacing: 0.2px;
}
li{
    list-style: none;
}

/* Link Hover */
.link-hover:after {
    content: "";
    display: block;
    transform: scaleX(0);
    transform-origin: 0% 100%;
    transition: transform 0.3s ease-in-out;
}
.link-hover:hover:after {
    transform: scaleX(1);
}
.link-hover li{
    max-width: max-content;
}
.link-hover li a::after{
    content: "";
    display: block;
    transform: scaleX(0);
    transform-origin: 0% 100%;
    transition: transform 0.3s ease-in-out;
}
.link-hover li a:hover::after{
    transform: scaleX(1);
}

/* Input */
input:focus-visible {
    outline: 2px solid #454BE1;
}
textarea:focus-visible{
    outline: 2px solid #454BE1;
}

/* Navigation */
.navigation{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navigation__right{
    display: flex;
    align-items: center;
}
.navigation__logo a{
    color: #454BE1;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.2px;
    line-height: 36px;
}
.navigation__nav ul li a{
    line-height: 1.5rem;
    text-transform: capitalize;
}
.navigation__nav .link-hover li a::after{
    border-bottom: 2px solid #2F294A;
}
.navigation__button{
    background: #605DEC;
    width: 8.25rem;
    border-radius: 2.5rem;
    border: 2px solid #605DEC;
}
.navigation__button a{
    font-weight: 600;
}
.navigation__button:hover{
    background: #FFFFFF;
    border: 2px solid #605DEC;
    transition: .3s all;
}
.navigation__button:hover a{
    color: #605DEC;
}

/* Primary Button */
.primary__btn{
    cursor: pointer;
    height: 3rem;
}
.primary__btn a{
    color: #FAFAFA;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: capitalize;
    line-height: 1.5rem;
}


/* Footer */
footer{
    background: #030B33;
}
.footer__col p{
    color: #D9DBE1;
    line-height: 1.5rem;
}
.footer__col h5{
    color: #FFFFFF;
    font-weight: 500;
    line-height: 1.875rem;
    letter-spacing: 0.2px;
}
.footer__col ul li a{
    color: #D9DBE1;
    line-height: 1.625rem;
    font-weight: 400;
    letter-spacing: 0.2px;
}
.footer__col .link-hover li a::after{
    border-bottom: solid 2px #bdbdbd;
}
.footer__social > *{
    width: 2rem;
    height: 2rem;
    background: #141C45;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .3s all;
}
.footer__social > *:hover{
    background: #454BE1;
}
.footer__col--4 form{
    position: relative;
}
.footer__col--4 form input{
    background: #141C45;
    height: 2.5rem;
    border: none;
    border-radius: 4px;
    padding-left: 0.765rem;
}
.footer__col--4 form ::-webkit-input-placeholder { /* Edge */
    color: #9A9EAF;
    font-size: 0.75rem;
}
.footer__col--4 form :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #9A9EAF;
    font-size: 0.75rem;
}
.footer__col--4 form ::placeholder { 
    color: #9A9EAF;
    font-size: 0.75rem;
}
.footer__col--4 form button{
    border: none;
    background: transparent;
    position: absolute;
    height: 100%;
    transform: translateX(-160%);
    cursor: pointer;
}
.footer__small{
    text-align: center;
    font-weight: 400;
    line-height: 1.5rem;
    border-top: 1px solid #353C5B;
    color: #9A9EAF;
}


@media screen and (min-width: 1440px) {
    .navigation{
        padding: 1.5rem 1rem;
    }
    .footer__large{
        padding: 5rem 2.03125rem;
    }
}

@media screen and (min-width: 1024px) and (max-width:1439px){
    .navigation {
        padding: 1.375rem 2.625rem;
    }
    .footer__large{
        padding: 4.625rem 3rem;
    }
}

@media screen and (min-width: 1024px) {
    /* Navigation */
    .openbtn,
    .closebtn{
        display: none;
    }
    .navigation__nav ul{
        display: flex;
    }
    .navigation__nav ul li:not(:first-child){
        margin-left: 2.25rem;
    }
    .navigation__button{
        margin-left: 1.625rem;
    }
    
    
    /* Footer */
    .footer__large{
        display: flex;
        justify-content: space-between;
    }
    .footer__col p{
        margin-bottom: 2.5rem;
        margin-top: 2.5rem;
    }
    .footer__col h5{
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    .footer__col ul li:not(:first-child){
        margin-top: 0.75rem;
    }
    .footer__col{
        flex-basis: 33%;
    }
    .footer__col--1{
        max-width: 307px;
    }
    .footer__social > *{
        margin-right: 1rem;
    }
    .footer__social.mobile{
        display: none;
    }
    .footer__col--2{
        max-width: 10rem;
    }
    .footer__col--3{
        max-width: 10rem;
    }
    .footer__col--4{
        max-width: 16.25rem;
    }
    .footer__col--4 form input{
        width: 100%;
    }
    .footer__col--5{
        display: none;
    }

    .footer__small{
        font-size: 0.875rem;
        padding: 1.4375rem;
    }
}
@media screen and (min-width: 768px) and (max-width:1023px) {
    .navigation{
        padding: 1.375rem 2.625rem;
    }
    
    /* Footer */
    .footer__large{
        display: flex;
        padding: 4rem 2rem;
        flex-wrap: wrap;
        justify-content: space-between;
        row-gap: 3.5625rem;
    }
    .footer__col p{
        margin-bottom: 2.5rem;
        margin-top: 2.5rem;
    }
    .footer__col h5{
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    .footer__col ul li:not(:first-child){
        margin-top: 0.75rem;
    }
    .footer__col{
        flex-basis: 50%;
    }
    .footer__col--1{
        flex-basis: 35%;
    }
    .footer__social > *{
        margin-right: 1rem;
    }
    .footer__social.mobile{
        display: block;
    }
    .footer__social.desktop{
        display: none;
    }
    .footer__col--2{
        flex-basis: 20%;
    }
    .footer__col--3{
        flex-basis: 20%;
    }
    .footer__col--4{
        flex-basis: 30%;
    }
    .footer__col--4 form input{
        width: 100%;
    }
    .footer__col--5{
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        flex-basis: 30%;
    }
    .footer__small{
        font-size: 0.875rem;
        padding: 1.4375rem;
    }
}
@media screen and (max-width: 767px) {
    .navigation{
        padding: 1rem;
    }
    .primary__btn{
        height: 2.5rem;
    }
    .primary__btn a{
        font-size: 0.875rem;
        line-height: 1.3125rem;
    }

     /* Footer */
     .footer__large{
        display: flex;
        flex-direction: column;
        padding: 2rem 1.6875rem ;
        text-align: -webkit-center;
    }
    .footer__col p{
        margin-top: 2rem;
        font-size: 0.875rem;
    }
    .footer__col h5{
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    .footer__col ul li a{
        font-size: 0.875rem;
    }
    .footer__col ul li:not(:first-child){
        margin-top: 4px;
    }
    .footer__social.desktop{
        display: none;
    }
    .footer__social > *{
        margin-right: 0.5rem;
    }
    .footer__col--1{
        margin-bottom: 2rem;
    }
    .footer__col--2{
        margin-bottom: 2rem;
        order: 1;
    }
    .footer__col--3{
        margin-bottom: 2.5rem;
        order: 2;
    }
    .footer__col--4{
        margin-bottom: 2rem;
    }
    .footer__col--4 form input{
        width: 16.25rem;
    }
    .footer__col--5{
        order: 3;
    }
    .footer__small{
        font-size: 0.625rem;
        padding: 0.75rem;
    }
}
@media screen and (max-width: 1023px) {
    /* Navigation */
    .navigation__right{
        flex-direction: column;
    }
    .openbtn,
    .closebtn{
        display: block;
    }
    .menuWidth{
        width: 100% !important;
    }
    #navigation__right-box{
        width: 0;
        position: fixed;
        z-index: 1;
        height: 100%;
        top: 0;
        right: 0;
        background-color: #FFFFFF;
        overflow-x: hidden;
        transition: 0.5s;
        text-align: -webkit-center;
        display: flex;
        justify-content: center;
        align-items: center;
        bottom: 0;
    }
    .navigation__nav ul .closebtn {
        position: absolute;
        top: 5%;
        right: 25px;
        font-size: 36px;
    }
    .openbtn {
        font-size: 2rem;
        cursor: pointer;
        background-color: transparent;
        color: #0B032B;
        border: none;
    }
    .openbtn:hover{
        transform: scale(1.1);
        transition: 0.3s;
    }
    .navigation__nav ul li{
        margin-bottom: 1rem;
    }
}
