/* General styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0f0c29;
    color: #fff;
}

header {
    background-color: #000;
    padding: 20px;
    text-align: center;
}

.logo img {
    height: 50px;
}

.main-background {
    background: url('files/20bet-sport.jpg') no-repeat center center/cover;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.main-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.hero {
    padding: 100px 20px;
    text-align: center;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.7);
    display: inline-block;
    padding: 20px;
    border-radius: 10px;
}

.hero h1 {
    margin: 0;
    font-size: 2.5em;
}

.hero p {
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brazil-flag {
    width: 24px;
    height: auto;
    margin: 0 10px;
}

.icon-text {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.content {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    margin: 20px;
}

.privacy-text {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-text h2 {
    margin-top: 20px;
}

.privacy-text h3 {
    margin-top: 15px;
}

.sites {
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 20px;
    gap: 20px;
}

.highlighted-site {
    flex: 2;
    background: url('files/b2.png') no-repeat center center/cover;
    background-size: cover;
    position: relative;
    border-radius: 10px;
    border: 2px solid rgba(255, 165, 0, 0.7); /* Orange border */
    transition: transform 0.2s, box-shadow 0.2s;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    box-sizing: border-box;
}

.highlighted-site::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Adjust the opacity as needed */
    border-radius: 10px;
    z-index: 1;
}

.highlighted-site > * {
    position: relative;
    z-index: 2;
}

.highlighted-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px;
    box-sizing: border-box;
    gap: 10px;
}

.highlighted-content .site-info h2, .highlighted-content .site-info p {
    font-size: 1.5em;
}

.highlighted-content .site-score .score {
    font-size: 2.5em;
}

.side-sites {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
}

.site {
    background-color: #2b1055;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid rgba(255, 165, 0, 0.7); /* Orange border */
    transition: transform 0.2s, box-shadow 0.2s;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.site:hover, .highlighted-site:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.site-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-info img {
    width: 100px;
    height: auto;
}

.site-info img.double-size {
    width: 200px;
    height: auto;
}

.site-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.site-score.horizontal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-score .stars {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
}

.site-score .stars img {
    width: 20px;
    height: auto;
}

.site-score .score {
    font-size: 2em;
    display: block;
    background: linear-gradient(to right, orange, red);
    -webkit-background-clip: text;
    color: transparent;
}

.site-score .rating {
    font-size: 0.9em;
    margin-top: 5px; /* Ensure it's under the stars */
}

.site-score .terms {
    font-weight: bold;
    font-size: 0.9em;
}

.learn-more {
    background-color: #ffcc00;
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-left: 20px;
}

.learn-more:hover {
    background-color: #e0b800;
}

.welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    margin: 10px 20px;
}

.welcome-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.welcome-text {
    flex: 1;
    padding: 20px;
}

.welcome-image {
    flex: 1;
    background: url('files/s2back.png') no-repeat center center/cover;
    background-size: cover;
    height: 300px; /* Adjust height as necessary */
    border-radius: 10px;
}

.responsible-gaming {
    background-color: #333;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    text-align: center;
}

.responsible-gaming h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.responsible-gaming p {
    margin: 10px 0;
}

.regulation-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.regulation-logos a {
    display: inline-block;
    margin: 10px;
}

.regulation-logos img {
    transition: transform 0.2s;
    max-width: 200px;
}

.regulation-logos img.double-size {
    max-width: 400px;
}

.regulation-logos img:hover {
    transform: scale(1.1);
}

.gov-logo {
    text-align: center;
    margin: 20px 0;
}

footer {
    background-color: #000;
    padding: 20px;
    text-align: center;
}

.footer-content p {
    margin: 10px 0;
}

.footer-content a {
    color: #ffcc00;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-content a:hover {
    color: #e0b800;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .sites {
        flex-direction: column;
        align-items: center;
    }

    .highlighted-site, .side-sites {
        width: 100%;
    }

    .site {
        flex-direction: column;
        align-items: center;
    }

    .site-info, .site-score.horizontal {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-score.horizontal .stars, .site-score.horizontal .rating, .site-score.horizontal .learn-more, .site-score.horizontal .terms {
        margin-top: 10px;
    }

    .site-info img.double-size {
        width: 150px;
        height: auto;
    }

    .learn-more {
        margin-top: 10px;
        text-align: center;
    }

    .site .learn-more {
        margin-top: 20px;
        margin-left: 0;
    }

    .welcome {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .welcome-content {
        flex-direction: column;
    }

    .welcome-text, .welcome-image {
        width: 100%;
        padding: 10px;
    }

    .welcome-image {
        height: 200px;
    }
}

/* Popup styles */
.pop_up_cont {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.8); /* Make sure the overlay covers the whole screen */
}

.pop_up {
    width: 500px;
    background-color: #2b1055;
    border-radius: 25px;
    padding-top: 0px;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pop_up h1{
    font-size: 120px;
    font-family: 'r-b';
    color: #ffcc00;
    margin-top: 0px;
    padding-top: 20px;
    padding-bottom: 0px;
    width: 100%;
    margin-bottom: 0px;
    text-align: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.pop_up h2{
    font-size: 40px;
    font-family: 'r-b';
    color: #fff;
    margin-top: 0px;
    padding-top: 0px;
    padding-bottom: 20px;
    width: 100%;
    margin-bottom: 0px;
    text-align: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.pop_up p{
    font-size: 22px;
    font-family: 'r';
    color: #7b7b9e;
    margin-top: 0px;
    margin-bottom: 50px;
    font-weight: 700;
    text-align: center;
}

.pop_up .button_block{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button_block button{
    font-size: 22px;
    color: #ffcc00;
    font-family: 'r-b';
    padding: 15px;
    margin-left: 10px;
    margin-right: 10px;
    border: none;
    cursor: pointer;
    width: 170px;
    background: none;
    border: 1px solid #ffcc00;
    border-radius: 10px;
}