*,
*::after,
*::before {
    padding: 0;
    margin: 0;
}

/* --------- Fonts ---------- */
@font-face {
    font-family: 'Sora';
    src: url('./fonts/Sora-SemiBold.woff2') format('woff2'),
        url('./fonts/Sora-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sora';
    src: url('./fonts/Sora-Regular.woff2') format('woff2'),
        url('./fonts/Sora-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sora';
    src: url('./fonts/Sora-Light.woff2') format('woff2'),
        url('./fonts/Sora-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sora';
    src: url('./fonts/Sora-Bold.woff2') format('woff2'),
        url('./fonts/Sora-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* --------- Aux ---------- */
.container {
    max-width: 40rem;
    margin: 0 auto;
}

/* --------- CSS ---------- */

body {
    font-family: "Sora";
    font-weight: 400;
    letter-spacing: 0.015rem;
}

nav {
    height: 250px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    transition-delay: 500ms;
    z-index: 3;
}

nav.scrolled {
    z-index: 3;
    height: 120px;
}

a {
    text-decoration: none;
}

.model-banner {
    position: absolute;
    width: 100%;
    transition: box-shadow 500ms ease-in-out;
}

nav.scrolled .model-banner {
    box-shadow: 0 7px 15px 2px rgba(0, 0, 0, 0.4);
}

.model-banner img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.model-data {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    bottom: -4rem;
}

nav.scrolled .model-data {
    bottom: -1.5rem;
}

.model-data .avatar-wrap img {
    border-radius: 20rem;
    max-width: 13.75rem;
    height: auto;
    display: block;
}

.model-data .info-wrap {
    padding-left: 1rem;
}

.model-data .info-wrap.share {
    margin-left: auto;
}

.model-data .info-wrap .name-wrap h1 {
    font-family: "Sora";
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.33rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

nav.scrolled .model-data .info-wrap .name-wrap h1 {
    margin-bottom: 0;
}

.model-data .info-wrap .name-wrap h2 {
    font-family: "Sora";
    font-size: 1.188rem;
    line-height: 1.22rem;
    font-weight: 400;
    color: #D0D0D0;
}

.model-data .info-wrap .share-wrap a,
.model-data .info-wrap .share-wrap a img {
    display: block;
}

main {
    padding-top: 19rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
}

main .bio-wrap {
    margin-bottom: 1rem;
}

main .bio-wrap p {
    text-align: center;
    font-family: "Sora";
    font-weight: 300;
}

main .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

main .gallery-grid .gallery-box {
    position: relative;
    overflow: hidden;
    border-radius: 0.625rem;
}

main .gallery-grid .gallery-box a .social-icon {
    position: absolute;
    z-index: 1;
    left: 1rem;
    top: 1rem;
}

main .gallery-grid .gallery-box a .gallery-img {
    width: 100%;
    height: auto;
    /*object-fit: cover;*/
    border-radius: 0.625rem;
    position: relative;
    z-index: 0;
    transition: scale 222ms ease-in-out;
}

main .gallery-grid .gallery-box a .gallery-placeholder {
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.45);
    padding: 1rem;
    width: calc(100% - 2rem);
    border-radius: 0 0 0.625rem 0.625rem;
    transition: padding-bottom 222ms ease-in-out,
                background-color 222ms ease-in-out;
}

main .gallery-grid .gallery-box a .gallery-placeholder p {
    color: #ffffff;
    font-size: 0.75rem;
}

main .gallery-grid .gallery-box a:hover .gallery-placeholder {
    padding-bottom: 1.5rem;
    background-color: rgba(0, 0, 0, 0.65);
}

main .social-links-title h3 {
    font-size: 1rem;
    line-height: 1.15rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Button OnlyFans 2 lines */
main .social-links .button-onlyfans {
    background-color: #00AFF0;
    border-radius: 0.625rem 0.75rem 0.75rem 0.625rem;
    margin-bottom: 1rem;
    transition: box-shadow 222ms ease-in-out,
                transform 222ms ease-in-out;
}

main .social-links .button-onlyfans a {
    display: grid;
    grid-template-columns: 75% 25%;
}

main .social-links .button-onlyfans a .button-text {
    padding: 1rem;
}

main .social-links .button-onlyfans a .button-text p {
    color: #ffffff;
    font-size: 0.875rem;
    line-height: 1rem;
}

main .social-links .button-onlyfans a .button-text p:first-of-type {
    margin-bottom: 1rem;
}

main .social-links .button-onlyfans a .button-text p:last-of-type {
    font-size: 0.75rem;
    font-weight: 300;
}

main .social-links .button-onlyfans a .button-logo-wrap {
    background-image: url("../images/svg/button_midbackground.svg");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    border-radius: 0 0.625rem 0.625rem 0;
    position: relative;
}

main .social-links .button-onlyfans a .button-logo-wrap img {
    width: 3.625rem;
    height: auto;
    margin-bottom: -0.25rem;
    margin-left: 2rem;
}

main .social-links .button-onlyfans:hover {
    box-shadow: 0px 5px 8px 0px rgba(0, 90, 122, 0.4);
    transform: translateY(-2px);
    cursor: pointer;
}

/* Button Image Banner */
main .social-links .button-banner {
    position: relative;
    margin-bottom: 1rem;
}

main .social-links .button-banner a {
    color: #ffffff;
    display: block;
}

main .social-links .button-banner a .social-icon {
    position: absolute;
    z-index: 1;
    right: 1rem;
    top: 1rem;
    width: 2.5rem;
    height: 2.5rem;
}

main .social-links .button-banner a .banner-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.625rem;
    position: relative;
    z-index: 0;
    transition: scale 222ms ease-in-out;
    min-height: 9.375rem;
}

main .social-links .button-banner a .banner-placeholder {
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.45);
    padding: 1rem;
    width: calc(100% - 2rem);
    border-radius: 0 0 0.625rem 0.625rem;
    transition: padding-bottom 222ms ease-in-out,
                background-color 222ms ease-in-out;
}

main .social-links .button-banner a .banner-placeholder p:first-of-type {
    font-size: 0.875rem;
    line-height: 0.9rem;
    margin-bottom: 0.15rem;
}

main .social-links .button-banner a .banner-placeholder p:last-of-type {
    font-size: 0.75rem;
    line-height: 0.8rem;
}

main .social-links .button-banner a:hover .banner-placeholder {
    padding-bottom: 1.5rem;
    background-color: rgba(0, 0, 0, 0.65);
}

main .social-links .button-grid-x4 {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

main .social-links .button-link a {
    font-family: 'Sora';
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.625rem;
    background-color: #F3F3F3;
    color: #00AFF0;
    display: flex;
    padding: 1rem;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between;
    transition: background-color 222ms ease-in-out,
                color 222ms ease-in-out;
}

main .social-links .button-link a span img {
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
}

main .social-links .button-link a:hover {
    color: #ffffff;
    background-color: #00AFF0;
}

footer p {
    padding-bottom: 4.375rem;
    padding-top: 2.375rem;
    padding-right: 1rem;
    padding-left: 1rem;
    font-size: 0.75rem;
    text-align: center;
    color: #D4D4D4;
}

/* Modal */
#modal {
    font-family: "Sora";
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 3;
}

#modal-content {
    background: white;
    padding: 20px;
    border-radius: 0.625rem;
    text-align: center;
    max-width: 400px;
    width: 80%;
}

#modal-content p {
    margin: 20px 0;
}

#modal-content button {
    font-family: "Sora";
    font-weight: 500;
    margin: 10px;
    background-color: transparent;
    padding: 1rem;
    border: 1px solid #00AFF0;
    color: #00AFF0;
    border-radius: 0.625rem;
}

#modal-content button:hover {
    cursor: pointer;
}

#modal-content #confirmButton {
    background-color: #00AFF0;
    color: #ffffff;
}

#modal-content #cancelButton {
    border-color: #afc4cb;
    color: #afc4cb;
}

/* Responsive */
@media screen and (max-width: 767px) {
    .model-data {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

@media screen and (max-width: 600px) {
    main {
        padding-top: 12.5rem;
    }

    .model-data {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    nav, 
    .model-banner img {
        max-height: 170px;
    }

    .model-data .avatar-wrap img {
        max-height: 7.625rem;
    }

    .model-data .info-wrap .name-wrap h1 {
        font-size: 1.063rem
    }

    .model-data .info-wrap .name-wrap h2 {
        font-size: 0.938rem;
    }

    main .social-links .button-grid-x4 {
        grid-template-columns: 100%;
    }

    main .bio-wrap p {
        font-size: 0.75rem;
    }

    main .gallery-grid .gallery-box a .gallery-placeholder {
        padding: 0.938rem 0.75rem;
        width: calc(100% - 1.5rem);
    }

    main .gallery-grid .gallery-box a .gallery-placeholder p {
        font-size: 0.688rem;
    }
}

@media screen and (max-width: 500px) {
    main .social-links .button-onlyfans a {
        grid-template-columns: 70% 30%;
    }
}

@media screen and (max-width: 450px) {
    main .social-links .button-onlyfans a {
        grid-template-columns: 70% 30%;
    }

    main .social-links .button-onlyfans a .button-text {
        padding-right: 0;
    }

    main .social-links .button-onlyfans a .button-text p {
        font-size: 0.725rem;
    }
}

/* ----------  extra tags ---------- */
.status-location {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.25rem;
  align-items: flex-start;
}

.online,
.location {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  line-height: 1rem;
  margin: 0;
  gap: 0.4rem;
}

.online {
  color: #6fef9e;
}

.location {
  color: #ffffff;
  position: relative;
  left: -0.1rem;
}

nav.scrolled .location {
    left: -0.15rem;
}

.dot,
.loc-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  margin-right: 4px;
}

.dot {
  background: #29e53f;
  border-radius: 50%;
}

.loc-icon {
  width: 14px;
  height: 14px;
  fill: #ffffff;
  margin-right: 0.15rem;
}

/* extra css for new tags */
@media screen and (max-width: 450px) {
    .model-data {
        bottom: -5.225rem;
    }

    .model-data .avatar-wrap img {
        max-height: 6rem;
    }

    .online,
    .location {
        font-size: 0.75rem!important;
        line-height: 0.8rem;
        max-width: 12rem;
    }
}

@media screen and (max-width: 389px) {
    .model-data {
        bottom: -5.85rem;
    }

    .model-data .avatar-wrap img {
        max-height: 5rem;
    }

    .model-data .info-wrap .name-wrap h1 {
        font-size: 1.05rem;
        line-height: 1.10rem;
    }

    .online,
    .location {
        max-width: 9.25rem;
    }

}