:root {
    --primary-bg: #fff;
    --yellow: #f3c77c;
    --black-bg: #000000;
    --white-bg: #ffffff;
    --overlay-color: rgba(0, 0, 0, 0.5);
}

@font-face {
    font-family: Adler;
    src: url(Adler.ttf);
}

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

html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: var(--black-bg);
    color: var(--primary-bg);
}

::-webkit-scrollbar {
    display: none;
}

h1{
    font-family: Adler;
}

#main {
    width: 100%;
    position: relative;
    background-color: var(--black-bg);
    overflow-x: hidden;
    min-height: 100%;
    font-family: Adler;
}

header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 8;
}

.hamburger {
    display: none;
    padding: 0;
}

.hamburger-box {
    width: 30px;
}

.hamburger-inner::before {
    display: none;
}

.hamburger-inner,
.hamburger-inner::after {
    background: var(--primary-bg) !important;
    border-radius: 0px !important;
    height: 2px;
    width: 30px;
    transition-duration: 0.3s !important;
    transition-timing-function: ease-in-out !important;
}

#menu {
    display: flex;
    flex-direction: row;
    gap: 5%;
    align-items: center;
    justify-content: right;
    list-style: none;
    width: 100%;
    padding-inline: 20px;
    margin-top: 1em;
    position: relative;
}

#menu li {
    position: relative;
}

#menu li a {
    display: flex;
    align-items: center;
    position: relative;
    font-size: 20px;
    font-weight: 400;
    text-decoration: none;
    color: var(--primary-bg);
    overflow: hidden;
}

#menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--white-bg);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.1s ease;
}

#menu li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.link-text {
    position: relative;
    z-index: 1;
}

.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

#menu li a:hover .hover-image {
    opacity: 1;
}

#responsive_menu {
    display: none;
    position: absolute;
    top: 100%;
    right: -100%;
    width: 100%;
    height: 100dvh;
    background: var(--black-bg);
    padding: 24px;
    z-index: 99;
}

#responsive_menu li {
    overflow-y: hidden;
    margin-block: 12px;
}

#responsive_menu .link {
    text-transform: uppercase;
    display: block;
    text-decoration: none;
    color: var(--primary-bg);
    font-size: clamp(20px, 12.5vw, 50px);
    font-family: "Open Sans", sans-serif;
}

@media screen and (max-width: 1024px) {
    #menu {
        display: none;
    }

    .hamburger {
        display: inline-block;
    }

    #responsive_menu {
        display: block;
    }
}

.hero_text_container {
    width: 100vw;
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "arial";
    color: var(--white-bg);
    z-index: 1;
}

ul.hero_text_title {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.hero_text_title li {
    font-size: 36vw;
    font-weight: 900;
    padding-inline: 2px;
    letter-spacing: -6px;
    color: var(--yellow);
    overflow-y: hidden;
}

@media screen and (max-width: 768px) {
    header {
        padding: 10px 12px;
    }

    #menu li a {
        font-size: 16px;
    }

    .hero_text_container {
        min-height: 50vh;
    }

    .hero_text_title li {
        font-size: 24vw;
    }
}

@media screen and (max-width: 480px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero_text_title li {
        font-size: 20vw;
    }
}

/* About Me Section */

.card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100vh;
    z-index: 2;
}

.image-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.receipt-image {
    width: 300px;
    transition: transform 0.3s ease;
    position: absolute;
    top: 0;
    left: 28em; /* Position slightly to the right from the center */
    z-index: 1;
    transform: rotate(10deg);
}

.photo-id-image {
    width: 500px;
    margin-left: -1em;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 0;
    border-radius: 20px;
}

.keys {
    width: 250px; /* Increase the size of the keys image */
    transition: transform 0.3s ease;
    position: absolute;
    top: 90px; /* Adjust positioning if needed */
    margin-top: 10em;
    left: 15em; /* Adjust this to align it horizontally */
    z-index: 4;
    transform: rotate(-5deg); /* Optional: maintain rotation for style */
}

.keys:hover {
    transform: scale(1.2) rotate(-5deg); /* Scale up on hover */
}


.buscard {
    width: 390px; 
    transition: transform 0.3s ease;
    position: absolute;
    top: 113px; /* Adjust positioning if needed */
    margin-top: 12em;
    left: -10em; /* Adjust this to align it horizontally */
    z-index: -1;
    transform: rotate(-8deg); /* Optional: maintain rotation for style */
}

.buscard:hover {
    transform: scale(1.1) rotate(-7deg); /* Scale up on hover */
}

.gum {
    width: 39em; 
    transition: transform 0.3s ease;
    position: absolute;
    top: 220px; /* Adjust positioning if needed */
    margin-top: 10em;
    left: -4em; /* Adjust this to align it horizontally */
    z-index: -1;
    transform: rotate(-30deg); /* Optional: maintain rotation for style */
}

.gum:hover {
    transform: scale(1.2) rotate(-30deg); /* Scale up on hover */
}

/* Apply hover effects individually */
.receipt-image:hover {
    transform: scale(1.2) rotate(10deg); /* Scale up and maintain rotation */
}

.photo-id-image:hover {
    transform: scale(1.2); /* Scale up without rotation */
}

/* Fade In Animation */
.fade-in {
    opacity: 0; /* Start hidden */
    transition: opacity 2s ease-in; /* Default duration */
}

.fade-in.active {
    opacity: 1; /* Make fully visible */
}

/* Additional classes for varying durations */
.fade-in:nth-child(3).active {
    transition-duration: 2s; /* Specific duration for 3rd image */
}

.fade-in:nth-child(4).active {
    transition-duration: 2s; /* Specific duration for 4th image */
}

.fade-in:nth-child(5).active {
    transition-duration: 1s; /* Specific duration for 5th image */
}

/* Contact Me */
.contactme {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-size: cover; /* Ensure background image covers the container */
    position: relative;
    line-height: 1.5em;
    color: white;
    margin-top: -20em;
    z-index: 1; /* Lower positive value */
}

.contactme div {
    position: relative;
    z-index: -1; /* Ensure content is above the background */
}

.cdetails{
    margin-top: -10em;
    bottom: -10em;
}

.centered-content {
    text-align: center; /* Center text horizontally */
    font-family: Adler; /* Example font */
    color: var(--primary-bg); /* Example text color */
}

.bold-white {
    font-weight: bold;
    color: var(--white-bg); /* Ensure text color is white */
}



/* Italic text */
.italic-text {
    font-style: italic;
}

/* Footer Styles */
footer {
    background-color: var(--black-bg);
    color: var(--primary-bg);
    padding: 1em 0; /* Reduce padding if needed */
    z-index: 10;
    font-family: LiberationSans, sans-serif;
    margin-top: -6em; /* Remove or reduce margin-top */
    
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 5;

}
/* Footer */

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 0 1em;
}

.footer-section h2 {
    border-bottom: 2px solid var(--white-bg);
    padding-bottom: 0.5em;
    margin-bottom: 1em;
    font-family: Adler, serif;
    color: var(--primary-bg); /* Ensure the heading is also white */
}

.social-links {
    list-style: none;
    display: flex;
    gap: 1em;
    padding: 0;
    margin: 0;
}

.social-links li {
    display: inline;
    margin-left: 2em;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon:hover box-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.social-icon img:hover {
    opacity: 0.8;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    font-family: Adler;
    margin-left: 2em;
    line-height: 1.4em;
}

.footer-nav a {
    color: var(--primary-bg); /* Ensure all links are white */
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition for color and transform */
}

.footer-nav a:hover {
    color: var(--yellow); /* Change color on hover */
    transform: translateY(-2px); /* Slight move up on hover */
}

.footer-bottom {
    text-align: center;
    padding: 1em 0;
    background-color: var(--black-bg);
    color: var(--primary-bg); /* Ensure the bottom text is also white */
    border-top: 1px solid var(--white-bg);
    font-size: 0.9em;
    margin-top: 1em;
    margin-bottom: -8em;
}

.footer-bottom p {
    font-family: Adler;
    font-size: .50em;
}