/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* ======= END OF RESET ======= */
/* A crude reset for a simple document */
html {
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
    padding: 0;
    margin: 0;
}





/*Typography*/
html {
    scroll-behavior: smooth;
}
header {
    background-color: #FAF1E6;
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
}
/*case study header*/
.case-study{
    width: 100%;
    height: 100%;
}

body{
    min-height: 100vh;
    font-family: "Nunito Sans",Arial, Helvetica, sans-serif;
    max-width: 2400px;
    margin: 0 auto;
}
main {
    padding: 50px 20px;
    background: #FAF1E6;
    color: #333;
}
h1,h2{
    font-family: "Orbitron", 'Times New Roman', Times, serif;
}
main h2 {
    font-size: 2rem;
}
main h2+h2{
    padding-top: 8rem;
}
main p {
    font-family:"Nunito Sans",Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    max-width: 800px;
}






/* Hero Section: GIF as Background */
.hero {
    position: relative;
    width: 100%;
    height: 100%; /* Full height of the header */
    text-align: center;
    z-index: 1;
}

/* Text Overlay */
.hero h1, .hero h2{
    font-family: "Orbitron", 'Times New Roman', Times, serif;
    position: absolute;
    color:#333;
    z-index: 2; /* Ensure text is on top of the GIF */
    width: 100%;
}
.hero h1 {
    font-size: 7rem;
    font-weight: 700;
    top: 30%;
}
.hero h2{
    font-family:"Nunito Sans",Arial, Helvetica, sans-serif;
    color: #e6b251;
    font-size: 2rem;
    font-weight: 800;
    font-weight: 500;
    top: 46%;
    padding: 10px;
}





/*navigation styling mobile first*/
nav{
    background-color:#FAF1E6
}
nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
nav li{
    height: 50px;
}
nav a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #333;
}

.sidebar{
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width:250px;
    z-index: 999;
    background-color: #faf1e6c2;
    backdrop-filter: blur(2px);
    box-shadow: -10px 0 10px #333;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.sidebar li{
    width: 100%;
    margin: 30px;
    
}
.sidebar a{
    font-family: "Orbitron", 'Times New Roman', Times, serif;
    justify-content: center;
    width: 100%;
    font-size: 35px;
}
.sidebar li a[href="https://sonsanddaughters.xyz/"] {
    font-weight: bolder;
}
.menu-button{
    display: none;
}







/* Fullscreen Background GIF*/
.gif-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: none;
}

.gif-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the image */
    object-fit: cover; /* Ensure the GIF covers the entire container */
    width: 100%; /* Ensure it scales correctly */
    height: 100vh;
    z-index: 1; /* Set GIF behind text */
    overflow: none;
}


/*About me section styling*/
.container{
    width: 70%;
    margin: 0 auto;
    padding-top: 3rem;
}
.about-me{
    padding-top: 2rem;
}
.about-me-header{
    display: flex;
    justify-content: center;
    padding-top: 2rem;
}
.about-me:last-child h2{
    font-weight: 700;
}

.about-me-header h2::before{
    content: " ";
    display: inline-block;
    width: 100px; /* Adjust size */
    height: 100px;
    background-image:url('icons/robot.png');
    background-size: contain; /* Ensures image fits */
    background-repeat: no-repeat;
    margin-right: 30px; /* Space between icon and text */
    vertical-align: middle;
}

.my-work h2::before{
    content: " ";
    display: inline-block;
    width: 100px; /* Adjust size */
    height: 100px;
    background-image:url('icons/pacman.png');
    background-size: contain; /* Ensures image fits */
    background-repeat: no-repeat;
    margin-right: 30px; /* Space between icon and text */
    vertical-align: middle;
}

/*hire section styling*/
.hire {
    font-family: "Nunito Sans",Arial, Helvetica, sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
    align-items: center; /* Centers content horizontally */
    text-align: center;
    margin: 0;
    margin-bottom: 10rem;
}
.hire p{
    font-family:"Nunito Sans",Arial, Helvetica, sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    padding-bottom: 2rem;
}
.contact-item {
    font-family: "Nunito Sans",Arial, Helvetica, sans-serif;
    cursor: pointer;
    background: #333;
    color: white;
    padding: 10px 20px;
    margin: 10px;
    border: none;
    font-size: 16px;
    transition: 0.3s;
}

.contact-item:hover {
    color: #e2ab43;
}

.copied-message {
    display: none;
    color:#e2ab43;
    margin-top: 5px;
    font-size: 16px;
}


/*footer styling*/
footer{
    border-top: 5px solid #333;
}
footer nav{
    padding-top:20px;
    padding-bottom: 20px;
}
.copyright{
    background-color: #FAF1E6;
    color:#333;
    font-size: 1.5rem;
    text-align: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/*case study page styling*/
.case-study-main{
    font-family: "Nunito Sans",Arial, Helvetica, sans-serif;

}
.case-study-header{
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
}
.case-study-main h2{
    font-weight: 700;
    padding-top: 0rem;
    
}
.case-study-ul{
    padding-top: 1rem;
    list-style: square;
}
.case-study-ul li{
    font-family:"Nunito Sans",Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    padding: 10px;
    max-width: 800px;
}
.case-study p{
    font-family:"Nunito Sans",Arial, Helvetica, sans-serif;
}
.case-study-ul+p{
    padding-top: 3rem;
}

/*case study image*/
.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 3rem;
    height: 100%; 
}

.image-container {
    position: relative;
    display: inline-block;
}

.image-container img {
    display: block;
    max-width: 100%;
    height: auto;
}
.centered-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background:#FAF1E6;
    color:#333;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-family:"Orbitron", 'Times New Roman', Times, serif;
    font-size: 25px;
    font-weight: 500;
}
.centered-link:hover{
    background-color: #333;
    color: #e2ab43;
    font-weight: 700;
    transition: 0.3s;
}
/*resume styling*/
.resume-container{
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-top: 3rem;
}
.resume-container p{
    padding-top: 20px;
}
.resume-container span{
    font-weight: 800;
}
.resume-detail{
    padding-top: 1rem;
}



/*media queries*/
/*Mobile and tablets*/
@media (min-width:300px){
    main{
        padding-top: 50px;
    }
    h2+p{
        padding-top: 30px;
    }
    p{
        line-height: 27px;
    }
    .menu-button{
        display: block;
    }

    .hideMenu{
        display: none;
    }
    .sidebar{
        width: 100%;
    }

    /*mobile navigation styling*/
    .hero h1{
        font-size: 3rem;
    }
    .hero h2{
        top: 43%;
        color:#333;
        
    }
    /*about me styling*/
    .about-me-header{
        font-size: 2.5rem;
        color: #e2ab43;
        font-weight: 800;
        padding-bottom: 2rem;

    }
    .game-icon{
        display: none;
    }
    .my-work h2{
        font-size: 2.5rem;
        color: #e2ab43;
        font-weight: 800;
        text-align: center;
        padding-top: 5rem;
    }
    .work-container{
        padding-top: 2rem;
        padding-bottom: 4rem;
        height: auto;
        width: 100%;
    }
    .work-container ul{
        padding-top: 40px;
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 30px;
    }
    .work-container li{
        padding-top: 20px;  
    }
    .work-container a{
        text-decoration: none;
        color: #333;
        background-color: #3333333b;
        padding: 10px 10px;
        font-family:"Orbitron", 'Times New Roman', Times, serif;
        font-size: 1.5rem;
        font-weight: 600;
    }
    .hire{
        padding-top: 5rem;
    }
    .hire h2{
        font-size: 2.5rem;
        color: #e2ab43;
        font-weight: 800;
        padding-bottom: 2rem;
    }
    .footer{
        justify-content: center;
        gap:50px;
    }
    .case-study-main h2{
        font-size: 1.5rem;
        padding-top: 2rem;
    }
    .resume-container img{
        width:200px;
        height: auto;
    }
    
}



@media (min-width:570px){
    .hero h1{
        font-size: 4rem;
    }
    .hero h2{
        top: 47%;
    }
    .about-me-header h2{
        font-size: 2.5rem;
    }
    .my-work h2{
        font-size: 2.5rem;
    }
    .case-study-main p{
        line-height: 30px;
    }
    .case-study-main h2{
        padding-top: 3rem;
    }
    .case-study-ul li{
        line-height: 40px;
    }

}




@media (min-width:800px){
    .hero h1{
        font-size: 4rem;
    }
    .hero h2{
        color: #FAF1E6;
    }
    .case-study-main p{
        line-height: 40px;
    }
    .case-study-main h2{
        padding-top: 6rem;
    }
    .resume-container img{
        width: 250px;
        height: auto;
    }


    
}





/*Laptops users*/
@media (min-width:1200px){
    .hero-animation{
        display: flex;
        justify-content: center;
    }
    .hero-animation h1{
        margin-inline: auto;
        overflow: hidden;
        white-space: nowrap;
        border-right: 8px solid #333;
        animation: typewriter 3s steps(20) forwards, blink 0.8s step-end infinite;
    } 
    @keyframes typewriter{
        from{
            width: 0;
        }
        to{
            width: 80%;
        }
    }
    @keyframes blink{
        50%{
            border-color: transparent;
        }
    }
    .hideMenu{
        display: block;
    }
    .menu-button{
        display: none;
    }
    .hero h1{
        font-size: 6rem;
    }
    .hero h2{
        color:#333;
        font-size: 2rem;
        font-weight: 700;
        top: 48%;
    }
    
    
    /*nav styling for desktop*/
    .site-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #FAF1E6;
        z-index: 10; /* Ensure it stays on top of other content */
        padding: 15px 20px;
    }
    nav ul {
        list-style-type: none;
        display: flex;
        justify-content: center;
        gap: 9rem;
    }
    nav ul li {
        margin-right: 20px;
    }
    nav ul li:last-child {
        margin-right: 0;
    }
    nav a {
        font-family: "Orbitron", 'Times New Roman', Times, serif;
        color:#333;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 700;
    }
    .navigation li a[href="#hire-me"] {
        background-color: #333;
        color: #FAF1E6;
    }
    .navigation li a[href="#hire-me"]:hover{
        color: #e6b251;
    }
    nav a:hover {
        color: #e6b251;
        transform:scale(1.2);/* Increases size without affecting layout */
        font-weight:700;
        transition: 0.3s;
    }
    /*case study nav styling*/
    .case-study li a[href="index.html#hire-me"] {
        background-color: #333;
        color: #FAF1E6;
    }
    .case-study li a[href="index.html#hire-me"]:hover{
        color: #e6b251;
    }
    .case-study-ul li{
        font-size: 1.5rem;
        font-weight: 500;
    }
    
    
    /*fulscreen background*/
    .gif-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }
    .gif-container img {
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%); /* Center the image */
        object-fit: cover; /* Ensure the GIF covers the entire container */
        width: 100%; /* Ensure it scales correctly */
        height: 100vh;
        z-index: 1; /* Set GIF behind text */
    }
   
   
    /*about me section*/
    .about-me-header h2::before{
        animation: bouncing 1s infinite alternate ease-in-out;
    }
    @keyframes bouncing{
        0% {
            transform: translateY(0);
        }
        100% {
            transform: translateY(-20px); /* Moves image up */     
        }
    }

    .about-me {
        margin: 0 auto;
    }
    .about-me p{
        font-size: 1.7rem;
        line-height: 40px;
        padding-bottom: 50px;
        
    }
    .about-me-header h2{
        font-size: 5rem;
        padding-bottom: 6rem;
    }

    
    /*ghost icons styilng*/
    .game-icon{
        display: block;
        display: flex;/*justify-content: center;*/
        padding-top: 7rem;
        padding-bottom: 7rem;
        gap: 40px;
    }
    
    .game-icon img{
        animation: bounce 6s linear infinite;
    }
    @keyframes bounce {
        0% {
            transform: translateY(0);
            transform: translateX(-17vw);
        }
        100% {
            transform: translateY(-20px); /* Moves image up */
            transform: translateX(105vw);
            
        }
    }

    /*My Work section styling*/

    .my-work{
        background-color: #333;
        padding-top: 5rem;
    }
    .my-work h2::before{
        animation: bouncing 1s infinite alternate ease-in-out;
    }
    .my-work h2{
        font-size: 5rem;
        animation: fade-in 2s linear;
        animation-timeline: view();
    }
    @keyframes fade-in{
        from{
            opacity: 0;
            transform: translate(-100px);
        }
        to{
            opacity: 1;
            transform: translate(0px);
        }
    }
    .work-container{
        background-color: #333;
        display: flex;
        margin: 0 auto;
        justify-content: center;
        padding-bottom: 15rem;
    }
    .work-container span{
        display: none;
    }
    .work-container ul{
        display: inline-block;
        text-align: center; 
    
    }
    .work-container li{
        padding: 20px;
    }
    .work-container li::marker{
        font-size: 50px;
    }
    .work-container a{
        color: #FAF1E6;
        background-color:#333;
        font-size: 3rem;
        font-weight: 700;
    }
    .work-container a:hover{
        color: #e6b251;
        transition: 0.3;
        span{
            display: inline-block;
            color: #f34e4e;
        }
        
    }
    .hire h2{
        font-size: 5rem;
    }

    .contact-item {
        font-size: 25px;
    }
    
    .contact-item:hover {
        color: #e2ab43;
    }
    
    .copied-message {
        display: none;
        color:#e2ab43;
        margin-top: 5px;
        font-size: 20px;
    }

    /*case study styling*/
    .case-study-main p{
        font-size: 1.5rem;
        font-weight: 500;
    }
}



@media (min-width:1500px){
    .hero-animation{
        display: flex;
        justify-content: center;
    }
    .hero-animation h1{
        margin-inline: auto;
        overflow: hidden;
        white-space: nowrap;
        border-right: 8px solid #333;
        animation: typewriter 3s steps(20) forwards, blink 0.8s step-end infinite;
    } 
    @keyframes typewriter{
        from{
            width: 0;
        }
        to{
            width: 69%;
        }
    }
    @keyframes blink{
        50%{
            border-color: transparent;
        }
    }   
    .hero h2{
        font-size: 2rem;
    }
    
    .game-icon{
        padding-top: 15rem;
        padding-bottom: 15rem;
    }
    .about-me-header{
        font-size: 6rem;
    }
    .my-work h2{
        font-size: 6rem;
        padding-top: 0rem;
    }
    .hire h2{
        font-size: 6rem;
    }
   

}
    
        


@media (min-width:2000px){
    @keyframes typewriter{
        from{
            width: 0;
        }
        to{
            width: 60%;
    
        }
    }
    .hero h1{
        font-size: 8rem;
    }
    main :is(h2){
        font-size: 2.5rem;
    }
    p{
        font-size: 1.5rem;
        line-height: 30px;
    }
    .about-me-header{
        font-size: 8rem;
    }
    .my-work h2{
        font-size: 8rem;
    }
    .hire h2{
        font-size: 8rem;
    }
}

