/* Center the image horizontally and vertically */
.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Set body background to IMG_0209.jpg */
body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: white;
    background-repeat: no-repeat; /* Display background image only once */
    background-position: center center;
    background-size: cover;
    margin: 0;
    padding: 0;
    height: 100vh; /* Ensure full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Added to stack elements vertically */
    position: relative; /* Added to position the headline */
}

/* Overlay to dim the background */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind other content */
}

/* Styling for the headline */
.headline {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 20px;
    left: 20px;
    color: darkgrey;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.5;
}

/* Styling for the randomly selected image */
.random-image {
    position: absolute;
    top: 20px; /* Adjust as needed */
    right: 20px; /* Adjust as needed */
    width: 95px; /* Set the width to 95px */
    height: 150px; /* Set the height to 150px */
}

/* Styling for the centertext */
.centertext {
    margin: 0;
    padding: 0;
    /* left: 20px; */
    color: black;
    font-size: 28px;
    font-weight: bold;
    text-align: center; /* Center align text */
}

/* Styling for the text */
.infotext {
    color: darkgray;
    font-size: 14px;
    text-align: center; /* Center align text */
}

/* Styling for the text */
.counter-info {
    position: absolute;
    bottom: 20px;
    color: white;
    font-size: 14px;
    line-height: 1.5;
    text-align: center; /* Center align text */
}

/* Styling for the text link */
.text-link {
    margin-top: 20px; /* Adjust margin as needed */
    text-align: center; /* Center the text link */
    padding-bottom: 20px; /* Add some padding at the bottom */
}

.text-link a {
    color: lightgrey; /* Set link color */
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Make the link bold */
}

.text-link a:hover {
    text-decoration: underline; /* Underline link on hover */
}