body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
    text-align: center;
    background-color: #FFFDFA;
}

a {
    color: #007bff;
    text-decoration: none;
}

header {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background-color: #FFAD14;

}

header a {
    color: #000;
    text-decoration: none;
}

.logo {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.user-logo {
    position: fixed;
    height: auto;
    top: 5px;
    right: 5px;
    width: 50px;
    height: 50px;
}

.user-logo-image {
    width: inherit;
    height: inherit;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.search-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.5s ease-in-out; /* Handle transition with class */
    margin-top: 170px; /* Adjust spacing as needed */
}

.move-up {
    transform: translateY(-150px); /* Adjust as needed */
}

.search-bar {
    width: 300px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    
}

.checkboxes {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.checkboxes label {
    margin: 0 10px;
    font-size: 16px;
}

.suggestions {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    position: absolute;
    top: calc(100% + 5px); /* Position below the search bar */
    z-index: 1000;
    display: none; /* Hide suggestions by default */
}

.suggestions.active {
    display: block; /* Show suggestions when active */
}

.suggestions li {
    padding: 10px;
    cursor: pointer;
}

.suggestions li:hover {
    background-color: #f0f0f0;
}

.new-content {
    display: none; /* Hide by default */
    text-align: center;
    width: 90%
}

.new-content.active {
    display: block; /* Show when active */
}

.large-checkbox {
    transform: scale(1.2);
}

.event {
    padding: 10px;
    margin: 10px 0;
    border: 1px dashed #ccccccec;
    border-radius: 7px;
    background-color: #f9f9f970;
}

.ball-button {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    font-weight: bold;
}

.ball-button.left {
    left: 15px;
    bottom: 15px;
}

.ball-button.right {
    right: 15px;
    bottom: 15px;
}

/* Information box styles */
.button-box {
    position: fixed;
    width: 300px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 999;
    max-width:48%; 
    text-align: left;
}
.button-box a {
    color: #007bff;
    text-decoration: none;
    text-shadow: 2px 2px 5px #00000054;
}

#button-box-left {
    left:   0px;
    bottom: 80px;
    font-size: 20px;
}

#button-box-right {
    right: 40px;
    bottom: 80px;
}

.text-site {
    margin-top: 150px;
    border: 1px dashed #ccccccec;
    border-radius: 7px;
    background-color: #f9f9f970;
    width: 90%;
    padding-bottom:20px;
    text-align: left;
    
}
.text-site h2 {
    text-align: center;
}

.text-site-content {
    margin: 25px;
}

.profile-site {
    margin-top: 150px;
    border: 1px dashed #ccccccec;
    border-radius: 7px;
    background-color: #f9f9f970;
    width: 90%;
    padding-bottom:20px;
    text-align: center;
    
}
.profile-site h2 {
    text-align: center;
}

.profile-site .user-table{
    margin: 0 auto;
}

.profile-site .user-table td{
    text-align: left;
    padding: 4px;
    padding-bottom: 8px;
}

.profile-site-content {
   text-align: center;
}

.info-site {
    margin-top: 150px;
    border: 1px dashed #ccccccec;
    border-radius: 7px;
    background-color: #f9f9f970;
    width: 90%;
    padding-bottom:20px;
}

.info-back-button {
    width: 150px;
    height: 50px;
    line-height: 50px;
    border-radius: 15px;
    background-color: #007bff;
    margin-top:50px;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    color: #FFF;
    font-weight: bold;
    font-size: 25px;
    text-align: center;
}



/* Popup container */


.popup-container {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Popup content */
.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: popup 0.4s ease-in-out;
    position: relative; /* Ensure the popup content is properly positioned */
}

/* Keyframes for smooth popup animation */
@keyframes popup {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Close button */
.close-btn {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}