@font-face {
    font-family: "IVI Sans Display";
    font-style: normal;
    font-weight: 700;
    src: url("./fonts/IVISansDisplayBold.ttf") format("truetype");
}

html {
    height: 100%;
}

.body {
    color: #fff;
    font-family: IVI Sans Display;
    background: var(--varna, #1f1b2e);
    box-sizing: border-box;
    margin: 0;
    height: 100%;
    position: relative;
    display: flex;
}

img {
    width: 100%;
}

.main {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    align-items: center;
    padding-top: 47px;
    box-sizing: border-box;
    /* justify-content: space-between; */
    background: no-repeat center / cover url('./images/present_2.png');
    position: relative;
}

.logos {
    display: flex;
    gap: 40px;
    align-items: center;
    max-height: 120px;
}

.logos>img {
    height: 100%;
    max-width: 253px;
}

.logo {
    padding-right: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.text {
    color: #fff;
    text-align: center;
    font-family: "IVI Sans Display";
    font-size: 70.878px;
    font-style: normal;
    font-weight: 700;
    line-height: 96px;
    /* 135.443% */
    max-width: 1146px;
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    top: 20%;
}

.ivi {
    vertical-align: bottom;
    max-width: 211px;
}


@media (min-width: 1440px){
    .main {
        background-size: 80%;
        background-position: bottom;
    }
}

@media (min-width: 1290px) and (min-height: 1000px){
    .main {
        gap: 98px;
    }
}

@media screen and (max-width: 1280px) {

    .logos {
        max-height: 70px;
        gap: 15px;
    }

    .text {
        font-size: 50px;
        line-height: 137%;
        /* 42.365px */
        padding: 0 46px;
        max-width: 1100px;
    }

    .logo {
        padding-right: 15px;
    }

    .ivi {
        max-width: 100px;
        vertical-align: middle;
    }
}

@media screen and (max-width: 768px) {
    .main {
        padding-top: 26px;
        background: no-repeat center / cover url('./images/present-mob_2.png');
    }

    /* .logos {
        max-height: 45px;
        padding: 0 30px;
        gap: 15px;
    }

    .logos > img {
        max-height: 38px;
    } */

    .text {
        font-size: 30.923px;
        line-height: 137%;
        /* 42.365px */
        padding: 0 46px;
        top: 16%;
    }

    /* .logos > .logo {
        padding-right: 10px;
        max-height: 45px;
    }

    .ivi {
        max-width: 84.566px;
    } */

    .present {
        background: url('./images/present-mob.png');
    }
}

@media screen and (max-width: 550px) {
    .main {
        background-position: bottom;
    }

    .logos {
        max-height: 45px;
        padding: 0 30px;
        gap: 15px;
    }

    .logos > img {
        max-height: 38px;
    }

    .logos > .logo {
        padding-right: 10px;
        max-height: 45px;
    }

    .ivi {
        max-width: 84.566px;
    }
}


.err-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
    color: #000;
}

.err-modal-visible {
    visibility: visible;
    opacity: 1;
}

.err-modal__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    max-width: 320px;
    text-align: center;
}

.err-modal__container>h3 {
    margin: 20px 0 10px;
    font-size: 20px;
}

.err-modal__container>span {
    color: rgba(0, 0, 0, 0.7);
}