*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --bg-color: #48513d;
    --text-color:#cdefdb;
    --main-font: 'Keania', 'Arial', sans-serif;
    --page-bg-color: #79a085;
    --accent-green: #79b78c;
    --accent-cyan: rgb(33, 158, 108);
    --shadow-color: rgba(71, 255, 99, 0.644);
}
body{
    text-overflow: ellipsis;
    background: var(--bg-color);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 100vh;
    color: var(--text-color);
    font-family: var(--main-font);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}
::selection{
    background-color: rgb(255, 255, 255);
    color: #59cb7c;
}
header{
    top: 0;
    left: 0;
    width: 100vw;
    height: 99px;
    background: linear-gradient(45deg, transparent);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
}
header nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    padding: 1rem 2rem;
    border-radius: 45px;
    border: 1px solid rgb(25, 174, 69);
    transition: all 0.5s ease-out;
    backdrop-filter: blur(15px) brightness(1.3469) contrast(1.5);
    position: relative;
}
header nav input{
    width: 50%;
    max-width: 100px;
    padding: 10px;
    background: linear-gradient(45deg, var(--accent-green), var(--accent-cyan));
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 0.8rem;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.5s ease;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}
header nav input:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(121, 183, 140, 0.4);
}
nav:hover{
    box-shadow: 0 0 15px 12px rgba(1, 107, 8, 0.705), 
    -0.5px 1px 20px 5px rgba(5, 101, 31, 0.603),
    0.5px 1px 20px 5px rgba(5, 122, 5, 0.664);
    border: 1.69px solid rgba(107, 212, 123, 0.845);
    transform: scale(1.02);
}
header nav .logo{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-shadow: 0 0 10px rgb(94, 255, 83);
    transition: all 0.5s ease;
}
header nav .logo:hover{
    transform: scale(1.169);
    box-shadow: 0 0 20px 8px rgb(5, 121, 23), 0 0 18px 4px rgb(9, 139, 37) inset;
    border-radius: 50%;
    padding-bottom: 5px;
    text-shadow: 0 0 10px rgb(168, 248, 168),
    0 -2px 10px rgba(102, 241, 102, 0.815);
}
header nav .logo img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--page-bg-color);
    transition: 0.5s ease;
}
header nav .logo span{
    position: absolute;
    top: 40px;
    text-align: center;
    width: 90px;
    font-size: .69rem;
    transition: 0.69s all ease;
}
header nav ul{
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    transition: all 0.3s ease;
}
header nav ul li{
    padding: 10px 15px;
    position: relative;
    transition: 0.5s ease;
}
header nav ul li:hover {
    transform: translateY(-3px);
}
header nav ul li a{
    text-decoration: none;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    white-space: nowrap;
}
header nav ul li a:hover{
    color: white;
    text-shadow: 0 0 10px rgb(9, 255, 0);
}
header nav ul li:nth-child(1){
    background: var(--page-bg-color);
    border: 1.69px solid rgb(17, 163, 17);
    border-radius: 25px;
    padding-inline: 20px;
}
header nav ul li:nth-child(1) a{
    color: #faffff;
    text-shadow: 1px 1px 10px rgb(17, 219, 255),
    0 0 8px rgb(20, 153, 163);
}
header nav ul li:nth-child(1) a:hover{
    color: #0cf714;
    text-shadow: 1px 1px 10px rgb(25, 255, 17),
    0 0 8px rgb(34, 163, 20);
}
header nav ul li:not(:first-child)::after{
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, rgb(0, 255, 38));
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
    border-radius: 2px;
}
header nav ul li:not(:first-child):hover::after {
    width: 120%;
    box-shadow: 0 0 15px rgb(0, 255, 38);
    animation: slidegw 0.8s ease-in-out;
}
@keyframes slidegw {
    0% {
        box-shadow: 0 0 0px rgb(0, 255, 38);
        transform: translateX(-50%) scaleX(0);
    }
    50% {
        box-shadow: 0 0 20px rgb(0, 255, 38);
        transform: translateX(-50%) scaleX(1.1);
    }
    100% {
        box-shadow: 0 0 10px rgb(0, 255, 38);
        transform: translateX(-50%) scaleX(1);
    }
}
@property --angle{
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
header nav ul li:first-child::before{
    content: "";
    height: 100%;
    width: 100%;
    transform: translate(-25%, -25%);
    border-radius: 25px;
    padding: 3px;
    z-index: -10;
    background: conic-gradient(from var(--angle), rgb(0, 255, 38), 
    rgba(24, 192, 15, 0.947), rgb(5, 172, 5), transparent 90%);
    position: absolute;
    animation: rotation 1.2s linear infinite;
}
header nav ul li:first-child::after{
    content: "";
    height: 100%;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 25px;
    z-index: -9;
    background: linear-gradient(rgb(12, 208, 19), rgb(4, 101, 118), rgb(16, 84, 2));
    box-shadow: 0 0 15px 3px rgba(60, 165, 18, 0.676),
    1px 1px 15px 3px rgba(4, 101, 118, 0.55),
    -1px 1px 15px 3px rgba(2, 14, 84, 0.58);
    position: absolute;
}
@keyframes rotation{
    from{
        --angle: 0deg;
    }
    to{
        --angle: 360deg;
    }
}


@keyframes slidinup {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slidinleft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes icon{
    to {
        opacity: 1;
        transform: rotateY(0) scale(1);
    }
}
@keyframes textgw{
    0% { filter: brightness(1); }
    100% { filter: brightness(1.2); }
}
section {
    position: relative;
    z-index: 2;
}
.space{
    display: none;
}
.intro{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transform: translateY(50px);
    animation: slidinup 1s ease forwards;
}
.intro .content{
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}
.intro .text{
    flex: 1;
    min-width: 300px;
}
.intro .text h1{
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--accent-green), var(--accent-cyan));
    background-clip: text;
    
    
}
.intro .content .text .scroll:nth-child(odd){
    filter: brightness(1);
    transition: 1s ease-in-out infinite alternate, filter 1s ease-in-out, opacity 1s ease-in-out;
    opacity: 0;
}
.intro .content .text .scroll:nth-child(odd).view{
    filter: brightness(1.2); 
    opacity: 1;
}
.intro .content .text h1 span:first-child{
    color: var(--accent-cyan);
    text-shadow: 0 0 20px var(--accent-cyan);
}
.intro .content .text p{
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
    transform: translateX(-30px);
    opacity: 0;
    transition: 1s ease 0.5s forwards infinite, opacity 1s ease, transform 1s ease;
}
.intro .text .scroll:nth-child(even).view{
    opacity: 1;
    transform: translateX(0);
}
.intro .icon{
    flex: 1;
    min-width: 250px;
}
.intro .icon-wp{
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotateY(-15deg) scale(0.8);
    opacity: 0;
    animation: icon 1s ease 1s forwards;
}
.intro .icon-wp img {
    width: 100%;
    max-width: 300px;
    filter: drop-shadow(0 0 20px var(--shadow-color));
    transition: 0.5s ease;
    border-radius: 5px;
    border: 2px solid rgb(0, 255, 0);
}
.intro .icon-wp:hover img {
    transform: scale(1.2);
}

.define {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}
.define .content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.define .icon{
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
}
.define .content .scroll:nth-child(1){
    opacity: 0;
    transform: translateX(-30px);
}
.define .content .scroll:nth-child(1).view{
    opacity: 1;
    transform: translateX(0);
}
.define .icon-wp{
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.6s ease;
}
.define .icon-wp.scroll {
    opacity: 1;
    transform: scale(1);
}
.define .icon-wp img{
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    border: 2px solid var(--accent-green);
    filter: drop-shadow(0 0 15px var(--shadow-color));
    transition: all 0.5s ease;
}
.define .content .icon .icon-wp:hover img{
    transform: scale(1.1);
    border-color: var(--accent-cyan);
}
.define .about{
    flex: 1;
    min-width: 300px;
}
.define .about h1{
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--accent-green), var(--accent-cyan));
    background-clip: text;
    transition: all 0.8s ease;
}
.define .about h1 span{
    color: var(--accent-cyan);
    text-shadow: 0 0 15px var(--accent-cyan);
}
.define .about p{
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
    transform: translateX(20px);
    opacity: 0;
    transition: all 0.8s ease 0.69s;
}
.define .about .scroll:nth-child(2){
    opacity: 0;
    transform: translateX(-30px);
}
.define .about .scroll:nth-child(2).view{
    opacity: 1;
    transform: translateX(0);
}
.define .about p.scroll {
    opacity: 1;
    transform: translateX(0);
}
.siunit{
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}
.siunit .content{
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    max-width: 1400px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}
.siunit .text{
    flex: 1;
    min-width: 300px;
}
.siunit .text h1{
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--accent-green), var(--accent-cyan));
    background-clip: text;
    transition: all 0.8s ease;
}
.siunit .text .scroll:nth-child(1){
    transform: translateY(20px);
    opacity: 0;
    text-shadow: none;
}
.siunit .text .scroll:nth-child(1).view{
    transform: translateY(0);
    opacity: 1;
    text-shadow: 0 0 20px rgb(163, 255, 163);
}
.siunit .text h1 span{
    color: var(--accent-cyan);
    text-shadow: 0 0 15px var(--accent-cyan);
}
.siunit .text p{
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
    transition: all 0.8s ease 0.3s;
}
.siunit .text .scroll:nth-child(2){
    transform: translateX(20px);
    opacity: 0;
}
.siunit .text .scroll:nth-child(2).view{
    opacity: 1;
    transform: translateX(0);
}
.siunit .units{
    flex: 1;
    min-width: 400px;
}
.siunit .units .icon-wp{
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1/1;
    position: relative;
    border-radius: 100%;
    filter: drop-shadow(0 0 15px var(--shadow-color));
    transition: all 0.5s ease;
    gap: 1rem;
}
.units .icon-wp img{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    border: 3px solid #0cf714 none;
    border-radius: 100%;
    transition: 0.8s ease-in-out .5s;
}
.units .icon-wp .scroll{
    opacity: 0;
    transform: scale(1);
    border-color: var(--accent-green);
}
.units .icon-wp .scroll.view{
    opacity: 1;
    transform: scale(1.1);
    border-color: var(--accent-cyan);
}
.sample{
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}
.sample .content{
    max-width: 800px;
    width: 100%;
    text-align: center;
}
.sample .content > span{
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 3rem;
    color: var(--text-color);
    transition: all 0.8s ease;
}
.sample .content > .scroll:nth-child(1){
    transform: translateY(30px);
    opacity: 0;
    text-shadow: none;
}
.sample .content > .scroll:nth-child(1).view{
    opacity: 1;
    text-shadow: 0 0 20px #cdefdb;
    transform: translateY(0);
}
form{
    background: rgba(121, 160, 133, 0.1);
    border: 2px solid var(--accent-green);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(15px);
    transition: all 0.69s ease-in-out 1s;
}
.sample .content .scroll:nth-child(2){
    transform: scale(0.95);
    opacity: 0;
    box-shadow: none;
}
.sample .content .scroll:nth-child(2).view{
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 15px 2px green;
}
.sample .content form:hover{
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 40px rgba(121, 183, 140, 0.2);
}
form fieldset{
    border: none;
    padding: 5px;
}
form legend{
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan);
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
}
.form-group {
    margin-bottom: 2rem;
    text-align: left;
}
.form-group label{
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}
.input, .output {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.input input, .output input {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border:none;
    border-bottom: 3px solid var(--accent-green);
    border-radius: 10px;
    background: rgba(121, 160, 133, 0.1);
    color: var(--text-color);
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.input input:focus, .output input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(51, 158, 108, 0.5);
}

.input select, .output select{
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: 2px solid var(--accent-green);
    border-radius: 10px;
    background: rgba(121, 160, 133, 0.1);
    color: blend-var(--text-color);
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.input select:hover, .output select:hover {
    border-color: var(--accent-cyan);
}

.convert-btn {
    width: 100%;
    max-width: 200px;
    padding: 15px 30px;
    background: linear-gradient(45deg, var(--accent-green), var(--accent-cyan));
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.5s ease;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.convert-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(121, 183, 140, 0.4);
}
.convert-btn:active {
    transform: translateY(-1px);
}
.outro{
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}
.outro .content {
    text-align: center;
    max-width: 600px;
    width: 100%;
}
.outro .content p{
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: bold;
    margin-bottom: 3rem;
    color: var(--accent-cyan);
    transition: 1s ease-in-out;
}
.outro .content .scroll:nth-child(1){
    opacity: 0;
    transform: translateY(-30px), scale(0.9);
    text-shadow: none;
}
.outro .content .scroll:nth-child(1).view{
    opacity: 1;
    transform: translateY(0), scale(1);
    text-shadow: 0 0 15px var(--accent-cyan);
}
.outro .links{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.outro .links a{
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, var(--accent-green), var(--accent-cyan));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 1s ease-in-out 1s;
    position: relative;
    overflow: hidden;
}
.outro .links .scroll:nth-child(1){
    transform: translateX(50px);
    opacity: 0;
}
.outro .links .scroll:nth-child(1).view{
    opacity: 1;
    transform: translateX(0);
}
.outro .links a:hover{
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(121, 183, 140, 0.4);
}
.outro .links .scroll:nth-child(2){
    transform: translateX(-50px);
    opacity: 0;
}
.outro .links .scroll:nth-child(2).view{
    opacity: 1;
    transform: translateX(0);
}
@media (max-width: 768px) {
    .define .content,
    .siunit .content {
        flex-direction: column;
        text-align: center;
    }

    .siunit .units .icons {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }

    .unit-img {
        width: 50px;
        height: 50px;
    }

    .unit-img img {
        width: 25px;
        height: 25px;
    }

    .input, .output {
        flex-direction: column;
    }

    .outro .links {
        flex-direction: column;
        align-items: center;
    }

    footer .heads {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .siunit .units .icons {
        grid-template-columns: repeat(3, 1fr);
    }

    form {
        padding: 1.5rem;
    }

    footer {
        padding: 2rem 1rem 1rem;
    }
}
footer {
    background: linear-gradient(135deg, rgba(72, 81, 61, 0.9), rgba(121, 160, 133, 0.8));
    padding: 3rem 2rem 2rem;
    border-top: 1px solid rgba(25, 174, 69, 0.3);
}
footer .heads {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
    align-items: center;
}
footer .heads .logo {
    display: flex;
    justify-content: center;
}
footer .heads .logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    filter: drop-shadow(0 0 10px var(--shadow-color));
    transition: 0.5s ease;
}
footer .heads .logo:hover img {
    transform: scale(1.2);
}
footer .heads ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
}
footer .heads ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}
footer .heads ul li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.5s ease;
}
footer .heads ul li a:hover::after {
    width: 100%;
}
footer .heads ul li a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan);
}
footer .heads .social-icons {
    display: flex;
    justify-content: center;
}
footer .heads .social-icons .social-link {
    display: inline-block;
    padding: 10px;
    color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 50%;
}
footer .heads .social-icons .social-link:hover {
    color: var(--accent-cyan);
    background: rgba(33, 158, 108, 0.2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(33, 158, 108, 0.3);
}
footer .lanc {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(25, 174, 69, 0.3);
}
footer .lanc p {
    color: rgba(205, 239, 219, 0.8);
    font-size: 0.9em;
}
footer .lanc span {
    color: var(--accent-cyan);
    font-weight: bold;
}
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
    }
    header nav{
        top: 80%;
    }
    .space{
        display: auto;
    }
    .intro{
        transform: translateY(-150px);
    }
    .intro .content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .define .content {
        flex-direction: column;
        text-align: center;
    }
    .siunit .content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    footer .heads {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    footer .heads ul {
        justify-content: center;
        gap: 1rem;
    }
}
@media (max-width: 480px) {
    header nav {
        padding: 0.5rem 1rem;
    }
    .converter-form {
        padding: 1.5rem;
    }
    .input, .output {
        flex-direction: column;
        gap: 10px;
    }
    .outro .links {
        flex-direction: column;
        gap: 1rem;
    }
}
