
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {
    scroll-behavior: smooth;
    font-family: "Helvetica", sans-serif;
}

a {
    text-decoration: none;
    color: white;
    font-family: "Red Hat Display", sans-serif;
}

p{
    font-family: "Red Hat Display", sans-serif;
}

h1, h2, h3{
    font-family: "Raleway", sans-serif;
}


header {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 20px 10px
}

.logo-header {

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.logo-header-img {
    width: 80px;
    margin-right: 20px;
}

.nav-wrapper {

    display: flex;
    justify-content: center;
}

.nav-header {
    list-style: none;
    display: flex;
    flex-direction: row;
}

.nav-element a {
    background-color: #F3F3F3;
    color: black;
    margin: 10px;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: bold;
    transition: background-color 300ms, color 300ms;
}

.nav-element a:hover{
    background-color: black;
    color: white;
}

.theme-header {

    display: flex;
    justify-content: center;
    align-items: center;
}


.toggle-button-cover {
    display: table-cell;
    position: relative;
    width: 100px;
    height: 40px;
    box-sizing: border-box;

}

.button-cover {
    /*height: 10px;*/
    margin: 20px;
    background-color: white;

    border-radius: 4px;
}

.button-cover:before {
    position: absolute;
    right: 0;
    bottom: 0;
    color: #d7e3e3;
    font-size: 12px;
    line-height: 1;
    padding: 5px;
}

.button-cover,
.knobs,
.layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.button {
    position: relative;
    top: 50%;
    width: 74px;
    height: 36px;
    margin: -20px auto 0 auto;
    overflow: hidden;
}

.button.r,
.button.r .layer {
    border-radius: 100px;
}


.checkbox {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

.knobs {
    z-index: 2;
}

.layer {
    width: 100%;
    background-color: white; /* dot color turned off */
    transition: 0.3s ease all;
    z-index: 1;
    border: 2px solid black;
}


#button-1 .knobs:before {
    content: " ";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 10px;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    padding: 9px 4px;
    background-color: black;
    border-radius: 50%;
    transition: 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
}

#button-1 .checkbox:checked + .knobs:before {
    content: " ";
    left: 42px;
    background-color: white;
}

#button-1 .checkbox:checked ~ .layer {
    background-color: black; /* dot color turned on */
    border: 1px solid white;
}

#button-1 .knobs,
#button-1 .knobs:before,
#button-1 .layer {
    transition: 0.3s ease all;
}


.offers {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.offer {
    width: 30%;
    padding: 20px 60px;
    margin: 20px;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 50px;
    color: white;


    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.offer:hover{
    transform: translateY(-20px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.offer-img {
    width: 100%;
}

.offer-top {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: black;
    height: 45px;
    border-radius: 50px 50px 0 0;
}

.dot {
    width: 15px;
    height: 15px;
    background-color: white;
    margin-top: 15px;
    border-radius: 50px;
}

.offer-middle {
    background: linear-gradient(to bottom, #8390B0, white);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 40px;
    padding: 20px;
    height: 90%;
    justify-content: space-between;
}


.offer-row-wrapper{
    width: 100%;
}

.hole {
    height: 10px;
    width: 50px;
    border-radius: 20px;
    background-color: black;
    margin: 10px 0;
}

.offer-img-wrapper {
    padding: 20px;
    /*margin: 20px;*/
    background: linear-gradient(to bottom, white, #8390B0);
    margin: 20px 0;
    border-radius: 5px;
}


.offer-row {
    background-color: #8390B0;
    width: 100%;
    padding: 15px 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}



.offer-row:first-child{
    border-bottom: 1px solid #676F83;
    border-radius: 5px 5px 0 0;
}

.offer-row:last-child{
    border-radius: 0 0 5px 5px;
}

.offer-row-left p {
    font-weight: bold;
}

.offer-review {
    background-color: #8D9CC0;
    margin: 20px 0;
    padding: 30px 10px;
    border-radius: 5px;
}


.info {
    color: white;
}


.gray-text {
    color: gray
}

.offer-btn{
    display: flex;


    margin: 30px 10px;
    align-items: center;
    justify-content: center;
}

.play-btn{
    background-color: #03a9f4;
    font-size: 30px;
    padding: 15px 60px;
    border-radius: 20px;
}

.play-btn:hover{
    scale: 1.05;
    transition: scale 300ms;
}

.play-btn:active{
    background-color: #0286C2;
    transition: background-color 300ms;
}




.orange-grad{
    background: linear-gradient(to bottom, #D28F47, white);
}

.orange-grad-re{
    background: linear-gradient(to bottom, white, #D28F47);
}

.orange{
    background-color: #D28F47;
}

.orange:first-child{
    border-bottom: 1px solid #AB743A;
}



.green-grad{
    background: linear-gradient(to bottom, #058277, white);
}

.green-grad-re{
    background: linear-gradient(to bottom, white, #058277);
}

.green{
    background-color: #058277;
}

.green:first-child{
    border-bottom: 1px solid #03544D;
}


.htp{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-bottom: 50px;
}

.htp-card{
    display: flex;
    flex-direction: column;
    padding: 30px;
    background-color: #EBEBEB;
    border-radius: 30px;
    width: 30%;
    margin: 20px;
}

.htp-card-row-top{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.htp-icon{
    height: 80px;
    margin-left: 20px;
}

.htp-card-row-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.htp-card-row-middle{
    padding: 20px 0;
}

.htp-card-row-bottom{
    display: flex;
    flex-direction: row;
    justify-content: space-between ;
}


.about{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 50px 20px;
}

.about-content{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.about-img{
    width: 60%;
}

.about-right{
    width: 30%;
    h1{
        padding-bottom: 30px;
        font-size: 50px;
    }
    p{
        padding-bottom: 10px;
        font-size: 25px;
    }
}

footer{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 20px 10px;
    background-color: #EBEBEB;
}

.menu ul{
    list-style: none;
}

.menu-item a{
    color: black;
    font-weight: bold;
}

.menu-item a:hover{
    color: gray;
    transition: color 300ms;
}

.menu-item{
    margin-bottom: 10px;
}

.img-responsible{
    height: 80px;
    margin: 15px;
}





body.dark-theme{
    background-color: #212122;
    color: white;
    .offer{
        background-color: black;
        .offer-top{
            background-color: black;
        }
        .info{
            color: white;
        }
        .dot{
            background-color: black;
        }
    }

    .button-cover {
        background-color: #212122;
    }

    .offer-middle{
        background: linear-gradient(to bottom, #8390B0, black);
    }

    .offer-img-wrapper{
        background: linear-gradient(to bottom, black, #8390B0);
    }

    .orange-grad{
        background: linear-gradient(to bottom, #D28F47, black);
    }

    .orange-grad-re{
        background: linear-gradient(to bottom, black, #D28F47);
    }

    .green-grad{
        background: linear-gradient(to bottom, #058277, black);
    }

    .green-grad-re{
        background: linear-gradient(to bottom, black, #058277);
    }

    .htp-card{
        background-color: darkgray;
    }

    footer{
        background-color: darkgray;
    }

}




.rules {
    padding: 40px;
    background: rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    border: 1px solid rgba(255, 255, 255, 0.49);
    margin: 10px;
}

.rules h1 {
    padding-bottom: 30px;
    text-align: center;
}

.rules h2 {
    padding: 20px 0 15px 0;
}

.rules p {
    padding-bottom: 10px;
}

.rules ul {
    padding-left: 20px;
    list-style: circle;
}


@media only screen and (max-width: 1300px) {
    .offers{
        flex-direction: column;
        align-items: center;
    }

    .offer{
        width: 80%;
    }
}

@media only screen and (max-width: 1100px) {
    header{
        flex-direction: column;
    }

    .logo-header, .nav-wrapper{
        padding-bottom: 30px;
    }

    .about-content{
        flex-direction: column;
    }

    .about-right{
        padding-top: 30px;
        width: 90%;
        h1{
            text-align: center;
        }
    }
}

@media only screen and (max-width: 900px) {
    .htp{
        flex-direction: column;
        align-items: center;
    }

    .htp-card{
        width: 70%;
    }

    footer{
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .logo, .menu{
        padding-bottom: 20px;
    }

}

@media only screen and (max-width: 700px) {
    .offer{
        width: 90%;
    }

    .htp-card{
        width: 90%;
    }
}

@media only screen and (max-width: 500px) {
    .offer {
        padding: 20px 20px;
    }

    .nav-wrapper{
        padding-bottom: 0;
    }

    .nav-header{
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-element{
        margin-bottom: 30px;
    }

    .about-right{
        h1{
            font-size: 25px;
        }
        p{
            font-size: 20px;
        }
    }
}