@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Open+Sans:wght@300..800&display=swap');

/*
    font-family: 'Open Sans', sans-serif;
    font-family: 'Caveat', cursive;
*/

html {
    min-height: 100%;
}

body {
    background-color: #161829;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.45;
    min-height: 100%;
}

strong {
    font-weight: 700;
}

.layout {
    background: url(../images/bg.jpg) no-repeat center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    z-index: 0;
}

.layout::after {
    background: linear-gradient(180deg, rgba(10, 17, 36, 0.8), rgba(10, 17, 36, 0) 20%, rgba(10, 17, 36, 0) 75%, rgba(10, 17, 36, 0.89));
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 30px;
    position: relative;
    z-index: 1;
}

.header .logo {
    -webkit-animation: fade-in 0.25s linear 0.25s both;
    animation: fade-in 0.25s linear 0.25s both;
    display: block;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 0 auto;
    padding: 0 10px;
}

.content {
    -webkit-animation: fade-in 0.5s linear 0.25s both;
    animation: fade-in 0.5s linear 0.25s both;
    background-color: rgba(34, 0, 17, 0.1);
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
    border-radius: 10px;
    max-width: 590px;
    width: 100%;
    margin: 0 auto;
    padding: 63px 65px;
    text-align: center;
}

.envelope {
    -webkit-animation: flip-in-ver-right 0.75s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.75s both;
    animation: flip-in-ver-right 0.75s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.75s both;
    margin: 0 auto 22px;
}

.title {
    font-family: 'Caveat', cursive;
    font-size: 55px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 25px;
}

.footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 35px auto;
    max-width: 555px;
    width: 100%;
}

.security {
    -webkit-animation: fade-in 1s linear 0.75s both;
    animation: fade-in 1s linear 0.75s both;
    font-size: 14px;
    line-height: 1.25;
    text-align: center;
    padding: 10px;
    max-width: 160px;
    width: 100%;
}

.security-icon {
    -webkit-animation: flip-in-ver-right 0.75s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.25s both;
    animation: flip-in-ver-right 0.75s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.25s both;
}

.security:nth-child(2) .security-icon {
    padding: 3px 0 1px;
}

.security:nth-child(3) .security-icon {
    padding: 1px 0 3px;
}

.security-title {
    font-family: 'Caveat', cursive;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.05;
    margin: 5px 0;
}

@media (max-width: 1599px) {
    body {
        font-size: 17px;
    }

    .header .logo {
        width: 330px;
    }

    .content {
        padding: 55px 65px 60px;
        max-width: 566px;
    }

    .envelope {
        margin-bottom: 20px;
        width: 178px;
    }

    .title {
        font-size: 54px;
        margin-bottom: 24px;
    }

    .footer {
        margin: 25px auto;
        max-width: 536px;
    }

    .security-title {
        font-size: 21px;
    }
}

@media (max-width: 767px),
(max-height: 700px) {
    body {
        font-size: 14px;
    }

    .header .logo {
        width: 230px;
    }

    .content {
        max-width: 450px;
        padding: 42px 30px;
    }

    .envelope {
        margin-bottom: 25px;
        width: 140px;
    }

    .title {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .footer {
        max-width: 450px;
    }

    .security {
        font-size: 10px;
    }

    .security:first-child .security-icon {
        width: 32px;
    }

    .security:nth-child(2) .security-icon {
        padding: 1px 0 0px;
        width: 48px;
    }

    .security:nth-child(3) .security-icon {
        padding: 2px 0 7px;
        width: 30px;
    }

    .security-title {
        font-size: 18px;
        margin: 3px 0;
    }
}

@media (max-width: 575px) {
    .layout {
        background-image: url(../images/bg-mob.jpg);
    }
}

@-webkit-keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes slide-in-top {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-in-top {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@-webkit-keyframes slide-in-bottom {
    0% {
        transform: translateY(15px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-in-bottom {
    0% {
        transform: translateY(15px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@-webkit-keyframes flip-in-ver-right {
    0% {
        transform: rotateY(-80deg);
        opacity: 0;
    }

    100% {
        transform: rotateY(0);
        opacity: 1;
    }
}

@keyframes flip-in-ver-right {
    0% {
        transform: rotateY(-80deg);
        opacity: 0;
    }

    100% {
        transform: rotateY(0);
        opacity: 1;
    }
}