/* General body styling */
body {
    height: 100vh;
    margin: 0;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Jost", sans-serif;
}

/* Main container for layout on larger screens */
.main-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 75%;  /* Take 80% of the screen width */
    max-width: 1200px;
}

/* Style for text content */
.text-content {
    color: white;
    /* margin-left: 50px; */
    width: 600px;
}

/* Style for the header and paragraph */
h1 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

h2 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

p {
    margin-top: 10px;
    font-size: 1.25rem;
}

.aboutcontainer {
    text-align: center;
}

/* Button Styling */
#toggleButton {
    font-family: "Jost", sans-serif;
    background-color: #000000;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#toggleButton:hover {
    background-color: #2980b9;
}

#toggleDiv {
    opacity: 1;
    transition: opacity 0.3s ease; /* Smooth transition */
}


/* Text Box Styling */
.hidden-textbox {
    display: none; /* Initially hide the text box */
    margin-top: 20px;
}


/* General Circle Styling */
.pulsing-circle {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-color: rgba(52, 152, 219, 0.3); /* Semi-transparent */
    transform: scale(1);  /* Start at normal size */
    opacity: 1;
    /* transition: transform 4s ease-out, opacity 4s ease-in; */
    transition: transform 4s ease-out;

    margin-left: 150px;
}

.visit-info {
    margin-top: 20px;
    margin-botom: 20px;
    font-size: 18px;
    text-align: left;
}

.gold-number {
    color: gray;
    font-weight: bold;
}


/* Style for the server time display */
.server-time {
    margin-top: 20px;
    color: white;
    font-size: 18px;
    text-align: left;
}

/* Layout for larger screens */
@media (min-width: 600px) {
    .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
    }

    .pulsing-circle {
        width: 100px;
        height: 100px;
        background-color: rgba(52, 152, 219, 0.7); /* Slightly less transparent on larger screens */

        margin-left: 100px;
    }

    .text-section {
        max-width: 500px;
        text-align: left;
        margin-left: 20px;
    }
}

/* Mobile-Responsive Layout */
@media (max-width: 600px) {

    body {

    height: 100%;
    
    }

    .container {
        display: block;
        position: relative;
        height: 100vh; 
        padding: 0px;
    }

    #toggleDiv.hidden {
       opacity: 0;
     }

    .pulsing-circle {
        position: absolute; /* Position relative to the container */
        top: 50%;           /* Vertically centered */
        left: 40%;          /* Horizontally centered */
        transform: translate(-50%, -50%) scale(1); /* Use translate to center exactly */
        width: 20vw;        /* Start small, 20% of the viewport width */
        height: 20vw;
        max-width: 100vw;   /* Limit expansion to viewport width */
        max-height: 100vh;  /* Limit expansion to viewport height */
        z-index: 0;         /* Behind the text */
        background-color: rgba(52, 152, 219, 0.4);  /* Darker on mobile */

       margin-left: 0%;
    }

    .text-section {
        position: relative;
        z-index: 1;
        color: white;
        text-align: center;
        padding-top: 50px;
        top: 60%;           /* Position text below the circle */
        transform: translateY(-50%); /* Center the text relative to its section */
        background: rgba(0, 0, 0, 0.5); /* Optional background for better readability */
    }
}


@media (orientation: portrait) {
  #orientation-lock {
    display: none;
  }
}


/* Style for user count */
#user-count {
    margin-top: 20px;
    margin-bottom: 20px;
    color: white;
    font-size: 2rem;
    text-align: left;
}
