/* General styling */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    text-align: center;
    padding-top: 100px;
}

.logo {
    width: 250px;
    margin: 20px auto;
}


.controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 80px;
    gap: 20px;
    font-family: 'Averia Serif Libre', serif;
    font-weight: bold;
    letter-spacing: -0.1rem;
    font-size: 1.2rem;
    color: #6663ab;
}

input[type="checkbox"] {
    appearance: none; /* Removes default styling */
    -webkit-appearance: none; /* For Safari */
    -moz-appearance: none; /* For Firefox */
    width: 20px; /* Adjust size as needed */
    height: 20px;
    background-color: #000; /* Black fill */
    border: 3px solid #6663ab; /* Purple border */
    cursor: pointer;
    vertical-align: middle;
}

input[type="checkbox"]:checked {
    background-color: #6663ab;; /* Keep black filling when checked */
     /* Optional: Change border color to green when checked */
}

button {
    padding: 5px 40px;
    border: none;
    background-color: #bbf9f9;
    color: #6663ab;
    border-radius: 25px;
    cursor: not-allowed;
    opacity: 0.5;
    font-family: 'Averia Serif Libre', serif;
    font-weight: bold;
    letter-spacing: -0.1rem;
    font-size: 1.7rem;
}

button.enabled {
    cursor: pointer;
    opacity: 1;
}

.info {
    margin-top: 50px; 
    font-family: 'Averia Serif Libre', serif;
    font-weight: bold;
    letter-spacing: -0.7px;
    color: #6663ab;
    
}


.how-it-works {
    margin-top: 50px;
    margin-left: 15px;
    margin-right:15px;
    text-decoration: none;
    border-bottom: 1px dashed #6663ab;
    cursor: pointer;
    font-size: 14px;
}

/* Pop-up styling */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    overflow: scroll;
}



/*
.popup-content {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    max-width: 300px;
    position: relative;
    
}
*/

.popup-content {
    position: relative;
    background-color: #222;
    width: 80%; /* Adjust for larger or smaller pop-up */
    max-width: 600px;
    max-height: 80vh; /* Limit height */
    overflow-y: auto; /* Enable scrolling for content */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add subtle shadow */
}
 

.info-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    overflow: scroll;
    display: flex;
    flex-direction: column;
}

.info-popup-content {
 
    background-color: #222;
    width: 80%;
    max-width: 600px;
    max-height: 80vh; /* Limit height for scrolling */
    overflow-y: auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional shadow */
    color: #fff; /* Text color for better contrast */
}

.info-popup-content h1 {
    text-align: center;
    font-size: 1.2em;
    margin-top: 20px; 
    font-family: 'Averia Serif Libre', serif;
    font-weight: bold;
    letter-spacing: -0.7px;
    color: #6663ab; 
     
}

.info-popup-content h2 {
    text-align: center;
    font-size: 1em;
    margin-top: 15px; 
    font-family: 'Averia Serif Libre', serif;
    font-weight: bold;
    font-style: italic;
    letter-spacing: -0.7px;
    color: #555; 
     
}

.info-popup-content p {
    
    font-family: 'Averia Serif Libre', serif;
    letter-spacing: -0.7px;     /* Example font size */
    color: #555;           /* Example color */
    line-height: 1;      /* Adjusts line spacing for readability */
    margin-bottom: 15px;/* Space below each paragraph */
}

.overview-info-popup {
    font-size: 1em;  
    text-align: center;
    
}

.credits-info-popup {
    font-size: 0.9em;
    font-style: italic;
    text-align: right;
    margin-top: 20px;
}


.close-info-popup {
    width: 30px;
    height: 30px;
    transform: translateY(-15px);
    font-size: 24px;
    background-color: #333;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    align-self: center;
    z-index: 1001; 
    /* Ensure it’s above other content within the popup */
}
/*
.close-popup {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #444;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    font-size: 16px;
}

*/

.close-popup {
    position: fixed; /* Fixes the button at the bottom of the pop-up */
    bottom: 20px; /* Distance from the bottom of the pop-up */
    left: 50%;
    transform: translateX(-50%);
    width: 40px; /* Width and height for the circle */
    height: 40px;
    font-size: 24px;
    color: white;
    background-color: #333; /* Background color for the button */
    border-radius: 50%; /* Makes it a circle */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    outline: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional shadow */
}



.popup-content h1 {
    font-size: 1em;
    margin-top: 50px; 
    font-family: 'Averia Serif Libre', serif;
    font-weight: bold;
    letter-spacing: -0.7px;
    color: #6663ab; 
    border-bottom: 1px dashed #6663ab;
    /* Adjusts spacing below each h1 */
}

.popup-content h2 {
    font-size: 1em;
    margin-top: 50px; 
    font-family: 'Averia Serif Libre', serif;
    font-weight: bold;
    letter-spacing: -0.7px;
    color: #6663ab; 
    
    /* Adjusts spacing below each h1 */
}
/* Targeting p elements inside .popup-content */
.popup-content p {
    font-size: 0.8em;  
    font-family: 'Averia Serif Libre', serif;
    letter-spacing: -0.7px;     /* Example font size */
    color: #555;           /* Example color */
    line-height: 1;      /* Adjusts line spacing for readability */
    margin-bottom: 15px;   /* Space below each paragraph */
}

.popup-content a {
    color: #6663ab; /* Choose a color that matches your design */
    text-decoration: none; /* Remove the underline */
    font-weight: bold; /* Optional: make the link text bold */
}


/* Card display styling */
.card-display {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.card-image {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
}

/* Style the card image and buttons */
.card-display {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.like-button, .info-button {
    cursor: pointer;
    width: 30px; /* Adjust size as needed */
    height: 30px;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 15px;
}



