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

body, html {
    height: 100%;
    font-family: 'Outfit', serif;
}

.bg {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: url('bg1.jpg');
    background-size: cover;
    background-position: center center;
    z-index: -1;
}

.name {
    position: absolute;
    left: 10%;
    top: 20%;
    font-size: 3.5em;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

nav ul li a:hover {
    text-decoration: underline;
}

.buttons {
    position: absolute;
    left: 10%;
    top: 30%;
    display: flex;
    flex-direction: column; /* Add this line to stack buttons vertically */
    gap: 10px;
    align-items: flex-start;
    font-family: 'Outfit', sans-serif;
}

.text-button {
    background: none;
    border: none;
    color: white;
    font-weight: bold;
    font-size: 1.62em;
    cursor: pointer;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-family: 'Outfit', sans-serif;
    padding-bottom: 0.5em; /* Add this line to create spacing below the text */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Add this line for a subtle bottom border */
}
}

.text-button:hover {
    text-decoration: underline;
}

.popup {
    display: none;
    position: absolute;
    right: 10%;
    top: calc(20%); 
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 5px;
    width: 40%; /* Change the width to desired percentage or pixel value */
    max-height: 66%; /* Set a max-height to make it scrollable */
    overflow-y: auto; /* Enable vertical scrolling when content overflows */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.3s ease-out;
}

.popup.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.popup p {
    font-size: 1.2em;
    color: #333;
}

.popup-grid {
    display: grid;
    grid-template-columns: 30% auto; /* Set the column widths */
    grid-template-areas:
        "image text"; /* Define the grid areas */
}

.popup-image {
    width: 40%;
    height: auto;
    margin-right: 20px;
}

.popup-content {

    padding-bottom: 1px; /* Add some padding to the bottom of the pop-up content */
    text-align: justify;
}

.popup-content p {
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
}

.popup-title {
    font-size: 2rem; /* Increase the font size */
    font-weight: bold;
    margin-bottom: calc(0.3em); /* Add 10% spacing below the title */
}

.popup-content a {
    color: gray;
    text-decoration: none;
}

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

.pdf-container {
    width: 80%;
    margin: 0 auto;
    padding: 30px 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: white;
    opacity: 0.8;
}

nav ul li a:hover {
    text-decoration: none;
    opacity: 1;
}

.arrow {
    position: fixed;
    top: 50%;
    right: 30px;
    font-size: 48px;
    font-weight: bold; /* Make the arrow bolder */
    color: rgba(255, 255, 255, 0.6); /* Set the arrow color to white with 50% transparency */
    cursor: pointer;
    z-index: 10;
    user-select: none;
    transform: scaleX(1.5); /* Make the arrow longer */
}

.arrow:hover {
    color: #FFF; /* Set the arrow color to fully opaque white when hovered */
}

@media (max-width: 768px) {
    .name {
        font-size: 2.5em;
    }

    .text-button {
        font-size: 1.2em;
    }

    .popup {
        width: 80%;
        top: 50%;
    }
}

/* Ensure default font size and add indentation */
ul.custom-list {
    font-size: 1.2em; /* Adjust the font size as needed */
    margin-left: 2em; /* Adjust the indentation as needed */
    list-style-type: disc; /* Optional: customize bullet style */
    color: #333;
    margin-bottom: 2em;
}

/* Optional: Customize list item styles */
ul.custom-list li {
    margin-bottom: 5px; /* Add space between list items if desired */
}

@media (max-width: 768px) {
    ul.custom-list {
        padding-left: 1.5em; /* Adjust padding for smaller screens */
    }
}
