@font-face {
    font-family: nunito;
    src: url("../fonts/Nunito.ttf") format("truetype");
}
@font-face {
    font-family: readex;
    src: url("../fonts/Readex Pro.ttf") format("truetype");
}



body {
    margin: 0;
}



#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 30;
    flex-direction: column;
}
#loader-container {
    display: flex;
}
#loader-icon {
    height: 50px;
    opacity: 0;
    animation: fadeInOut 1s infinite;
}
@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}
#loader-text {
    font: 300 21px readex;
    color: #212121;
    opacity: 0;
    animation: fadeInOut 1s infinite;
    margin: 0;
    margin-top: 10px;
}



#navbar {
    width: 100%;
    position: fixed;
    z-index: 20;
    background-color: transparent;
    box-shadow: none;
    transition: background-color 0.3s, box-shadow 0.3s;
}
#navbar.scrolled {
    background-color: white;
    box-shadow: #00000033 0 2px 4px -1px, #00000024 0 4px 5px 0, #0000001f 0 1px 10px 0;
}
#navbar-container {
    display: flex;
    padding: 5px 0;
    max-width: 1300px;
    margin: 0 auto;
    justify-content: space-between;
    position: relative;
    flex-wrap: wrap;
}
#navbar-brand {
    display: flex;
    align-items: center;
    margin-left: 10px;
}
#navbar-logo {
    display: flex;
    height: 50px;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
#navbar-actions {
    display: flex;
    align-items: center;
    font: 300 15px readex;
}
#navbar-login {
    text-decoration: none;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid white;
    line-height: 40px;
    text-align: center;
    width: 175px;
    margin-right: 10px;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
#navbar-login:hover {
    background-color: #27d696;
    color: white;
    border-color: #27d696;
}
#navbar.scrolled #navbar-login {
    color: #212121;
    border-color: #212121;
}
#navbar.scrolled #navbar-login:hover {
    background-color: #27d696;
    color: white;
    border-color: #27d696;
}
@media only screen and (max-width: 257px) {
    #navbar-container {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    #navbar-brand {
        margin: 0;
    }
    #navbar-actions {
        width: 100%;
        justify-content: center;
    }
    #navbar-login {
        margin: 0;
    }
}



#hero {
    display: flex;
    height: 100vh;
    justify-content: center;
    background-color: #55b3cf;
    background-image: url("../images/background.webp");
    background-position: center;
    background-size: cover;
}
#hero-container {
    display: flex;
    width: 100%;
    max-width: 1300px;
    justify-content: space-between;
    align-items: center;
}
#hero-intro {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    font: 900 50px readex;
}
#hero-intro-title-static {
    margin:0;
    color: white;
}
#hero-intro-title-animated {
    color: white;
    position: relative;
    margin:0;
    animation-duration: 2s;
}
#hero-intro-title-animated.animate {
    animation-name: flyInOut;
}
@keyframes flyInOut {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}
#hero-register-card {
    display: flex;
    width: 355px;
    height: 284px;
    margin-right: 10px;
    border-radius: 10px;
    background-color: white;
    flex-shrink: 0;
    justify-content: center;
    box-shadow: #00000033 0 2px 4px -1px, #00000024 0 4px 5px 0, #0000001f 0 1px 10px 0;
    text-align: center;
}
#hero-register-content {
    display: flex;
    flex-direction: column;
    width: 300px;
}
#hero-register-title {
    display: flex;
    margin: 0;
    margin-top: 20px;
    font: 24px nunito;
    justify-content: center;
    color: #212121;
}
#hero-register-text {
    font: 16px nunito;
    margin:0;
    display: flex;
    justify-content: center;
    color: #212121;
    margin-top: 14px;
}
#hero-register-email {
    text-decoration: none;
    color: white;
    border-radius: 10px;
    font: 16px nunito;
    cursor: pointer;
    background-color: #27d696;
    border: solid 1px #27d696;
    line-height: 40px;
    text-align: center;
    margin-top: 21px;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
#hero-register-email:hover {
    background-color: transparent;
    color: #27d696;
}
.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
}
.separator .line {
    flex-grow: 1;
    border: none;
    height: 1px;
    background-color: #caced1;
}
.separator span {
    font: 16px nunito;
    color: #212121;
    white-space: nowrap;
    margin: 0 10px;
}
#hero-register-social {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 29px;
}
#hero-register-icons {
    display: flex;
    padding: 10px 26px;
    height: 20px;
    width: 20px;
    border-radius: 10px;
    cursor: pointer;
    border: solid 1px #caced1;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    pointer-events: none;
}
@media only screen and (max-width: 685px) {
    #hero-container {
        flex-direction: column;
        justify-content: flex-end;
        margin-bottom: 130px;
        gap: 11px;
    }
    #hero-intro {
        margin: 0;
        text-align: center;
        font-size: 35px;
        word-break: break-word;
    }
    #hero-register-card {
        margin: 0;
    }
}
@media only screen and (max-width: 354px) {
    #hero-register-card {
        width: 100%;
        word-break: break-word;
    }
}
@media only screen and (max-width: 192px) {
    #hero-register-card {
        height: fit-content;
    }
    #hero-register-content {
        width: 100%;
    }
    .line {
        display: none;
    }
    .separator span {
        white-space: wrap;
    }
    #hero-register-social {
        flex-direction: column;
        align-items: center;
        gap: 27px;
        margin-bottom: 27px;
    }
}
@media only screen and (max-width: 96px) {
    #hero-container {
        margin-bottom: 0;
    }
}



#info {
    display: flex;
    justify-content: center;
    height: 100%;
    background-color: white;
}
#info-container {
    display: flex;
    width: 100%;
    margin-left: 10px;
    margin-right: 10px;
    max-width: 1300px;
    margin-top: 78px;
    margin-bottom: 70px;
    gap: 26px;
    justify-content: center;
}
#info-item {
    color: #212121;
    display: flex;
    gap: 26px;
    width: 500px;
}
#info-icon {
    display: flex;
    height: 50px;
    padding: 10px;
    border-bottom: 1px solid #caced1;
    border-left: 1px solid #caced1;
    border-right: 1px solid #caced1;
    border-radius: 100%;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    pointer-events: none;
}
#info-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
#info-header {
    font: 14px readex;
    margin:0;
    display: flex;
}
#info-title {
    font: 16px readex;
    margin: 0;
    display: flex;
}
#info-subtext {
    font: 300 14px readex;
    margin: 0;
    line-height: 24px;
}
@media only screen and (max-width: 1059px) {
    #info-container {
        gap: 47px;
        margin-top: 54px;
        margin-bottom: 47px;
    }
    #info-container, #info-item, #info-header, #info-title, #info-subtext {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    #info-item {
        gap: 23px;
        max-width: 350px;
        width: 100%;
        word-break: break-word;
    }
    #info-content {
        gap: 19px;
    }
}



hr {
    border: 0;
    border-top: 1px solid #caced1;
    max-width: 1300px;
    width: 100%;
    display: flex;
    margin: 0px auto;
}



#stats {
    display: flex;
    justify-content: center;
    background-color: white;
    height: 100%;
}
#stats-container {
    display: flex;
    width: 100%;
    margin-left: 10px;
    margin-right: 10px;
    max-width: 1300px;
    margin-top: 78px;
    margin-bottom: 74px;
    gap: 20px;
}
#stats-item {
    width: 25%;
    display: flex;
    flex-direction: column;
}
#stats-header {
    display: flex;
    flex-direction: column;
    height: 124px;
    gap: 10px;
}
#stats-title {
    display: flex;
    font: 900 45px readex;
    color: #55b3cf;
    margin: 0;
    justify-content: center;
    text-align: center;
}
#stats-text {
    display: flex;
    font: 22px readex;
    color: #55b3cf;
    margin: 0;
    justify-content: center;
    text-align: center;
}
#stats-subtext {
    font: 300 12px readex;
    color: #212121;
    margin: 0;
    text-align: center;
}
#stats-chart-content {
    display: flex;
    justify-content: space-between;
    height: 124px;
}
#stats-gender {
    width:80px;
    height: 100px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}
#stats-female-percentage {
    margin: 0;
    font: 28px readex;
    color: #d20a2e;
}
#stats-female {
    display: flex;
    justify-content: center;
    margin: 0;
    font: 16px readex;
    color: #d20a2e;
}
#stats-chart {
    height: 100px;
    pointer-events: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
#stats-male-percentage {
    margin: 0;
    font: 28px readex;
    color: #55b3cf;
}
#stats-male {
    margin: 0;
    font: 16px readex;
    display: flex;
    justify-content: center;
    color: #55b3cf;
}
@media only screen and (max-width: 1059px) {
    #stats-container {
       flex-direction: column;
       align-items: center;
       gap: 38px;
       margin-top: 41px;
       margin-bottom: 51px;
    }
    #stats-item {
        width: 100%;
        max-width: 350px;
        word-break: break-word;
        gap:18px;
    }
    #stats-container #stats-item:nth-child(3) {
        margin-top: 12px;
        gap: 24px;
    }
    #stats-header {
        gap: 10px;
        height: 100%;
    }
    #stats-chart-content {
        height: 100%;
    }
    #stats-gender {
        height: 100%;
    }
}
@media only screen and (max-width: 237px) {
    #stats-chart-content {
        flex-direction: column;
        align-items: center;
    }
    #stats-female-percentage {
        display: flex;
        justify-content: center;
    }
    #stats-male-percentage {
        display: flex;
        justify-content: center;
    }
    #stats-gender {
        width: 100%;
    }
    #stats-chart {
        width: 100%;
    }
}



#promise {
    display: flex;
    justify-content: center;
    background-color: #55b3cf;
    height: 100%;
}
#promise-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-left: 10px;
    margin-right: 10px;
    max-width: 1300px;
    margin-top: 77px;
    margin-bottom: 78px;
    align-items: center;
}
#promise-couple-icon {
    width: 100%;
    max-height: 300px;
    max-width: 450px;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    pointer-events: none;
}



#members {
    display: flex;
    justify-content: center;
    background-color: white;
    height: 100%;
}
#members-container {
    display: flex;
    width: 100%;
    margin-left: 10px;
    margin-right: 10px;
    max-width: 1300px;
    margin-top: 74px;
    margin-bottom: 78px;
    flex-direction: column;
    align-items: center;
}
#members-heart-icon {
    display: flex;
    height: 85px;
    animation: heartbeat 1s infinite;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    margin-bottom: 18px;
    pointer-events: none;
}
@keyframes heartbeat {
    0% {
        transform: scale(0.75);
    }
    20% {
        transform: scale(1);
    }
    40% {
        transform: scale(0.75);
    }
    60% {
        transform: scale(1);
    }
    80% {
        transform: scale(0.75);
    }
    100% {
        transform: scale(0.75);
    }
}
#members-title {
    font: 22px readex;
    color: #d20a2e;
    margin: 0;
    word-break: break-word;
    text-align: center;
}
#members-text {
    font: 300 12px readex;
    color: #212121;
    margin: 0;
    word-break: break-word;
    margin-bottom: 20px;
    text-align: center;
}
#members-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    max-width: 1200px;
    gap: 10px;
}
#member-item {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 34px;
    text-decoration: none;
    position: relative;
}
#member-item:hover {
    animation: wiggle 0.4s ease-in-out;
}
@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(2deg);
    }
    50% {
        transform: rotate(-2deg);
    }
    75% {
        transform: rotate(1deg);
    }
}
#member-online {
    position: absolute;
    top: -10px;
    left: -10px; 
    width: 20px;
    height: 20px;
    background-color: #27d696;
    border: 5px solid white;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
#member-image {
    width: 250px;
    height: 300px;
    object-fit: cover;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    z-index: 0;
    position: relative;
}
#member-info {
    display: flex;
    background-color: #d20a2e;
    flex-direction: column;
    align-items: center;
    padding: 5px 0;
    gap: 5px;
}
#member-bio {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}
#member-name {
    margin: 0px;
    color: white;
    font: 16px readex;
    display: flex;
    word-break: break-word;
    text-align: center;
}
#member-age {
    margin: 0px;
    color: white;
    font: 16px readex;
    display: flex;
    word-break: break-word;
    text-align: center;
}
#member-uploads {
    display: flex;
    gap: 5px;
    align-items: center;
}
#member-lens-icon {
    height: 20px;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    pointer-events: none;
}
#member-uploads-count {
    margin: 0px;
    color: white;
    display: flex;
    align-items: center;
    font: 300 16px readex;
}
@media only screen and (max-width: 269px) {
    #member-image {
        width: 100%;
    }
}
@media only screen and (max-width: 100px) {
    #members-heart-icon {
        width: 100%;
    }
}