@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    width: 100vw;
    margin: 0;
    background-color: #f0f8ff;
    font-family: Arial, sans-serif;
    background-image: url("../img/bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.container {
    max-width: 1336px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

h1 {
    font-family: "Jost", serif;
    font-weight: 900;
    font-style: normal;
    color: #fff;
    font-size: 48px;
    text-transform: uppercase;
    position: relative;
    line-height: 1;
    text-align: center;
}

.header {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 24px;
    margin-top: 84px;
}

.boxs {
    display: flex;
    justify-content: center;
    gap: 128px;
    margin-top: -150px;
}

.box {
    width: 360px;
    height: 360px;
    background-image: url("../img/box.png");
    background-size: cover;
    cursor: pointer;
    transition: transform 0.2s;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box:hover {
    transform: scale(1.1);
}

.box:active {
    animation: explode 0.5s ease-out;
}

.payments {
    max-width: 1296px;
    width: 100%;
    margin-bottom: 32px;
}

.modal {
    /* display: none; */
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.5s;
    transition: all 0.3s ease-in-out;
}

.modal-content {
    width: 100%;
    max-width: 373px;
    height: 303px;
    margin: 15% auto;
    text-align: center;
    animation: zoomIn 0.5s;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-image: url("../img/modal.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#modal-title {
    font-size: 48px;
    font-family: "Jost", serif;
    font-weight: 900;
    font-style: normal;
    margin-top: 20px;
    color: #fff;
    line-height: 1;
    margin-top: 24px;
}

#claim-button {
    width: 100%;
    max-width: 326px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../img/claim-button.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-bottom: 24px;
    text-decoration: none;
    font-family: "Jost", serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    text-transform: uppercase;
    color: #fff;
}

@media (max-width: 450px) {
    body {
        background-image: url("../img/bg-mobile.jpg");
    }
    .boxs {
        flex-direction: column;
        gap: 14px;
        margin-top: 0;
    }

    h1 {
        font-size: 32px;
        top: 0;
    }

    .logo {
        width: 150px;
        height: 62px;
    }

    .header {
        margin-top: 20px;
    }

    .box {
        width: 128px;
        height: 128px;
    }

    .modal-content {
        margin: 60% auto;
    }

    .payments {
        margin-bottom: 4px;
    }
}
