* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
   text-decoration: none; 
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* Background color of the track */
}

::-webkit-scrollbar-thumb {
    background-color: #ffd700; /* Color of the thumb */
    border-radius: 10px; /* Round the corners */
    border: 3px solid #f1f1f1; /* Padding around thumb */
}

::-webkit-scrollbar-thumb:hover {
    background: #d4af37; /* Color when hovered */
}

header {
    width: 100%;
    height: 100px;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 0 80px;
}

header .container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    width: 100px;
}

header .tour-logo {
    height: 80px;
}
.tour-logo2 {
    display: none;
}

header .join-btn {
    background-color: #FF7C1E;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    border: none;
    width: 160px;
    height: 48px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

header .join-btn:hover {
    background-color: #E56C00;
}

.hero {
    background: url('../img/herobg.jpg') no-repeat center center/cover;
    height: 430px;
    padding: 50px 0;
    position: relative;
    border: 25px solid #FFF600;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero .container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    width: 100%;
    max-width: 1920px;
}

.hero .hero-img {
    width: 401px;
    position: absolute;
    bottom: -75px;
}

.hero .left {
    left: 8%;
}

.hero .right {
    right: 8%;
    width: 374px;
}

.hero .hero-text {
    text-align: center;
    position: relative;
    z-index: 1;
    top: 0px;
}

.hero .date-box {
    background-color: #FFF600;
    font-family: 'Sofia Sans Condensed', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 20px;
    padding: 5px 10px;
    display: inline-block;
    margin-bottom: 20px;
    color: #000;
}

.hero h1 {
    font-family: 'Sofia Sans Condensed', sans-serif;
    font-weight: 900;
    font-size: 56px;
    line-height: 49px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero p {
    background-color: #FFF600;
    color: black;
    padding: 5px 10px;
    font-family: 'Sofia Sans Condensed', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
    margin-left: 10px;
    margin-right: 10px;
}

.hero .choose-winner-btn {
    background-color: #FF7C1E;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    border: none;
    width: 180px;
    height: 56px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero .choose-winner-btn:hover {
    background-color: #E56C00;
}


/* participants */

.participants {
    padding: 50px 0;
    background-color: #ffffff;
}

.participants .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 80px;
}

.map-container {
    flex: 1;
    margin-right: 20px;
}

.tour-map {
    width: 870px;
    height: auto;
}

.cards-container {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-left: 135px;
    margin-top: 50px;
}

.participant-card {
    background-color: #fff600;
    width: 268px;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 8px solid #fff600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.participant-photo-container {
    width: 250px;
    height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0px;
    transition: background-color 0.3s ease;
}

.photo-background {
    background-color: #000;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.participant-photo {
    width: 230px;
    height: auto;
}

.participant-odds {
    background-color: #fff600;
    color: #000;
    padding: 5px 10px;
    position: absolute;
    top: 10px;
    left: 10px;
    min-width: 48px;
}

.participant-odds span {
    font-family: 'Sofia Sans Condensed', sans-serif;
    font-weight: 900;
    font-size: 16px;
}

.participant-flag {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: auto;
}

.participant-details {
    background-color: #fff600;
    width: 100%;
    position: absolute;
    bottom: 6px;
    padding-bottom: 5px;
    transition: bottom 0.3s ease, background-color 0.3s ease;
}

.participant-details h3 {
    font-family: 'Sofia Sans Condensed', sans-serif;
    font-weight: 900;
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 0px;
    color: #000;
}

.participant-details p {
    font-family: 'Sofia Sans Condensed', sans-serif;
    font-weight: 500;
    font-size: 16px;
    font-style: italic;
    text-transform: uppercase;
    color: #000;
}

.participant-card .choose-winner-btn {
    display: none;
    background-color: #FF7C1E;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    border: none;
    width: 230px;
    height: 44px;
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    transition: opacity 0.3s ease;
}

.participant-card:hover {
    background-color: #000;
    border-color: #000;
}

.participant-card:hover .photo-background {
    background-color: #fff600;
}

.participant-card:hover .participant-odds {
    background-color: #000;
    color: #fff;
}

.participant-card:hover .participant-details {
    background-color: #000;
    bottom: 50px;
}

.participant-card:hover .participant-details h3,
.participant-card:hover .participant-details p {
    color: #fff;
}

.participant-card:hover .choose-winner-btn {
    display: block;
}

/* WE WILL DOUBLE YOUR DEPOSIT */
.benefits {
    background: url('../img/bg.jpg') no-repeat center center/cover;
    height: 430px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.benefits h2 {
    font-family: 'Sofia Sans Condensed', sans-serif;
    font-weight: 900;
    font-size: 60px;
    color: #fff;
    margin-bottom: 40px;
}

.benefits-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.benefit {
    background-color: #fff600;
    width: 280px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0px 20px 20px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.benefit-icon img {
    width: 70px;
    height: 58px;
    margin-bottom: 10px;
}

.benefit-text {
    font-family: 'Sofia Sans Condensed', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #000;
    text-align: left;
}

.benefits .join-btn {
    background-color: #FF7C1E;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 18px;
    border: none;
    width: 160px;
    height: 48px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 40px;
}

.benefits .join-btn:hover {
    background-color: #E56C00;
}

/* Styles for footer */

footer {
    background-color: #fff;
    padding: 20px 80px;
    box-shadow: 0 -4px 2px -2px gray;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1920px;
    margin: 0 auto;
}

footer .footer-logo {
    width: 100px;
}

footer p {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #79849B;
}

@media (max-width: 1500px) {
    .hero .left {
        left: 0%;
    }
    
    .hero .right {
        right: 2%;
    }

    .cards-container {
        margin-left: 40px;
    }

}

@media (max-width: 1400px) {
    .participants .container {
        flex-direction: column;
    }
    .tour-map {
        width: 700px;
    }
    .cards-container {
        justify-content: center;
    }

}

@media (max-width: 1250px) {  
    .hero .hero-img {
        width: 300px;
    }
    .hero .right {
        width: 275px;
    }
}

@media (max-width: 1050px) {  
    .hero .hero-img {
        width: 250px;
    }
    .hero .right {
        width: 230px;
    }
}

@media (max-width: 980px) {  
    .hero {
        height: 520px;
        border: 15px solid #FFF600;
    }
    .hero .hero-img {
        bottom: -65px;
    }
    .hero .hero-text {
        top: -130px;
    }
    .hero .date-box {
        padding: 5px 10px;
    }
    .hero h1 {
        font-size: 70px;
        line-height: 60px;
        margin-bottom: 5px;
    }
    .benefits {
       
        height: auto;
    }
    .benefits-container {
        display: flex;
        gap: 20px;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .participants .container {
        padding: 0 70px;
    }
    .map-container {
        margin-right: 0px;
    }
    .tour-map {
        width: 600px;
    }
}

@media (max-width: 768px) { 
    .hero {
        height: 490px;
        border: 10px solid #FFF600;
    } 
    .hero .left {
        left: -7%;
    }
    .hero .hero-img {
        width: 200px;
        bottom: -60px;
    }
    .hero .right {
        right: -1%;
        width: 180px;
    }
    .hero .date-box {
        margin-bottom: 10px;
    }
    .hero h1 {
        font-size: 44px;
        line-height: 40px;
        margin-bottom: 5px;
    }
    .hero p {
        font-size: 18px;
    }
    .hero .choose-winner-btn {
        width: 180px;
        height: 48px;
    }
    .hero .hero-text {
        top: -175px;
    }
    .map-container {
        display: none;
    }

    .participants {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Для более плавного скроллинга на мобильных устройствах */
        white-space: nowrap; /* Чтобы карточки не переносились на новую строку */
    }

    .cards-container {
        display: inline-flex;
        flex-wrap: nowrap;
    }

    .participant-card {
        flex: 0 0 auto;
        margin-right: 20px;
    }
    .cards-container {
        gap: 0px;
        margin: auto;
    }
    .participants .container {
        padding: 0 20px;
    }
    footer {
        padding: 20px 20px;
    }
    footer .footer-logo {
        width: 88px;
    }
    header {
        padding: 0 20px;
    }
    header .logo {
        width: 88px;
    }
    .benefits h2 {
        font-size: 32px;
        line-height: 29px;
        margin-bottom: 20px;
        margin-top: 10px;
    }
    .benefit {
        background-color: #fff600;
        width: 340px;
        height: 80px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 20px 20px 20px 0px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    .benefit-text {
        font-family: 'Sofia Sans Condensed', sans-serif;
        font-weight: 600;
        font-size: 16px;
        color: #000;
        text-align: left;
    }
    .tour-logo {
        display: none;
    }
    .tour-logo2 {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 77px;
        margin-bottom: 20px;
    }

    
}

@media (max-width: 375px) { 
    header {
        padding: 0 10px;
    }
    .hero .right {
        right: -1%;
        width: 150px;
    }
    .hero .hero-img {
        width: 165px;
        bottom: -60px;
    }
    .hero .hero-text {
        top: -150px;
    }
    .benefit {
        width: 295px;
    }
    footer {
        padding: 20px 10px;
    }
    footer .container {
        gap: 20px;
    }
       
}
