@font-face {
    font-family: 'Ubuntu';
    src: url('fonts/Ubuntu/Ubuntu.ttf') format('ttf');
}

.background1 {
    font-family: Arial, sans-serif;
    background: url('background.png') no-repeat center center fixed; 
    background-color: #224c52;
    -webkit-background-size: cover;  /* for Webkit browsers */
    -moz-background-size: cover;     /* for Mozilla browsers */
    -o-background-size: cover;       /* for Opera browsers */
    background-size: cover;          /* standard */
    padding: 20px 10%;
}

body {
    font-family: Arial, sans-serif;
    background: url('background (just sand).png') no-repeat center center fixed; 
    background-color: #224c52;
    -webkit-background-size: cover;  /* for Webkit browsers */
    -moz-background-size: cover;     /* for Mozilla browsers */
    -o-background-size: cover;       /* for Opera browsers */
    background-size: cover;          /* standard */
    padding: 20px 10%;
}

.navbar {
    background: linear-gradient(to bottom, #0a2933 0%, #082028 100%);
    margin: 20px 0;
    border: 2px solid #dd7f00;
    border-radius: 5px;
    display: inline-block;
    padding: 5px 10px;
}

.dropdown {
    float: left;
    margin-right: 10px;
}

.dropdown .dropbtn {
    padding: 14px 16px;
    border: none;
    background-color: inherit;
    font-family: inherit;
    color: #dd7f00;
    margin: 0;
}

.navbar a:hover,
.dropdown:hover .dropbtn {
    background-color: #082028;
    color: #ff5500;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #0a2933;
    min-width: 160px;
    z-index: 1;
    clear: left;
}

.dropdown-content a {
    color: #dd7f00;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #082028;
    color: #ff5500;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.header h1,
.intro {
    font-family: 'Ubuntu', fallbackFont, sans-serif;
    font-weight: 300;
    color: #FFFFFF;
    opacity: 0.5;
}

h1 {
    font-family: 'Arial', fallbackFont, sans-serif;
    font-weight: 300;
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 30px;
    color: #FFFFFF;
    opacity: 0.5;
}

h2 {
    font-family: 'Arial', fallbackFont, sans-serif;
    font-weight: 300;
    margin-top: 40px;
    font-size: 18px;
    color: #FFFFFF;
    opacity: 0.5;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.app-content {
    flex: 1;
    margin: 0 10px 20px; /* Added horizontal margins and moved the vertical margin from .app-link */
}

.app-link {
    display: block;
    margin-bottom: 20px;
    background-color: #0a2933;
    color: #dd7f00;
    padding: 15px;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    border: 2px solid #dd7f00;
}

.app-link:hover {
    background-color: #082028;
    border-color: #ff5500;
    color: #ff5500;
}

.header {
    display: flex;
    align-items: center;
}

.header img {
    margin-right: 15px;
}

.github-link {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    margin-top: 10px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.8em;
    transition: background-color 0.3s ease;
}

.github-link:hover {
    background-color: #555;
}

.app-link > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown a.dropbtn {
    display: inline-block;
    text-decoration: none;
}

.dropdown a.dropbtn {
    display: inline-block;
    text-decoration: none;
}

.dropbtn::after {
    content: " \25BA"; /* Right Arrow */
    font-size: 10px;
}

.dropdown:hover > .dropbtn::after {
    content: " \25BC"; /* Down Arrow */
    font-size: 10px;
}

.nav-button {
    padding: 14px 16px;
    border: none;
    background-color: inherit;
    font-family: inherit;
    color: #dd7f00;
    margin: 0;
    float: left; /* To align it with the dropdown buttons */
    margin-right: 10px; /* Space between the buttons */
    text-decoration: none; /* Remove underline */
    cursor: pointer; /* To make it appear clickable */
    background: none; /* Remove default button background */
    outline: none; /* Remove focus outline */
}

.navbar a:hover,
.nav-button:hover {
    background-color: #082028;
    color: #ff5500;
}

.external-link::after {
    content: " \2197"; /* This is a Unicode character for a diagonal arrow pointing top-right. */
    font-size: 12px;
    margin-left: 5px; /* Add a small space between the link text and the symbol */
}

.email-link::after {
    content: " \2709"; /* Envelope */
    font-size: 16px;
}

.gallery {
    display: block; /* This will stack boxes vertically */
}

.day-box {
    border: 2px solid #333; /* Border around each box */
    padding: 15px;
    margin-bottom: 20px; /* Spacing between boxes */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); /* Optional shadow effect */
    overflow-x: auto; /* Horizontal scrollbar if images overflow */
    white-space: nowrap; /* Prevents images from wrapping to the next line */
}

.day-box h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.day-box img {
    display: inline-block;
    margin-right: 10px; /* Space between images. */
    vertical-align: middle; /* Aligns the images to the middle of their container */
}

.day-box h2 {
    font-family: 'Ubuntu', fallbackFont, sans-serif;
    font-weight: 300;
    color: #FFFFFF;
    opacity: 0.5;
    text-align: left; /* Aligns the text to the left */
    font-size: 24px;
    margin-bottom: 20px;
}

/* Style for the modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    position: relative;
    display: block;
    max-width: 100%;
    max-height: 85vh;
    cursor: zoom-in;
    transform-origin: top;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover, .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

img {
    cursor: zoom-in;
}

.zoom-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 85vh;
}

/* Styles for devices with a max-width of 768px (tablets and below) */
@media (max-width: 768px) {
    body {
        font-size: 18px;
    }

    .navbar {
        font-size: 18px;
    }

    .dropdown-content a {
        font-size: 18px;
    }

    .header h1,
    .intro {
        font-size: 32px;
    }

    .app-link {
        font-size: 18px;
    }

    .github-link {
        font-size: 16px;
    }

    .dropbtn::after,
    .dropdown:hover > .dropbtn::after,
    .external-link::after,
    .email-link::after {
        font-size: 18px;
    }
}

/* Styles for devices with a max-width of 480px (small smartphones) */
@media (max-width: 480px) {
    body {
        font-size: 20px;
    }

    .navbar {
        font-size: 20px;
    }

    .dropdown-content a {
        font-size: 20px;
    }

    .header h1,
    .intro {
        font-size: 36px;
    }

    .app-link {
        font-size: 20px;
    }

    .github-link {
        font-size: 18px;
    }

    .dropbtn::after,
    .dropdown:hover > .dropbtn::after,
    .external-link::after,
    .email-link::after {
        font-size: 20px;
    }
}

/* Work in Progress Styles */
.work-in-progress {
    position: relative;
    border-color: #997700; /* Change the border color to indicate work in progress */
    /* background-color: #fffbe6; /* Light background to highlight and differentiate */ */
    color: #665c00; /* A darker color for text for contrast */
}

.work-in-progress::after {
    content: "Work in Progress";
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
    background-color: #997700; /* Eye-catching color to grab attention */
    color: #ffffff; /* White text for contrast */
    font-size: 12px;
    font-weight: bold;
    border-bottom-left-radius: 8px; /* Rounded corner for the tag */
}

/* Adjustments for Work in Progress tag on smaller devices */
@media (max-width: 768px) {
    .work-in-progress::after {
        font-size: 10px;
        padding: 3px;
    }
}

@media (max-width: 480px) {
    .work-in-progress::after {
        font-size: 9px;
        padding: 2px;
    }
}

.attribution-footer {
    margin-top: 20px;
    padding: 10px;
    font-size: 0.8em;
    color: #666;
    text-align: center;
}

.attribution-footer a {
    color: #007acc;
    text-decoration: none;
}

.attribution-footer a:hover {
    text-decoration: underline;
}