/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    overflow-x: hidden;
}

/* Background Layers */
.back-layer {
    background-image: url('backgrounds/plain_white_green_marble_textures_hd_marble.jpg');
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.85;
}

/* Page Container */
.front-layer {
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    overflow: hidden;
}

/* Header */
header {
    background-color: #004d7a;
    color: #fff;
    padding: 10px 20px; /* Reduced padding */
    display: flex;
    justify-content: flex-start; /* Align elements to the left */
    align-items: center;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .logo {
    font-size: 1.8em;
    font-weight: bold;
    margin-left:20px; /* Push the nav to the right */
}

header nav {
    margin-left: 50px
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 5;
    padding: 5;
    margin-right: 5
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Responsive Header */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    header nav ul {
        flex-direction: column;
        align-items: center;
    }
}

/* Hero Section */
.hero-section {
    background-color: rgba(176, 224, 230, 0.8);
    color: black;
    text-align: center;
    padding: 120px 20px;
    margin-top: 80px;
    border-radius: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section h2 {
    font-size: 3.5em;
}

.hero-section p {
    font-size: 1.5em;
}

.cta-button {
    padding: 15px 30px;
    background-color: #0077b6;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    margin-top: 30px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #005f86;
}

/* Section Styles */
section {
    padding: 60px 20px;
    background-color: #ffffff;
    margin-top: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 20px auto;
    box-sizing: border-box;
}

h2 {
    text-align: center;
    padding-bottom: 20px;
    color: #333;
    font-size: 2.2em;
}

/* Skills Section */
#skills .skills-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

#skills .skill-item {
    background-color: #0077b6;
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

#skills .skill-item:hover {
    transform: scale(1.05);
}

/* Resume Section */
.resume-container {
    border: 2px solid #0077b6;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.resume-container embed {
    transition: none;
}

.resume-container:hover embed {
    transform: none;
}

/* Contact Section */
#contact {
    background-color: #0077b6;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

/* Footer */
footer {
    background-color: #004d7a;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: relative;
    width: 100%;
}
