.im{display: none;} 
#modal {
    display: flex;
    position: fixed;
    background: rgb(0 0 0 / 84%);
    width: 100%;
    height: 100%;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    z-index: 6;
    color: #fff;
    font-size: 35px;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transition: 1s;
}

div#modal.show {
    opacity: 1;
    pointer-events: all;
}

button#modal-btn {
    background: #00b962;
    border: none;
    color: #fff;
    border-radius: 10px;
    padding: 10px 30px;
    font-weight: 900;
    font-family: 'Montserrat';
    cursor: pointer;
    font-size: 18px;
}

.garage {
    color: #fff;
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 3%;
    min-height: 100vh;
    padding: 50px 10%;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.tex img {
    width: 250px;
}

h1 {
    font-size: 50px;
    font-weight: 900;
    margin-bottom: 8px;
}

.garage>div {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

img {
    width: 100%;
}

.tex {
    position: relative;
    z-index: 2;
}

.garage::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../images/fon1-min.png);
    z-index: -1;
    background-position: 1% 75%;
    background-size: cover;
    animation: shadowPulse2 12s infinite linear;
}

@keyframes shadowPulse2 {
    0% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(180deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

div#message2 {
    background: linear-gradient(45deg, #ff3939, #5f0000);
    padding: 25px;
    width: fit-content;
    margin-bottom: 9px;
    border-radius: 10px;
    border: 5px solid #fff;
    margin-bottom: 18px;
}

#countdown {
    font-size: 2em;
    font-weight: 800;
}

#message {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.img {
    position: absolute;
    width: 35%;
    top: 57%;
    left: 29%;
    /* filter: brightness(0.8); */
    z-index: 2;
}

.container {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

#wheelOfFortune {
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0px 0px 100px -8px #ffd800;
    border-radius: 50%;
    animation: shadowPulse 12s infinite linear;
}

@keyframes shadowPulse {
    0% {
        box-shadow: 0px 0px 165px -10px #960000;
    }

    25% {
        box-shadow: 0px 0px 165px -10px #009688;
    }

    50% {
        box-shadow: 0px 0px 165px -10px #ffeb3b;
    }

    75% {
        box-shadow: 0px 0px 165px -10px #3f51b5;
    }

    100% {
        box-shadow: 0px 0px 165px -10px #960000;
    }
}

#wheel {
    display: block;
}

div#spin span {
    font-size: 34px;
    font-family: 'Montserrat';
    font-weight: 800;
    text-transform: uppercase;
}
div#spin:hover {
    transform: scale(1.1);
}
#spin {
    font: 1.5em / 0 sans-serif;
    user-select: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30%;
    height: 30%;
    margin: -15%;
    background: #fff;
    color: #fff;
    box-shadow: 0 0 0 8px currentColor, 0 0px 15px 5px rgba(0, 0, 0, 0.6);
    border: solid 1px #eee;
    border-radius: 50%;
    transition: 0.8s;
    font-size: 0px;
}

a {
    text-decoration: none;
    color: #fff;
    background: #00b962;
    width: fit-content;
    padding: 5px 20px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 13px;
}

#spin::after {
    content: "";
    position: absolute;
    top: -17px;
    border: 10px solid transparent;
    border-bottom-color: currentColor;
    border-top: none;
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
}


@media(max-width:1600px){
h1 {
    font-size: 40px;
}   
}

@media(max-width:1500px){
#wheel {
    display: block;
    width: 350px;
    height: 350px;
}
}

@media(max-width:1250px){
.img {
    position: absolute;
    width: 35%;
    top: 63%;
    left: 32%;
    /* filter: brightness(0.8); */
    z-index: 2;
}
}

@media(max-width:1000px){
    
    #wheel {
        display: block;
        width: 100%;
        height: auto;
    }
    div#spin span {
    font-size: 22px;
    font-family: 'Montserrat';
    font-weight: 800;
    text-transform: uppercase;
}
.img {
        order: 1 !important;
    }
    .garage>div.coleso {
    order: 2;
}
    h2 {
    text-align: center;
    font-size: 16px;
    margin-bottom: 25px;
}
    .tex {
        position: relative;
        z-index: 2;
        order: 5 !important;
    }
    .garage>div {
        display: flex;
        justify-content: center;
        flex-direction: column;
        order: 1;
    }
.im {
    width: 140px;
    margin: 30px auto;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    display: block;
    margin-top: 30px;
    margin-bottom: 0;
}
    .tex img {
        width: 250px;
        margin: 0 auto;
        background: #fff;
        padding: 10px;
        border-radius: 12px;
        display: none;
    }
h1 {
        font-size: 25px;
        text-align: center;
        margin-top: 29px;
    }
body {

    background: #000;
}
.garage::after {
    background-position: 45% 41%;
    background-size: contain;
    background-repeat: no-repeat;
}
.garage {
    grid-template-columns: 100%;
}
.img {
        position: relative;
        width: 95%;
        top: 0;
        left: 5%;
        filter: brightness(1);
        margin-top: 44px;
        margin-bottom: -32px;
    }
        .garage {
        padding-bottom: 150px;
    }
    #countdown {
    font-size: 25px;
    font-weight: 800;
}

}
@media(max-width:500px){
    div#spin span {
    font-size: 23px;
}

}
@media(max-width:350px){
#wheel {
        display: block;
        width: 250px;
        height: 250px;
    }
    }