@font-face {
    font-family: 'ALSGorizontVariable';
    src: url('./fonts/ALSGorizontVariable.ttf'), format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Golos';
    src: url('./fonts/GolosTextRegular.woff'), format('woff');
    font-weight: normal;
    font-style: normal;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background-image: url('./public/xxl.jpg');
    background-size: cover;
    background-position: center;

    @media (max-width: 1399px) {
        background-image: url('./public/xl.jpg');
    }

    @media (max-width: 1199px) {
        background-image: url('./public/l.jpg');
    }

    @media (max-width: 991px) {
        background-image: url('./public//m.jpg');
    }

    @media (max-width: 767px) {
        background-image: url('./public//s.jpg');
    }
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.text-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-align: center;
    z-index: 2;
}

.title {
    margin-top: 24px;
    margin-bottom: 16px;
    color: #000;
    text-align: center;
    font-feature-settings: 'liga' off;
    font-family: "ALSGorizontVariable", sans-serif;
    ;
    font-size: 50px;
    font-style: normal;
    font-weight: 400;
    line-height: 60px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;

    @media (max-width: 1199px) {
        max-width: 770px;
    }
}

.text {
    max-width: 508px;
    color: rgba(27, 31, 59, 0.80);
    text-align: center;
    font-family: Golos;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 32px;
    word-wrap: break-word;
    overflow-wrap: break-word;

    @media (max-width: 1399px) {
        max-width: 540px;
    }

    @media (max-width: 1199px) {
        max-width: 498px;
    }
}

.button {
    box-sizing: border-box;
    width: 258px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 24px;
    border: none;
    border-radius: 4px;
    background-color: #2196F3;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 71px;
    font-family: Golos;
}

.button span {
    margin-right: 8px;
}

.button:hover {
    background-color: #1976D2;
}

.button:active {
    background-color: #0D47A1;
}

.animal {
    width: 264px;
    height: 282px;
    margin: auto;
}