@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,600;1,14..32,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400;1,700&family=Righteous&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@100..900&family=Space+Grotesk:wght@300..700&display=swap');

body{
    background-color: #0e0e11;
    color: rgb(245, 245, 245);
    margin: 0;
    padding: 0;
    font-family: "Inter", system-ui;
    width: 100%;
    box-sizing: border-box;
    font-family: "Space Grotesk", sans-serif;
    -webkit-font-smoothing: antialiased;
    /* background-image: url("./images/purple-gradient-with-dark-transition-5d99f8b4fec03d7f9121d89bc3cb5790.webp"); */
    background-image: url("https://playota.app/heroBg.svg");
    background-size: 3200px auto;
    background-position: 50%;
    background-repeat: no-repeat;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    position: fixed;
    background-color: rgba(22, 22, 22, 0.7);
    width: -webkit-fill-available; 
    top: 0;
    backdrop-filter: blur(10px);
    z-index: 10;
    transition: all 0.3s ease-in-out;
}

.logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: "Righteous", sans-serif;
}

.logo a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
}

.txt-gradient {
    color: #fcd23e;
    background: radial-gradient(56.39% 208.65% at 50% 50%, rgb(76, 165, 254) 0%, rgb(18, 119, 217) 100%);
    background: linear-gradient(rgb(185, 155, 249) 0%, rgb(89, 50, 167) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fcd23e; /* Fallback color */
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.nav-btn a {
    padding: .6rem 1rem;
    text-decoration: none;
    border-radius: .5rem;
    font-weight: 500;
    font-size: .9rem;
    display: flex;
    gap: .5rem;
    align-items: center;
}

.nav-btn a:hover {
    background: radial-gradient(56.39% 208.65% at 50% 50%, rgb(0, 9, 17) 0%, rgb(27, 27, 27) 100%);
    color: rgb(30, 144, 255);
    border: 1px solid rgb(30, 144, 255);
}

.twitter-btn {
    /* background: radial-gradient(56.39% 208.65% at 50% 50%, rgb(30, 144, 255) 0%, rgb(18, 119, 217) 100%); */
    background: radial-gradient(72.97% 270% at 50% 50%, rgb(154, 109, 250) 0%, rgb(100, 25, 255) 100%);
    color: #ffffff;
    /* box-shadow: rgba(3, 3, 3, 0.24) 0px 2px 12px 0px, rgb(30, 144, 255) 0px 1px 1px 0px inset; */
}

.github-btn {
    background-color: #14141b;
    color: #ffffff;
    border: 1px solid #7a7a86;
}

.github-btn:hover {
    color: #fcd23e;
    background-color: #000;
}



@media (max-width: 480px) {
    .logo a {
        font-size: 3rem; 
    }
    .logo img{
        width: 1.5rem;
        height: 1.5rem;
    }
    .logo{
        gap: 0.2rem
    }
    
    .nav-btn a{
        padding: 0.4rem .8rem;
        font-size: 0.4rem;
    }
    .fa-regular{
        display: none;
    }

    .nav-btn {
        gap: 0.1rem;
    }
    .navbar{
        padding: 1rem 1rem;
    }
}


.txt-content{
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 62.5rem;
}

.hero-section{
    padding: 5rem 5rem 5rem 3rem;
    margin-top: 1rem;
    /* background-image: url("./images/✰Pokemon.jpg"); */
    background-image: url("./images/purple-gradient-with-dark-transition-5d99f8b4fec03d7f9121d89bc3cb5790.webp");
    background-repeat: no-repeat;
    
    /* -webkit-mask-image: linear-gradient(90deg, rgba(32,202,204,0) 6%, rgba(0,0,0,1) 51%); */
    /* mask-repeat: no-repeat; */
    /* background-position-x: center; */
    /* background-position-y: center; */
    /* background-color: #0e0e11; */
    display: flex;
    flex-direction: column;
    /* flex-wrap: wrap; */
    align-items: center;
    gap: 1rem;
    justify-content: center;
    /* background-color: transparent; */
    text-align: center;
    background-size: 220%;

}
.title{
    /* font-family:"Righteous", sans-serif; */
    font-family: "Space Grotesk", sans-serif;
    margin: 0;
    font-size: 4.5rem;
    line-height: 4.5rem;
    letter-spacing: -0.6px;
    font-weight: 700;
    background: linear-gradient(78deg, rgb(255, 255, 255) 9.07%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.5) 90.93%) text;
    -webkit-text-fill-color: transparent;
    /* width: 50%; */
}
.svg-img{
    background-image: url("./images/line.svg");
    background-position-y: -62%;
    background-repeat: no-repeat;
    background-size: 20.9375rem;
    
}
.tagline{
    font-size: 1.3rem;
    margin: 0;
    padding: .5rem 0;
}
.details{
    color: #b8b8b8;
    /* color: #fff; */
    /* line-height: 2; */
    margin: 0;
    /* padding: 1rem 0; */
    font-size: 1.1rem;
    font-weight: 540;
    letter-spacing: -.2px;
    /* line-height: 2.25; */
    /* width: 50%; */
}
.highlight{
    color: #fff;
    font-weight: 700;
}
form{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    flex-wrap: wrap;
    
}
.pokemon-type{
    padding: 0 .75rem;
    font-size: 1rem;
    /* font-weight: 640; */
    border-radius: .625rem;
    width: 15rem;
    border: 1px solid rgba(232, 232, 232, 0.835);
    color: rgb(17, 17, 17);
    outline: none;
    background-color: rgba(255, 255, 255, 0.895);
    height: 3rem;
}
#pokemon-count{
    width: 10rem;
}
#submit{
    width: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    height: 3rem;
    border-radius: .625rem;
    padding: 0px 1.5rem;
    font-size: 1rem;
    background: radial-gradient(72.97% 270% at 50% 50%, rgb(154, 109, 250) 0%, rgb(100, 25, 255) 100%);
    /* box-shadow: rgba(168, 129, 254, 0.64) 0px 2px 12px 0px, rgb(168, 129, 254) 0px 1px 1px 0px inset; */
    /* font-weight: 640; */
    color: white;
    border: none;
}
#submit:hover{
    box-shadow: rgba(168, 129, 254, 0.64) 0px 2px 12px 0px, rgb(168, 129, 254) 0px 1px 1px 0px inset
}
.input{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    flex-wrap: wrap;
    background-color: rgba(43, 43, 43, 0.876);
    -webkit-backdrop-filter: blur(800px);
    backdrop-filter: blur(80px);
    padding: 0.75rem;
    border-radius: .75rem;
    /* box-shadow: rgba(119, 119, 119, 0.6) 0px 0px 154px 0px; */

}
.banner-img{
    width: 40rem;
}
.image{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* height: 100%; */
    justify-content: center;
    position: relative;
    /* position: absolute; */
    /* overflow: hidden; */
    z-index: 2;
    z-index: 1;
    bottom: 0;
}
.circle{
    position: absolute;
    z-index: -1;
    /* top: 8%; */
    opacity: 1;
    width: 20rem;
    /* box-shadow: 0 0 100px rgba(255, 47, 47, 0.518); */
}
.cloud{
    position: absolute;
    z-index: 1;
    bottom: -10%;
    opacity: .9;
    width: 50%;
    
}

.display-section{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: #0e0e11;
    padding: 3rem;
}
.sub-heading {
    font-size: 2.5rem;
    line-height: 3rem;
    letter-spacing: -1px;
    font-family: "Space Grotesk", sans-serif;
    background: linear-gradient(-45deg, rgb(100, 25, 255), rgb(203, 178, 255));
    margin: 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.poke-cards{
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}
.cards{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 253px;
    height: 381px;
    border-radius: 1rem;
    border: 11px solid #4B5563;
    font-size: .8rem;
}
.card-img{
    height: 195px;
    background: linear-gradient(to bottom,
    rgba(214, 214, 214, 0.3),
    rgba(77, 77, 77, 0.1));
    box-shadow: 0 0 10px 10px rgba(202, 201, 201, 0.05);
    border-radius: 50%;
    padding: .8rem;
    max-width: 195px;
    max-height: 253px;
    width: 253px;
}
.card-img img{
    width: 80%;
}
.card-content{
    display: flex;
    flex-direction: column;
    gap: .9rem;
    /* background: #14141b; */
    width: 253px;
    height: 100%;
    justify-content: center;
}
.card-content .title{
    font-size: 2.5rem;
    margin: 0;
    padding: 0 .2rem;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.type-class{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.card-type{
    border-radius: .75rem;
    background-color: #374151;
    padding: .25rem .5rem;
    font-weight: 600;
    font-size: .8rem;
}
.card-details{
    /* padding-top: .1rem; */
    display: flex;
    /* flex-direction: columnn */
    flex-wrap: wrap;
    gap: .25rem;
    align-items: center;
    justify-content: center;
}
.stats{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
}
.weakness-strengths{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
}
.hp{
    border-radius: .25rem;
    padding: .3rem;
    background-color: rgb(48 47 47);
}
#hp , #cp{
    font-weight: 800;
}






footer{
    width: -webkit-fill-available;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-width: 1px 0 0 0;
    border-style: solid;
    border-color: rgba(38, 4, 4, 0.11);
    gap: 2rem;
    font-size: .875rem;
    color: rgb(100, 100, 142);
    background-color: #14141b;
}
.footer-description{
    display: flex;
    align-items: center;
    gap: 5px;
}
.CodeCraft{
    /* font-family: "HelveticaNeue Medium","HelveticaNeue-Medium", "Helvetica Neue Medium", sans-serif; */
    text-decoration: none;
    font-weight: 600;
    color: #3d8bff;
    cursor: pointer;
}
.footer-social{
    text-decoration: none;
    color: rgb(182, 192, 219);
    font-weight: 700;
}
.footer-social:hover{
    text-decoration: underline;
    text-underline-offset: 2px;
}
.creator{
    color: white;
}
.github{
    text-decoration: none;
    color: rgb(182, 192, 219);
    font-weight: 600;
}
.github:hover{
    text-decoration: underline;
    text-underline-offset: 2px;
}

.emoji-container {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -2;
    /* mask-image: radial-gradient(circle, rgba(0,0,0,0.28) 0%, rgba(0,0,0,1) 59%); */
}

.emoji{
    position: absolute;
    width: 5.5rem;
    height: 5.5rem;
}

.e1 {
    top: 50%;
    left: 10%;
}

.e2 {
    top: 30%;
    left: 90%;
}

.e3 {
    top: 20%;
    left: 30%;
}

.e9 {
    top: 70%;
    left: 10%;
}

.e6 {
    top: 60%;
    left: 80%;
}
.e7{
    top: 40%;
    left: 30%
}




@media only screen and (max-width: 1023px) {
    footer{
        width: -webkit-fill-available;
        padding: .8rem;
        gap: .8rem;
        font-size: .575rem;
    }
    .footer-logo-txt{
        font-size: 1rem;
    }
    .footer-description{
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .CodeCraft{
        /* font-family: "HelveticaNeue Medium","HelveticaNeue-Medium", "Helvetica Neue Medium", sans-serif; */
        text-decoration: none;
        font-weight: 600;
        color: #3d8bff;
        cursor: pointer;
    }
    .footer-social{
        text-decoration: none;
        color: rgb(182, 192, 219);
        font-weight: 700;
    }
    .footer-social:hover{
        text-decoration: underline;
        text-underline-offset: 2px;
    }
    .creator{
        color: white;
    }
    .github{
        text-decoration: none;
        color: rgb(182, 192, 219);
        font-weight: 600;
    }
    .github:hover{
        text-decoration: underline;
        text-underline-offset: 2px;
    }
    
    
}

@media only screen and (max-width: 700px) {
    .title{
        font-size: 3.5rem;
        line-height: 3.2rem;
    }
    .details{
        font-size: 1rem;
        line-height: 1.3rem;
    }
    .image{
        /* display: none; */
        /* overflow: hidden; */
        width: 100%;
        align-items: center;
    } 
    .banner-img{
        width: 90vw;
        overflow: hidden;
    }
    .circle{
        top: 20%;
        display: none;
        width: 40vh;

    }
    .svg-img{
        background-position-y: 0%;
        background-position-x: center;
    }
    .pokemon-type{
        width: 100%;
    }
    #pokemon-count{
        width: 100%;
    }
    .hero-section{
        padding: 5rem 2rem;
    }
    .pokemon-type{
        padding: 0 .5rem;
        height: 2.5rem;
    }
    #submit{
        height: 2.5rem;
    }
    footer{
        width: -webkit-fill-availaible;
        padding: .2rem;
        gap: .8rem;
        font-size: .475rem;
    }
    .footer-logo{
        display: none;
    }
    .footer-logo-txt{
        font-size: .5rem;
    }
    .footer-description{
        display: flex;
        align-items: center;
        gap: 2px;
    }
    .CodeCraft{
        /* font-family: "HelveticaNeue Medium","HelveticaNeue-Medium", "Helvetica Neue Medium", sans-serif; */
        text-decoration: none;
        font-weight: 600;
        color: #3d8bff;
        cursor: pointer;
        font-size: .5rem;
    }
    .footer-social{
        text-decoration: none;
        color: rgb(182, 192, 219);
        font-weight: 700;
        font-size: .5rem;
    }
    .footer-social:hover{
        text-decoration: underline;
        text-underline-offset: 2px;
    }
    .creator{
        color: white;
        font-size: .5rem;
    }
    .github{
        text-decoration: none;
        font-size: .5rem;
        color: rgb(182, 192, 219);
        font-weight: 600;
    }
    .github:hover{
        text-decoration: underline;
        text-underline-offset: 2px;
    }




    .logo-img{
        height: 2rem;
        /* color: linear-gradient(90deg, #00d2ff 0%, #3a47d5 100%); */
    }
    .logo-txt{
        font-size: 1.4rem;
    }
    .nav-btn a{
        margin: 0 .2rem;
        font-size: .69rem;
    }
    .cta{
        padding: .625rem 1.1rem;
    }
    .banner{
        font-size: .7rem;
    }
}
@media only screen and (max-width: 500px) {
    .logo a{
        font-size: 1rem;
    }
}
@media (max-width: 822px) {
    .pokemon-type{
        width: 100%;
    }
    #pokeCount{
        width: 100%;
    }

}

.loader {
    margin-top: 2rem;
    position: relative;
    animation: loader 1s ease-in-out infinite;
}
#loader{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.3rem;
    opacity: 0;
}


@keyframes loader {
    0%   { top: 0px; }
    25%  { top: -10px; }
    /* 50%  { top: 0px; } */
    75%  { top: 5px; }
    100% { top: 0px; }
}
.loader-txt {
    position: relative;
    animation: fadeText 1s ease-in-out infinite;
}

@keyframes fadeText {
    0%, 100% { opacity: .5; }
    50% { opacity: 1; }
}


.container {
	display: flex;
	align-items: center;
	justify-content: center;
    margin: 0;
    padding: 0rem;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    /* display: none; */
}

.field {
	display: flex;
	align-items: center;
	justify-content: space-around;
}

.mouse {
	width: 2rem;
	height: 3.2rem;
	border: 3px solid rgb(172, 172, 172);
	border-radius: 60px;
	position: relative;
	&::before {
		content: '';
		width: 12px;
		height: 12px;
		position: absolute;
		top: 10px;
		left: 50%;
		transform: translateX(-50%);
		background-color: #7a7a7a;
		border-radius: 50%;
		opacity: 1;
		animation: wheel 2s infinite;
		-webkit-animation: wheel 2s infinite;
	}
}

@keyframes wheel {
	to {
		opacity: 0;
		top: 60px;
	}
}

@-webkit-keyframes wheel {
	to {
		opacity: 0;
		top: 60px;
	}
}