/* Logo animation CSS */

/* Add styles for the image container */
.logo-container {
    position: relative;
    width: 300px;
    /* Adjust the width as needed */
    height: 200px;
    /* Adjust the height as needed */
    overflow: hidden;
}

.icon-container {
    position: relative;
    overflow: hidden;
    display: inline-block;
    background: transparent;
}


/* Add styles for the image */
.pulse-image {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    /* Add a smooth transition for the scaling effect */
}

/* Pulse animation class */
.pulse-animation {
    animation: pulseAnimation 1s ease-out 4;
}

/* Pulse animation on hover */
.logo-container:hover {
    animation: pulseAnimation 1s infinite;
}


.icon-container:hover .pulse-image {
    animation: pulseAnimation 1s infinite;
}

/* Define the pulse animation */
@keyframes pulseAnimation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}


/* text animation */
.color-changing-text {
    color: #f9c850;
    /* Initial color */
    transition: color 1s ease-in-out, transform 1s ease-in-out;
    /* Add transitions for color and scaling */
}

/* Color-changing and pulse animation on hover */
.color-changing-text:hover {
    animation: pulseColor 1s infinite;
}

/* Define the pulse animation */
@keyframes pulseColor {
    0% {
        color: #94e5e8;
    }

    50% {
        color: #f9c850;
    }

    100% {
        color: #94e5e8;
    }
}


.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    cursor: pointer;
}




/* user drop-down-menu */
.user-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

#messager-dropdown.user-dropdown-content {
    min-width: 500px !important;
    width: 500px !important;
    right: -200px;
    padding: 10px;
    min-height: 200px;
    height: 600px;
}


@media (max-width: 764px) {
    #messager-dropdown.user-dropdown-content {
        min-width: 100px !important;
        width: 100% !important;
    }
}

#messager-dropdown.user-dropdown-content a:not(.link) {
    padding: 5px 10px;
    display: inline-block;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    border-radius: 50%;
}

.user-dropdown-content a:not(.link) {
    padding: 12px 18px;
    display: block;
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

.user-dropdown-content a:not(.link):hover {
    background-color: #ddd;
}


.header-background, .main-background {
    position: relative;
    width: 100vh;

}

.header-background::before {
    content: "";
    background: url('../images/header-background.jpg') center center / cover no-repeat;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.21;

}

/* Adjust the background for smaller screens */
@media (max-width: 1200px) {
    .header-background::before {
        background-size: cover;
        background-position: center;
    }
}

@media (max-width: 768px) {
    .header-background::before {
        background-size: cover;
        background-position: center;
    }
}

@media (max-width: 480px) {
    .header-background::before {
        background-size: cover;
        background-position: center;
    }
}

.main-background::before {
    content: "";
    background: url('../images/main-background.jpg') center center / cover no-repeat;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.3;

}


/* spin animation when waiting for action */

.loading-container {
    text-align: center;
    position: absolute;
    display: none;
    z-index: 99;
    margin: auto;
    width: 100%;
    height: 100%;
    transform: translate(50%, -100%);
}

.loading {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#errs {
    display: none;
}

.form-check-input {
    height: 18px;
    width: 18px;
}

.transparent-background {
    background: rgba(255, 255, 255, 0) !important;
}


.search-header {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.divider {
    border-top: 1px solid #dddfe2;
    margin: 15px 0;
}

.search-results {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}




.newsletter-section {
    background-color: #53c5cf;
    /* Change this to your desired background color */
    color: #fff;
    /* Change this to your desired text color */
    padding: 10px;
    text-align: center;
    margin: auto;
    width: 100% !important;
}

/* Styling for the input and button */
.newsletter-input {
    padding: 10px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    width: 300px;
}

.newsletter-button {
    padding: 10px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background-color: #2c3e50;
    /* Change this to your desired button color */
    color: #fff;
    /* Change this to your desired button text color */
    cursor: pointer;
}

.link {
    cursor: pointer;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.liked {
    background-color: rgba(0, 153, 102, 0.1);
    border-radius: 5px;
    padding: 5px 10px;
    font-weight: bolder;
}

.male {
    border-color: #3498db !important;
}

.female {
    border-color: pink !important;
}

.no-gender {
    border-color: white !important;
}

.notification {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 0px;
    font-size: 17px;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

.notification.show {
    visibility: visible;
    opacity: 1;
}



.heart-animation {
    animation: pulse 1.5s ease-in-out 1 forwards;
}


@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}