p:empty {
    display: none;
}

.top-section {
    background: url('./img/bg-header.jpg');
    width: 100%;
    max-width: 100%;
    padding: 50px 0 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    
    @media (min-width: 1024px) {
        padding: 150px 0 100px;
    }

    .top-images {
        text-align: right;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;

        @media (min-width: 1024px) {
            flex-direction: column;
        }

        img {
            margin-bottom: 20px;

            @media (min-width: 1024px) {
                margin-bottom: 60px;
            }
        }

        .img-1 {
            width: 150px;
            margin-right: 20px;
            flex-shrink: 0;
            margin-top: 20px;

            @media (min-width: 1024px) {
                width: 200px;
                margin-top: 0;
                margin-right: 0;
            }
        }

        .img-2 {
            width: 150px;
            
            @media (min-width: 1024px) {
                width: 250px;
            }
        }

        .img-3 {
            width: 200px;

            @media (min-width: 1024px) {
                width: 200px;
            }
        }
    }
}


.triangle1 {
    position: absolute;
    right: -20px;
    bottom: -30px;

    @media (min-width: 1024px) {
        display: none;
    }
}

.triangle2 {
    position: absolute;
    left: -20px;
    top: -50px;
    
    @media (min-width: 1024px) {
        display: none;
    }
}


.select-bottle-text-img {
    width: 300px;

    @media (min-width: 1024px) {
        width: auto;
    }
}

.bottle-image {
    transition: transform 0.3s ease;
    display: block;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
}

.text-image {
    transition: transform 0.3s ease;
    display: block;
    border-radius: 8px;
    cursor: pointer;
    position: absolute;
}

.bottle-link {
    border: none;
    background: none;
}

.bottle-image:hover {
    transform: scale(1.1);
}

.bottle-wrapper {
    text-align: center;
    position: relative;
    max-width: 75%;

    @media (min-width: 1024px) {
        max-width: 35%;
        padding: 10px;
    }

    img:focus, img:focus-active {
        border: none !important;
    }
}

.bottle-name {
    margin-top: 10px;
    font-weight: bold;
    font-size: 1rem;
}

.bottles-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    align-items: center;
    flex-direction: column;

    @media (min-width: 1024px) {
        flex-direction: row;
        margin-top: 10px;
    }
}

.vs-image {
   height: 100%;
    width: 50%;

    @media (min-width: 1024px) {
        flex-direction: row;
        width: 160px;
    }
}

.vs-wrapper {
    text-align: center;
    margin-left: 25px;
    margin-right: 25px;
}

.bottles-form {
    max-width: 100%;
    margin-top: -220px;
    padding-bottom: 50px;
    width: 100%;
    background: url('./img/background.png');
    padding-top: 200px;

    @media (min-width: 1024px) {
        padding-top: 350px;
        padding-bottom: 200px;
    }

    .text-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 25px;

        p {
            font-size: 18px;
            color: white;
            font-weight: 600;
            text-align: center;

            @media (min-width: 1024px) {
                font-size: 30px;
            }
        }

        .gold-text {
            color: yellow;
            font-weight: 700;
        }
    }
}




.footer {
    max-width: 100%;
    background-color: #68db22;
    padding: 20px 35px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;

    @media (min-width: 1024px) {
        flex-direction: row;
        padding: 30px 100px;
    }

    h2 {
        font-size: 25px;
        font-weight: 700;
        color: #085b19;
        margin-bottom: 0;

        @media (min-width: 1024px) {
            margin-right: 30px;
        }
    }
    
    span {
        font-size: 18px;
        color: #085b19;
        font-weight: 500;
        order: 2;
        text-align: center;

        @media (min-width: 1024px) {
            order: 1;
            text-align: left;
        }
    }

    .social-icons {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100%;

        @media (min-width: 1024px) {
            flex-direction: row;
        }

        p {
            margin-bottom: 0;
        }

        img {
            width: 200px;
        }
    }

    .rights-wrapper {
        width: 100%;
        display: flex;
        align-items: center;
        flex-direction: column;
        
        @media (min-width: 1024px) {
            flex-direction: row;
        }

        @media (min-width: 1920px) {
            width: 45%;
        }

        .logo-img {
            order: 1;
            margin-bottom: 20px;
            
            @media (min-width: 1024px) {
                margin-left: 40px;
                order: 2;
            }
        }
    }
}


/* thanks page container */

.thanks-section {
    .thanks-container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }
}



/* admin bottles selection results  */
.bottle-results {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    justify-content: center;
}
.bottle-card {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    text-align: center;
    width: 220px;
}
.bottle-card img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 15px;
}
.bottle-name {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 10px;
}
.vote-count {
    font-size: 1.4em;
    color: #2271b1;
    font-weight: bold;
}