.prizes-wrapper{
    background: white;
    padding-top: 90px;
    border-radius: 20px;
    margin-bottom: 90px;
}

.prizes-wrapper h2 {
    text-align: center;
    color: #1a237e;
    font-size: 52px;
}

.prizes-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 120px;
    flex-wrap: wrap;
    padding-top: 100px;
}

.prize-card {
/*    background: linear-gradient(135deg, #4267b2, #1a237e);*/
    border-radius: 15px 15px 0 0;
    padding: 20px;
    width: 300px;
/*    min-height: 200px;*/
    display: flex;
    flex-direction: column;
/*    align-items: center;*/
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.prize-card:hover {
/*    transform: translateY(-10px);*/
}

.medal {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
/*    padding: 8px 20px;*/
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.medal::before {
/*    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;*/
}

.gold::before {
    background-color: #ffd700;
}

.silver::before {
    background-color: #c0c0c0;
}

.bronze::before {
    background-color: #cd7f32;
}

.prize-name {
    font-size: 1.2rem;
    margin-bottom: 20px;
/*    text-align: center;*/
}

.prize-image {
    width: 250px;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    position: absolute;
    bottom: 0;
    right: -30%;
}

.vr-image {
    background-image: url('../img/prizes_img/vr-shlem.png');
}

.laptop-image {
    background-image: url('../img/prizes_img/notebook.png');
}

.speaker-image {
    background-image: url('../img/prizes_img/colonka.png');
}

.first {
    min-height: 300px;
    order: 2;
    background: linear-gradient(89.09deg, #0D1D31 0.61%, #2F3587 109.72%);
}

.second {
    min-height: 260px;
    order: 1;
    background: linear-gradient(90.62deg, #283A97 0.61%, #347DF4 108.95%);
}

.third {
    min-height: 200px;
    order: 3;
    background: linear-gradient(90deg, #347DF4 0%, #01AFFC 125.53%);
}

@media (max-width: 768px) {
    .prizes-container {
/*        flex-direction: column;*/
/*        align-items: center;*/
    }
    
    .prize-card {
        width: 100%;
        max-width: 80%;
/*        max-width: 300px;*/
    }
    
    .first {
        order: 1;
    }
    
    .second {
        order: 2;
    }
    
    .third {
        order: 3;
    }

} 



@media (max-width: 1028px) {
    .first, .second, .third{
        min-height: auto;
    }

    .prize-image{
        background-position: center;
    }
}

/*  NOTEBOOK */

@media (min-width: 1028px) and (max-width: 1378px) {
    .prizes-container{
        gap: 30px;
        padding-top: 150px;
    }

    .prize-image {
        width: 190px;
        bottom: 80%;
        left: 0;
        right: 0;
        margin: auto;
    }

    .prize-card{
        width: auto;
        min-width: 200px;
    }

}

/* TABLET  */

@media (min-width: 768px) and (max-width: 1028px) {
    .prizes-wrapper h2 {
        font-size: 32px;
    }

    .prizes-container{
        gap: 50px;
    }

    .prizes-container{
        align-items: start;
        justify-content: start;
        padding-top: 60px;
    }

    .prize-image {
/*        width: 250px;*/
    }

    .prizes-wrapper{
        padding-bottom: 60px;
    }

    .prize-card {
        width: 100%;
        max-width: 80%;
        border-radius: 0 15px 15px 0;
    }

    .prize-image{
        right: -10%;
        bottom: 0;
    }
}

/*  MOBILE  */

@media (min-width: 320px) and (max-width: 768px) {
    .prizes-wrapper h2 {
        font-size: 20px;
    }

    .prizes-container{
        gap: 50px;
    }

    .prizes-wrapper{
        padding-top: 50px;
        padding-bottom: 30px;
    }

    .prize-image {
        width: 160px;
    }

    .prize-card {
        max-width: 90%;
    }

    .prizes-container{
        align-items: start;
        justify-content: start;
        padding-top: 30px;
    }

    .prize-card{
        min-height: auto;
        align-items: start;
        border-radius: 0 15px 15px 0;
    }

    .prize-image{
        right: -5%;
        bottom: 0;
    }
}


