@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    /* background-color: #7df9ff; */
    /* background-color: #dcedc8; */
    /* background-color: rgb(142, 230, 230); */
    background: linear-gradient(to bottom, #2b9ce7, #ffffff);
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;

}

.smooth {
    transition: all 0.7s;
}

.terminal {
    height: 100%;
    width: 80%;
    border-radius: 12px;
    top: 12vh;
    z-index: 100;
    left: -100%;
    display: none;
    list-style: none;
    position: fixed;
    flex-direction: column;
    height: 100%;
    background-color: rgb(36, 33, 33);
    color: white;
    font-size: 1.1rem;
}

.terminal li {
    margin: 0;
    font-size: 1.4em;
    transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
    padding-top: 10px;
}

.terminal a {
    text-decoration: none;
    margin: 15px 30px 0 0;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    /* Combine transitions */
}

.terminal li:hover {
    background:transparent;
    color: #ffffff;
    border-bottom: 2px solid black;
    /* Change text color on hover to white */
    transform: translateY(-7px);
    /* Move the entire anchor element upward slightly on hover */
}

.navbar {
   
    /* background-color: rgb(142, 230, 210); */
    /* background-color: rgb(75, 207, 207); */
    background-color: rgb(7, 70, 119);
    z-index: 10;
    width: 100vw;
    height: 10vh;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
    height: 100%;
    margin-top: 10px;
   
    
}

.logo img {
    margin-left: 10vw;
    height: 90%;
    border-radius: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    margin-right: 10vw;
}

.nav-links li {
    margin: 0;
    font-size: 1.2em;
    transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
    padding-top: 10px;
    transition: 0.5s ease;
    padding-left: 20px;

}

.nav-links a {
    text-decoration: none;
    margin: 15px 30px 0 0;
    color: yellow;
    padding: 10px 0;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    /* Combine transitions */
}

.nav-links li:hover {
    background:rgba(1, 10, 17, 0.5);
    /* color: rgb(9, 77, 167); */
    color: #ffffff; 
    transform: translateY(-5px); 
    /* border-bottom: 4px solid #fff; */
}
/* .nav-links li:hover {
    border-radius: 12px;
    font-size: 1.6em;
    box-shadow:
        0 0 3px #0ef,
        0 0 5px #0ef,
        0 0 8px #0ef,
        0 0 9px #0ef,
        0 0 2px #0ef;
    --_p: 100%
} */

.main {
    width: 50vw;
    height: 70vh;
    /* border: 2px groove rgb(0, 128, 75); */
    border-radius: 18px 0 0 0;
 
    position: relative;
    /* top: 8vh;
    left: 5vw; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main .content {
    padding-left: 20px;
    position: absolute;
    top: 5vh;
    font-size: 1.5rem;
    font-weight: bold;

    /* color: green; */
    color: rgb(1, 41, 161);
    white-space: pre-line;
    overflow: hidden;

}

#goto {
    font-size: 1.3rem;
    right: 20vw;
    position: absolute;
    border-radius: 15px;
    bottom: 10vh;
    padding: 10px 20px;
    background-color: rgb(43, 170, 170);
    color: white;
    cursor: pointer;
}
#goto a{
    text-decoration: none;
    color: white;
}
#goto:hover {
    transition: transform 0.5s;
    border: 1px double aqua;
    transform: translateY(10px);
}
.imageContainer{
    position: relative;
    right: -65vw;
    width: 30vw;
    height: 35vh;
    background-size: fill;
    top: -50vh;
    
}

.imageContainer img {
    width: 95%;
    height: 95%;
    animation: scalingImage 0.7s ease 0.3s 1 forwards,
               upDown 3s linear 0.3s infinite;
}

@keyframes scalingImage {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes upDown {
    0% {
        transform: translateY(10px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(10px);
    }
}

.fields {
    display: none;
}

.cross {
    /* display: none; */
    z-index: 101;
}

.hamburger {
    z-index: 101;
}

.narutoTalk {
    color: rgb(255, 51, 0);
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10vh;
}

.cN {
    position: relative;
    left: 15vw;
    bottom: -7vh;
    height: 40vh;
    width: 70vw;
    /* border: 2px solid black; */
    

}
.cN img{
    height: 100px;
    width: 80px;
    border-radius: 200px;

}
#catchMe{
    position: absolute;
    transition: all 1s;
    
}
@media only screen and (max-width: 1125px) and (min-width: 700px) {
    .main {
        width: 55vw;
        left: 10px;
        height: 75vh;
    }
    .main .content {
        font-size: 1rem;
    }
    
    #goto{
        padding: 7px 15px;
        bottom: 15vh;
        right: 12vw;
    }
    .imageContainer{
        width: 35vw;
        margin-right: 50px;
    }
}
@media only screen and (max-width: 1050px) and (min-width: 700px){
    .imageContainer{
        border-radius: 300px;
        padding: 5px;
        width: 30vw;
        height: 25vh;
        background-size: fill;
        /* right: -75vw; */
    }
    .imageContainer img{
        /* border-radius: 300px; */
        margin: 10px;
    }

}
@media only screen and (max-width: 700px) {
    /* .cN{
        bottom: -30vh;
    } */
    .container{
        margin-top: 48vh;
        gap: 20px;
    }
    .frame{
        width: 75vw;
    }
    

    .imageContainer{
        height: 20vh;
        background-size: fill;
        width: 30vw;
        top: -60vh;
    }
    .nav-links li {
        display: none;
    }

    .navbar {
        justify-content: center;
        gap: 50px;
    }

    .nav-links::after {
        display: none;
    }

    .mob {

        /* border: 1px solid teal; */
        width: 100%;
        height: auto;
        position: relative;
        top: 15vh;
        bottom: 20vh;
        white-space: pre-line;
        overflow: hidden;

        font-weight: bold;
        /* font-family: cursive; */

    }

    /* .mob::after{
        content: ' Welcome to welcome page of welcome site';
    } */
    .hamburger {
        width: 50px;
        display: flex;
        position: absolute;
        right: 10vw;
    }
    .hamburger img{
        margin: auto 0;
        width: 100%;
    }
    .cross {
        width: 50px;
        display: flex;
        position: absolute;
        right: 10vw;
    }
    .cross img{
        margin: auto 0;
        width: 100%;
    }

    .cross {
        position: absolute;
        right: 10vw;
    }

    .main {
        top: 35vh;
        left: 1vw;
        width: 98%;
        overflow-x: hidden !important;
        height: auto;
        background-color: #eee7e7;
        border: 2px groove #eee7e788;

    }

    .explore {
        margin-left: -80vw;
    }

    .explore:after {
        font-size: 1.2rem;
        content: 'Explore';
        margin-left: 20px;
    }

    .fields {
        margin-top: 5vh;
        display: grid;
        justify-content: space-around;
        gap: 10px;
        grid-template-columns: 1fr 1fr;
    }

    .division {
        width: 40vw;
        height: 30vh;
        /* border: 1px solid rgb(124, 240, 240); */
        background-color: white;
        border-radius: 12px;
        color: white;
        display: flex;
        justify-content: space-evenly;
        column-gap: 50px;
        flex-direction: column;
    }

    .division .divisionContent {
        color: black;
        font-size: 1.2rem;
        margin-left: 15px;
        font-weight: bold;
    }

    .content {
        display: none;
    }

    #goto {
        display: none;
    }
    .imageContainer{
        display: none;
    }
    
}

.container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    height: 50vh;
    padding-bottom: 5vh;
}
.arrow{
    height: 5vh;
    cursor: pointer;
}
.frame{
    width:50vw ;
    height: 50vh;
    overflow: hidden;
    border: 1px solid black;


}
.slider{
    display: flex;
    transition: all 0.7s ease;
}
.slideItem{
    overflow: hidden;
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.slideItem img{
    object-fit: contain;
    background-position: center center;

}


@media only screen and (max-width: 390px) and(min-width: 373px) {
    .division .divisionContent {
        font-size: 1rem;
        font-weight: bolder;
    }

    .division {
        height: 25vh;
    }

}


@media only screen and (max-width: 373px) {
    .division .divisionContent {
        font-size: 1rem;
        margin-left: 5px;
        column-gap: 40px;
        font-weight: bolder;
    }

}

@media only screen and (max-width: 700px) and (min-width: 410px) {
    .mob {
        left: 5vw;
        font-size: 17px;
    }
}

@media only screen and (max-width: 410px) {
    .mob {
        font-size: 14px;
        left: 2vw;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

body.slide-out {
    animation-name: slideOut;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

body.slide-in {
    animation-name: slideIn;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}