@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body{
    padding-top: 60px;
    font-family: 'Poppins', sans-serif;
    background-color:#8E7AA0;
    color: #E6E6E6;
    margin: 0;
    font-size:15px;
    position: relative;
    overflow-x:hidden;
    width: 100%;
}

*{
    margin:0;
    box-sizing: border-box;
    padding:0;
    max-width: 100%;
}

.logoimg{
    height: 50px;
}

a{
    color: #E6E6E6;
    text-decoration:none; 
}

#stars{
    display: none;
}

#mainNavbar .nav-link:hover {
    color: #99e6f9;
}

.resume{
    position: relative;
}

section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

.ocean{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

.oceanImage{
    position: absolute;
    width:100%;
    bottom:0;
    left:0;
}

/* 
#linearthing{
    background: linear-gradient(to top, #85CAE6, transparent);
    z-index: 1;
} */


#water{
    transform: translateY(5%);
}

.resumeText{
    padding-left: 3%;
    padding-right: 3%;
    padding-bottom: 100px;
    background: linear-gradient(to bottom, #4F889F, #85CAE6);
}

.resumeText h2{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 2%;
}

section::before{
    content:' ';
    position: absolute;
    bottom: 0;
    left:0;
    width:100%;
    height:50px;
    background: linear-gradient(to top, #4F889F, transparent);
    z-index:10;
}

section img{
    /* top:0; */
    position: absolute;
    bottom:0;
    left:0;
    width:100%;
}

header{
    padding: 10px;
    width: 100%;
    /* border-bottom: 1px solid; */
}

header ul li{
    padding: 0 10px;
 }

#myName{
    top:20%;
    position: absolute;
    font-size: 1em;
    left:15%;
    line-height: 0.2em;
    width: 100%;
}

.boat-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto; /* or exact px if needed */
    overflow: hidden;
    pointer-events: none;
}
.content h1{
    font-size: 2em;
    position: absolute;
}

.gradientText{
    color: #ffffff;
}

.mainNavbar{
    color: black;
    z-index: 999;
    position: fixed;
    top:0;
    width: 100%;
    white-space: nowrap;
    
}

.job::before{
    content: attr(data-job1);
    overflow: hidden;
    max-width: 100px;
    display: inline-flex;
    animation: effectText 1s linear infinite alternate, changeText 4s linear infinite
}

@keyframes effectText{
    from{
        max-width:0;
    } to{
        max-width: 300px;
    }
}

@keyframes changeText{
    0%{
        content: attr(data-job1);
    } 100% {
        content: attr(data-job2);
    }
}

@media (max-width: 768px) {
    #stars{
        display: block;
        top:0;
    }
}

#boat{
    animation: boat 90s linear infinite alternate;
    
}

@keyframes boat{
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(calc(50vw ));
    }
}