@font-face {
    font-family: "URWDIN";
    src: url("../fonts/URWDIN-Regular.ttf");
}

@font-face {
    font-family: "URWDIN-Black";
    src: url("../fonts/URWDIN-Black.ttf");
    font-weight: 900;
}

* {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: unset;
}

html {
    scroll-behavior: smooth;
}

body {  
    font-family: "URWDIN", sans-serif;
    background-color: #C4CAE9;
}

.header-main-wrapper {
    position: relative;        
    max-width: 84.5rem;
    margin: 0 auto;
}

header {   
    box-sizing: border-box;
    /* width: fit-content; */
    height: 100vh;
    margin-left: 2.75rem;
    padding-top: 7rem;
    font-family: "URWDIN", sans-serif;
    position: fixed;
    bottom: 0;   
    z-index: 3;
}

.pop-up-menu-wrapper { 
    display: none;
    position: absolute;
    top: 0;
    height: 0;
    width: 100%;
    backdrop-filter: blur(10px);
    transition: height linear .3s;
}

.pop-up-menu {
    display: flex;
    width: 18.625rem;
    margin: 7rem auto 0;
    height: 100%;
    max-height: calc(100vh - 7rem);
    flex-direction: column;
    box-sizing: border-box;
    padding-top: 6.5rem;
    background-color: white;
    box-shadow: 0px 0px 32px #C4CAE9;
    opacity: 0;
    transition: all linear .3s;

}

.pop-up-menu .header-menu {
    position: relative;
}

.pop-up-menu .header-links-and-lang {    
    position: absolute;
    width: 100%;
    left: 0;
    top: 70%;
}

.header-container {
    display: flex;
    height: 100%;
    flex-direction: column;
    box-sizing: border-box;
    width: 18.625rem;
    padding-top: 6.5rem;
    background-color: white;
    box-shadow: 0px 0px 32px #C4CAE9;
}
.header-container-mobile-wrapper {
    position: relative;
}
.header-container-mobile {
    display: none;
}
.header-menu-mobile {
    position: relative;
    z-index: 10;
}
.button-image-wrapper-left {
    position: absolute;
    top: -130px;
    left: -70px;
    width: 200px;
    height: 200px;
    transform: rotateZ(59deg);
    background: linear-gradient(45deg, #e19100, #ffcf3b);
    border-radius: 30px;
}

.button-image {
    position: absolute;
    top: -9px;
    left: -11px;
    width: 200px;
    height: 200px;
    /* transform: rotateZ(59deg); */
    background: linear-gradient(45deg, #fed743, #ffe950);
    border-radius: 30px;

}
.header-menu-mobile img {
    position: relative;
    z-index: 9;
}
.header-account-mobile {
    position: relative;
    z-index: 10;
}
.header-account-mobile img {
    position: relative;
    z-index: 9;
}
.button-image-wrapper-right {
    position: absolute;
    top: -131px;
    right: -67px;
    left: unset;
    width: 200px;
    height: 200px;
    transform: rotateZ(-59deg);
    background: linear-gradient(45deg, #e19100, #ffcf3b);
    border-radius: 30px;
}
.button-image-wrapper-right .button-image {    
    position: absolute;
    left: unset;
    right: -11px;
    width: 200px;
    height: 200px;
    /* transform: rotateZ(59deg); */
    background: linear-gradient(-45deg, #ffe950, #fed743);
    border-radius: 30px;
}

.header-logo {
    position: absolute;
    top: 2rem;

}

.header-logo img {
    width: 18.625rem;
}

.header-login {
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pop-up-menu .header-login {
    position: relative;
    top: -100rem;
    transition: all linear .3s;
}

.button {
    width: 14.625rem;
    height: 3rem;
    position: relative;
    display: inline-block;
    color: #2D2DA7;
    text-align: center;    
    border-radius: 50px;    
    border: none;
    box-shadow: 0px 9px 8px #d7d6e5;
    box-sizing: border-box;
    margin-bottom: .5rem;
    cursor: pointer;
}

.register-btn {
    background: linear-gradient(210deg, #fec014 30%, #f1ab02 40%, #e19100 100%);   
}

.register-btn::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 4%;
    width: 92%;
    height: 55%;
    background: linear-gradient(240deg, #ffd542 0%, #fcbc0b 100%);
    border-radius: 50px;
    z-index: 1;
}

.login-btn {
    background: linear-gradient(197deg, #d0d6f0 30%, #b4badd 40%, #a3a8d0 100%);   
}

.login-btn::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 4%;
    width: 92%;
    height: 55%;
    background: linear-gradient(93deg, #c2c8e8 0%, #e6eaf6 100%);
    border-radius: 50px;
    z-index: 1;
}

.text {
    font-size: 1rem;
    font-weight: 600;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.blur {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.blur div {
    position: relative;
    top: 5px;
    width: 200px;
    height: 15px;
    background: linear-gradient(240deg, #ffd542 0%, #fcbc0b 100%);
    filter: blur(7px);
}

.login-btn .blur div {
    background: linear-gradient(142deg, #bac0e2 0%, #e6eaf6d1 100%);
    ;
}

.header-menu {
    max-width: 14.625rem;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.pop-up-menu .header-nav {
    position: relative;
    top: -100rem;
    transition: all linear .3s;
    text-align: center;

}

.header-nav a{
    padding: 1rem 0;
    display: block;
    font-weight: 100;
    color: #423EAF;
    letter-spacing: .5px;
}

.header-links-and-lang {
    display: flex;
    justify-content: space-between;
}

.social-links {
    display: flex;
}

.lang {
    position: relative;
    font-size: .75rem;
    color: #423EAF;
    display: flex;
    border: 1px solid #A3A9D0;
    align-items: center;
    border-radius: .5rem;
    cursor: pointer;
}

.lang img {
    width: 20px;
    padding: 0 .25rem;
}

.lang .lang-switch {
    position: absolute;
    width: 100%;
    bottom: -1px;
    left: -1px;
    text-align: center;
    background-color: white;
    border: 1px solid #A3A9D0;
    border-radius: .5rem;
    display: none;
}

.lang-switch p {
    margin: .5rem 0;
    cursor: pointer;
}

.arrow-up {
    margin-left: 1rem;
    transform: rotateZ(180deg);
}

main {
    padding-top: 15rem;
    overflow: hidden;
    background: url("../img/bg/bg--deault.svg") no-repeat;
    background-position: top;
    background-size: 140%;
}

.main-wrapper {
    max-width: 39rem;
    margin:0 auto;
}

main h1 {
    font-family: "URWDIN-Black";
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #423EAF;
    text-align: center;
}

main h3 {
    text-align: center;
    max-width: 25rem;
    margin: 0 auto 3rem;
    font-size: 1.25rem;
    font-weight: 100;
    color: #2B2B2B;
}

.privacy-container, .terms-container {
    padding: 2rem;
    background-color: white;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.privacy-container p, .terms-container p {
    font-family: "URWDIN-Black";
    font-size: 1.25rem;
    color: #423EAF;
    margin-bottom: 1rem;
}

.privacy-container h6, .terms-container h6 {
    font-weight: 100;
    font-size: .75rem;
    color: #2B2B2B;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.privacy-container ol , .terms-container ol, .terms-container ul {
    padding-left: 2rem;
}

.privacy-container a , .terms-container a {
    text-decoration: underline;
}

.laws-container ol {
    font-size: .75rem;
    padding-left: 2rem;
}

/* footer {
    width: 100vw;
    background-color: #423eaf;
} */

.footer-container {
    padding: 3rem 0 3rem 39%;
    display: flex;
    background: url("../img/bg/bg--footer.svg") no-repeat;
    background-color: #423eaf;
    background-position: right -120px;
}

.footer-container div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.footer-container h4 {
    font-family: "URWDIN-Black", sans-serif;
    margin-bottom: 1.5rem;
    color: #C4CAE9;
}

.footer-container h6 {
    font-weight: 100;
    font-size: .75rem;
    color: #c4c9e9;
    line-height: 2;
}

.footer-container a {
    display: block;
    font-size: .75rem;
    color: #C4CAE9;
    margin-bottom: .75rem;
}

.footer-container :last-of-type a {
    margin-bottom: 0;
}

.footer-container .copyright {
    justify-content: flex-end;
}

.flex-center picture, .ue-logo {
    width: 600px;
    max-width: 100%;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media(max-width: 2000px) {
    .footer-container {
        padding: 3rem 0 3rem 34%;
    }
}

@media(max-width: 1500px) {
    .footer-container {
        padding: 3rem 0 3rem 30%;
    }
}

@media(max-width: 1350px) {
    header {
        margin-left: 1rem;
    }
    .main-wrapper {
        margin-left: 20.5rem;
    }

    .footer-container {
        padding-left: 20.5rem;
    }
}

@media(max-width: 1200px) {
    .header-container {
        width: 15rem;
        padding: 5rem 1rem 1rem;
    }

    .header-container .header-logo {
        left: 0;
        width: 100%;
    }

    .header-container .header-logo img {
        width: 100%;
    }

    .header-container .button {
        width: 200px;
    }

    .header-container .header-nav a {
        font-size: .875rem;
    }

    .main-wrapper {
        margin-left: 17rem;
    }

    .footer-container {
        padding-left: 18rem;
    }
}

@media(max-width: 992px) {

    header {
        width: 100%;
        height: unset;
        padding: 0;
        margin: 0;
        top: 0;
        bottom: unset;
    }

    .header-container {
        display: none;
    }

    .header-container-mobile {
        display: flex;
        justify-content: space-between;
        padding: 2rem;
    }

    .header-logo-mobile img {
        max-width: 200px;
        width: 100%;
    }

    .main-wrapper {
        margin: 0 auto;
    }

    .footer-container {
        padding: 3rem;
    }
}

@media(max-width: 650px) {

    .header-container-mobile {
        padding-top: 1rem;
    }
    .button-image-wrapper-left {
        transform: scale(.8) rotateZ(59deg);
    }
    
    .button-image-wrapper-right {
        transform: scale(.8) rotateZ(-59deg);
    }

    .header-logo-mobile img {
        max-width: 150px;
        width: 100%;
    }
    .main-wrapper {
        max-width: unset;
        margin: 0 1rem;
    }

    .footer-container {
        flex-wrap: wrap;
    }

    .footer-container .copyright {
        margin-top: 2rem;
        margin-right: 1rem;
        flex-basis: 100%;
        text-align: end;
    }
}