@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;
}

.share-button i {
    margin-top: 5px;
}

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

.social-icons {
    text-align: center;
    margin: 20px auto;
}

.social-icon {
    font-size: 30px;
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

.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 {
    display: none;
    position: fixed;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #000;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    text-align: center;
    border-radius: 8px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

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

.modal-content a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
    display: inline-block;
    transition: none;
}

.modal-content a:active,
.modal-content a:visited,
.modal-content a:hover {
    color: white;
    text-decoration: underline;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


#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;
}
