
@font-face {
    font-family: 'Druk Wide';
    src: url(../font/druktextwidecyr-medium.woff);
}

@font-face {
    font-family: 'Druk Wide';
    src: url(../font/druktextwidecyr-medium.woff2);
}

* {
    margin: 0;
    padding: 0;
    font-family: "Druk Wide", sans-serif;
    box-sizing: border-box; 
}

body {
    background-color: #BCAC97;
}

.merch {
    position: absolute;
    top: 5%;
    right: 10%;

    width: 78px;
    height: 78px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 30px;
    border: none;
    background: rgba(26, 0, 68, 0.84);

    cursor: pointer;
}

.merch:hover, .button:hover {
    background: rgba(37, 1, 95, 0.84);
}

.slider {
    width: 100%;
    height: 100vh;
    position: fixed;
    overflow: hidden;
}

.slider__item {
    width: 100%;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider__item img {
    width: 100%;

    object-fit: cover;
}

@media (max-width: 1430px) {
    .slider__item img {
        width: 100%;
        height: 100vh;
        object-fit: cover;
    }
}

.buttons {
    position: absolute;
    margin-right: -50%;
    top: 80%;
    left: 50%;

    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    
    transform: translate(-50%, -50%);
}

.button {
    border-radius: 20px;
    width: 421px;
    height: 71px;
    
    display: flex;
    align-items: center;
    justify-content: center;
   
    background: rgba(26, 0, 68, 0.84);
    border: none;
    
    cursor: pointer;
}

.button p {
    margin-left: 10px;
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.slider-mobile {
    display: none;
}

.slider__item-mobile {
    display: none;
    
}

@media (max-width: 700px) {
    .slider__item {
        display: none;
    }

    .merch {
        position: absolute;
        top: 5%;
        right: 10%;
    
        width: 55px;
        height: 55px;
    
        display: flex;
        justify-content: center;
        align-items: center;
    
        border-radius: 20px;
        border: none;
        background: rgba(26, 0, 68, 0.84);
    
        cursor: pointer;
    }

    .merch img {
        width: 33px;
    }

    .slider {
        display: none;
    }

    .slider-mobile {
        width: 100%;
        height: 100vh;
        position: fixed;
        overflow: hidden;

        display: block;
    }
    
    .slider__item-mobile {
        width: 100%;

        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .slider__item-mobile img {
        width: 100%;
        height: 100vh;
        object-fit: cover;
    }

    .buttons {
        position: absolute;
        margin-right: -50%;
        top: 80%;
        left: 50%;
    
        width: 100%;
    
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        
        
        transform: translate(-50%, -50%);
    }

    .button {
        max-width: 300px;
        width: 90%;
        height: 61px;
    }

    .button p {
        font-size: 20px;
    }
}