* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*overflow-x: hidden ;*/
}

html{
    scroll-behavior: smooth;
    font-family: "Helvetica", sans-serif;
}

a{
    text-decoration: none ;
    color:black;
}

h1{
    font-size: 35px;
}

header{
    background-color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 20px;
    border-bottom: 1px solid #010406;

}

.nav-list{
    display: flex;
    flex-direction: row;
    margin-top: 10px;
}

.nav-list li{
    list-style-type: none;
    margin: 0 10px;
}

.nav-element{
    padding: 15px;
    background-color: transparent;
    border-radius: 30px;
    font-weight: bold;
}

.nav-element:hover{
    padding: 15px;
    background-color: #00BB4A;
    color: white;
    font-weight: bold;
}

.login{
    background-color: #3F3162;
    color: white;
}

.about-us{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-image: url("images/background.avif");
    scroll-behavior: smooth;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    height: 500px;
    color: white;
}

.about-us h1{
    margin-top: 200px;
    padding-bottom: 20px;

}

.about-us p{
    font-size: 20px;
 }

.Super66{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 40px;
    background-image: linear-gradient(to bottom, #FEE85D, #E3D5D7);
}

.offer-wrapper{
    display: flex;
    flex-direction: row;
    margin: 30px 300px;
    padding: 20px;
    border-radius: 30px;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.offer-text{
    display: flex;
    flex-direction: column;
    text-align: start;
    padding-right: 40px;
}

.offer-text h1{
    padding-bottom: 10px;
}

.offer-img{
    width: 400px;
}

.play-btn{
    margin: 40px 0;
    background-color: #FEE85D;
    width: 200px;
    text-align: center;
    padding: 10px;
    border-radius: 20px;
    color: black;
    font-weight: bold;
    font-size: 20px;
}

.play-btn:hover{
    background-color: #00BB4A;
    color: white
}

.ways{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 40px;
    background-image: linear-gradient(to bottom, #E3D5D7, #999091);
}

.tip{
    text-align: start;
    width: 80%;
    border-radius: 30px;
    padding: 20px;
    margin: 20px 0;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.tip-text h2{
    padding-bottom: 20px;
}

.contact-us{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    background-image: linear-gradient(to bottom, #999091, #3F3162);
    color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.contact-us h1{
    padding-bottom: 10px;
}

.contact-us-wrapper{
    display: flex;
    flex-direction: column;
    padding: 40px;
    background-color: peachpuff;
    border-radius: 30px;
    color: black;
    width: 40%;
    align-items: center;
}

.input{
    border: none;
    border-radius: 30px;
    height: 50px;
    width: 400px;
    padding: 10px;
}

.label{
    display: flex;
    flex-direction: column;
    font-weight: bold;

}

.message{
    width: 400px;
    height: 100px;
    padding: 15px;
}

.contact-us-wrapper label{
    margin: 10px;
}

.send{
    margin-top: 20px;
    padding: 20px;
    border:none;
    background-color: #FEE85D;
    border-radius: 30px;
    font-weight: bold;
    font-size: 20px;
}

.send:hover{
    background-color: #00BB4A;
    color: white;
}

footer{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: #3F3162;
    color: white;
    padding-top: 30px;
}

.footer-main{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.footer-menu-element{
    list-style-type: none;
    margin-bottom: 20px;
}

.footer-menu-element a{
    color: white;
    padding: 10px;
    border-radius: 20px;
}

.footer-menu-element a:hover{
    background-color: #00BB4A;
}

.footer-text{
    text-align: center;
    padding: 20px;
}



.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    justify-content: center;
    align-items: center;

}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 300px;
}

.popup-content h2{
    padding-bottom: 10px;
}


.accept-btn, .reject-btn{
    border: none;
    margin-top: 20px;
    background-color: #FEE85D;
    padding: 10px;
    cursor: pointer;
}

.reject-btn{
    background-color: red;
}

.reject-btn:hover{
    color:white;

}

.accept-btn:hover{
    background-color: #00BB4A;
    color: white;
}








.registration{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px;
}

.main-register h1{
    text-align: center;
    margin: 50px 0;
}

.registration-element{
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.registration-element input{
    border: none;
    background-color: peachpuff;
    height: 40px;
    width: 200px;
    padding: 10px;
    border-radius: 20px;
}

.space{
    height: 200px;
}

.rules{
    padding: 40px;
}

.rules h1{
    text-align: center;
    padding: 20px;
}

.rules h3{
    padding: 20px 0 10px 0;
}

.rules ul{
    padding-left: 20px;
}

@media only screen and (max-width: 1100px) {
    header{
        flex-direction: column;
        align-items: center;
    }

    .input{
        width: 300px;
    }

    .legal a img{
        height: 50px;
    }
}

@media only screen and (max-width: 800px) {
    .footer-main{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo{
        padding-bottom: 20px;
    }

    .legal{
        margin-bottom: 20px;
    }

    .contact-us-wrapper{
        width: 80%;
    }

    .offer-img{
        display: none;
    }

    .offer-text h1{
        text-align: center;
    }

    .nav-list{
        flex-wrap: wrap;
    }


    .nav-list li{
        margin: 20px;
    }

    .offer-text{
        align-items: center;
        padding: 0;
    }

    .about-us{
        display: none;
    }
}

