* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: transparent;
    color: #333;
    border: 2px solid black;
}

header {
    position: fixed;
    width: 100%;
    background-color: darkturquoise;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #FFF;
}

nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: center;
    width: 100%;
}

nav ul li {
    margin: 0 0.5rem;
}

nav ul li a {
    text-decoration: none;
    color: #FFF;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-family: 'inknut', cursive;
    padding: 0.5rem;
    border: 1px solid black;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #FFD700;
}

.section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    color: #FFF;
    margin: 1rem 0;
    overflow: hidden;
    filter: drop-shadow(10px 10px 5px darkturquoise);
}

.background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 3rem;
    border: 3px solid black;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

#one .background-image { background-image: url('folder-img/leo6.jpg'); }
#second .background-image { background-image: url('folder-img/leo3.jpg'); }
#three .background-image { background-image: url('folder-img/zaz40.jpg'); }
#fourth .background-image { background-image: url('folder-img/leo5.jpg'); }
#fifth .background-image { background-image: url('folder-img/leon2.jpg'); }
#contact .background-image { background-image: url('folder-img/zx59.jpg'); }

.content {
    position: absolute;
    top: 170px;
    right: 50px;
    z-index: 2;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 30px;
    width: 20rem;
    max-width: 90%;
}

.content h1 {
    font-family: 'Acme', sans-serif;
    font-weight: bold;
    font-size: 3rem;

    text-transform: uppercase;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px white;
    animation: text-background 5s linear infinite;
    text-shadow: 0 0 4px #FF4000, 0 0 15px #ff6c00;
}

@keyframes text-background {
    33% { transform: rotate(1deg); translate: 0; }
    66% { transform: rotate(-1deg); translate: 5%; }
    100% { transform: rotate(1deg); translate: -5%; }
}

.content h3 {
    color: white;
    font-size: 1rem;
    letter-spacing: 0.1rem;
    border: 2px solid white;
    backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    padding: 0.5rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.content h3:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.content a {
    text-decoration: none;
}

.button {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 4px solid white;
    border-radius: 50%;
    width: 10rem;
    height: 10rem;
    margin: 0 auto 0.5rem;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.circle span {
    font-size: 35px;
    text-transform: uppercase;
    font-family: Audiowide;
    font-weight: 600;
     -webkit-background-clip: text;
    -webkit-text-fill-color: red;
    -webkit-text-stroke: 0.5px white;
    text-align: center;
    white-space: nowrap;
    z-index: 3;
    cursor: pointer;
}

.bg {
    position: absolute;
    background: white;
    opacity: 0.3;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    will-change: transform;
    z-index: 1;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #FA8072;
    color: #FFF;
    border: 2px solid white;
    border-radius: 50%;
    width: 4.5rem;
    height: 4.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1002;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background-color: #FF4500;
    transform: scale(1.1);
}

.back-to-top i {
    font-size: 2.5rem;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #FA8072;
    z-index: 1000;
}

footer .socials a {
    color: #FFF;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

footer .socials a:hover {
    color: #FFD700;
}

.oman-section {
    padding: 2rem;
    background-color: #FA8072;
    color: #FFF;
    text-align: center;
}

.oman-section video {
    width: 25rem;
    border-radius: 1rem;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.7);
}

h2 {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    margin-top: 1rem;
}

p {
    font-family: 'IBM Plex Mono', monospace;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Media Queries */
@media (max-width: 1200px) {
    .section { height: 80vh; }
    .content { width: 18rem; top: 0.75rem; right: 0.75rem; padding: 0.5rem; }
    .content h1 { font-size: 2.5rem; }
    .background-image { border-radius: 2rem; border: 2px solid black; }
    .button { width: 8rem; height: 8rem; }
    .circle span { font-size: 1rem; }
    .back-to-top { width: 4rem; height: 4rem; }
    .back-to-top i { font-size: 2rem; }
}

@media (max-width: 991px) {
    header { padding: 0.5rem; }
    nav ul li { margin: 0 0.3rem; }
    nav ul li a { font-size: 1.25rem; padding: 0.3rem; }
    .section { height: 70vh; padding: 0.5rem; }
    .content { width: 15rem; top: 0.5rem; right: 0.5rem; }
    .content h1 { font-size: 2rem; }
    .content h3 { font-size: 0.875rem; margin-bottom: 1rem; }
    .background-image { background-size: cover; }
    .button { width: 7rem; height: 7rem; }
    .circle span { font-size: 0.875rem; }
    .back-to-top { width: 3.5rem; height: 3.5rem; }
    .back-to-top i { font-size: 1.75rem; }
}

@media (max-width: 767px) {
    .menu-icon { display: block; }
    nav ul {
        flex-direction: column;
        display: none;
        width: 100%;
        height: 100vh;
        position: absolute;
        top: 2.5rem;
        left: 0;
        background-color: #FA8072;
        align-items: center;
    }
    nav ul.active { display: flex; }
    nav ul li { margin: 1rem 0; }
    nav ul li a { font-size: 1.25rem; }
    .section { height: 60vh; }
    .content { width: 12rem; top: 0.5rem; right: 0.5rem; }
    .content h1 { font-size: 1.75rem; }
    .content h3 { font-size: 0.75rem; }
    .background-image { background-size: cover; border-radius: 1.5rem; }
    .button { width: 6rem; height: 6rem; }
    .circle span { font-size: 0.75rem; }
    .back-to-top { width: 3rem; height: 3rem; }
    .back-to-top i { font-size: 1.5rem; }
}

@media (max-width: 576px) {
    .section { height: 50vh; }
    .content { width: 10rem; top: 0.3rem; right: 0.3rem; padding: 0.3rem; }
    .content h1 { font-size: 1.5rem; }
    .content h3 { font-size: 0.625rem; padding: 0.2rem; }
    .background-image { background-size: cover; }
    .button { width: 5rem; height: 5rem; }
    .circle span { font-size: 0.625rem; }
    .oman-section video { width: 18rem; }
}

@media (max-width: 480px) {
    header { padding: 0.3rem; background: transparent; }
    nav ul { top: 0; }
    nav ul li { margin: 0.75rem 0; }
    .section { height: 40vh; padding: 0.5rem; }
    .content { width: 8rem; top: 0.3rem; right: 0.3rem; }
    .content h1 { font-size: 1.25rem; }
    .content h3 { font-size: 0.5rem; }
    .background-image { background-size: cover; border: 1px solid black; }
    .button { width: 4rem; height: 4rem; border: 2px solid white; }
    .circle span { font-size: 0.5rem; }
}

@media (max-width: 400px) {
    .section { height: 35vh; }
    .content { width: 7rem; top: 0.2rem; right: 0.2rem; }
    .content h1 { font-size: 1rem; }
    .background-image { background-size: cover; }
    .back-to-top { width: 2.5rem; height: 2.5rem; }
    .back-to-top i { font-size: 1.25rem; }
}