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

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Overpass', Arial, sans-serif;
    background: linear-gradient(to right, #ff69b4, #87cefa);
    color: white;
    overflow-x: hidden;
}

#menu-bar {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    padding: 5px;
    width: auto;
}

#header {
    max-width: 70%;
    margin: 0 auto;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 40px;
}

#profile-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: auto;
    display: block;
    position: relative;
    z-index: 2;
}

#name {
    color: white;
    margin: 30px 0;
    font-size: 50px;
    font-weight: bold;
    text-align: center;
}

#roles {
    font-size: 24px;
    color: white;
    font-weight: bold;
    text-align: center;
    margin: 20px auto;
}

.share-button {
    display: inline-block;
    width: 100px;
    height: 100px;
    margin: 10px;
    border-radius: 50%;
    background: none;
    color: white;
    font-size: 40px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
    opacity: 0.85;
    position: fixed;
    right: 0px;
    top: 2px;
    text-align: center;
    line-height: 100px;
}

.share-button i {
    display: inline-block;
    margin-top: -8px;
    line-height: 1;
}

.share-button:hover {
    opacity: 1;
}

.social-icons {
    text-align: center;
    margin: 20px auto 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.social-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: white;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    backdrop-filter: blur(2px);
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.95;
}

.social-icon i {
    width: 23px;
    height: 23px;
    font-size: 23px;
    line-height: 1;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
    opacity: 1;
}

.button-container {
    display: block;
    width: 94%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}


.button {
    background-color: rgba(255, 255, 255, 0.8);
    color: #87cefa;
    padding: 16px 20px;
    margin: 10px auto;
    text-decoration: none;
    border: 0px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    font-weight: bold;
    display: block;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s;
    text-align: center;
    opacity: 0.9;
	font-size: 16px;
}

.button:hover {
    background-color: #ff69b4;
    color: white;
    border-color: none;
}

.button:active {
    background-color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 900px) {
    .button-container {
        width: 94%;
    }

    #profile-image {
        width: 130px;
        height: 130px;
    }

    #menu-bar {
        width: 100%;
        max-width: 100%;
    }

    #header {
        width: 100%;
        max-width: 100%;
    }

    #name {
        font-size: 40px;
    }

    #roles {
        font-size: 20px;
    }
}


.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    padding: 20px;
}

.modal.is-open {
    display: flex;
}

.modal-content {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 28px 24px 22px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: linear-gradient(160deg, rgba(255, 105, 180, 0.95), rgba(135, 206, 250, 0.95));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    text-align: center;
    border-radius: 12px;
    position: relative;
}

.modal-content h2 {
    margin-bottom: 12px;
    font-size: 24px;
}

.modal-content p {
    margin-bottom: 20px;
    line-height: 1.45;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-button {
    width: 100%;
    margin: 0;
}

.modal-button-secondary {
    background-color: rgba(255, 255, 255, 0.55);
    color: #245580;
}

.modal-button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.75);
    color: #245580;
}

.close {
    color: rgba(255, 255, 255, 0.85);
    position: absolute;
    top: 8px;
    right: 14px;
    border: 0;
    background: transparent;
    line-height: 1;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: white;
    text-decoration: none;
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 96px;
    transform: translateX(-50%);
    display: none;
    width: min(94%, 760px);
    background-color: rgba(255, 255, 255, 0.92);
    color: #245580;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
    z-index: 25;
}

.cookie-banner.is-visible {
    display: block;
}

.cookie-banner-content p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.45;
    font-weight: bold;
}

.cookie-banner-content a {
    color: #245580;
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-button {
    margin: 0;
    flex: 1 1 220px;
}

.cookie-button-secondary {
    background-color: rgba(135, 206, 250, 0.25);
    color: #245580;
    border: 1px solid rgba(36, 85, 128, 0.2);
}

.cookie-button-secondary:hover {
    background-color: rgba(135, 206, 250, 0.4);
    color: #245580;
}

.no-scroll {
    overflow: hidden;
}

#footer {
    background-color: rgba(0,0,0,0.1);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    width: 94%;
    text-align: center;
}

.footer-content {
    max-width: 94%;
    margin: 0 auto;
    font-size: 14px;
    text-align: center;
}

.footer-content a {
    color: white;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .modal-content {
        padding: 24px 18px 18px;
    }

    .modal-content h2 {
        font-size: 20px;
    }

    .cookie-banner {
        bottom: 84px;
        padding: 16px;
    }

    .cookie-banner-actions {
        flex-direction: column;
    }

    .cookie-button {
        width: 100%;
        flex-basis: auto;
    }
}
