@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');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;

    font-family: 'Poppins';

    overflow: hidden;

}

:root {
    --main-color: #7C55DA;
    --bg-color: #05051E;
}

/* --------------------------------- HOME -------------------------------------- */
body {
    background-color: var(--bg-color);
}

.navbar {
    position: absolute;
    top: 0;
    width: 100vw;
    height: 23.15vh;

    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0));
}

.navbar .logo {
    position: absolute;
    left: 2.6vw;
    top: 4.63vh;

    width: 8.12vw;
    height: 4.63vh;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.logo .logo-txt {
    color: white;
    font-size: 1.56rem;
    font-weight: 600;
}

.logo img {
    height: 4.63vh;
    width: auto;
}

.menu {
    position: absolute;
    top: 5vh;
    left: 50%;
    transform: translate(-50%, 0);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;

    width: 13.54vw;
    height: 3.7vh;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    gap: 25px;
}

.menu a {
    color: white;
    font-size: 1.56rem;
    font-weight: 200;
    text-align: center;

    cursor: pointer;
    transition: 0.2s ease-in;
}

.menu a:hover {
    color: var(--main-color);
    font-weight: bold;
}

.menu a.selected {
    font-weight: bold;
}

.images .grid {
    position: absolute;
    top: 17.95vh;
    left: 50%;
    transform: translate(-50%, 0);
    height: 74.44vh;

    z-index: -3;
}

.images .arch {
    position: absolute;
    top: 33.98vh;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: -1;
}

.images .gradient {
    position: absolute;
    top: 12vh;
    left: 50%;
    transform: translate(-50%, 0);

    z-index: -2;
}

.content .title
{
    position: absolute;
    top: 28.61vh;
    left: 50%;
    transform: translate(-50%, 0);

    width: 56.72vw;
    height: 30vh;
    line-height: 120%;

    font-size: 6.25rem;
    color: white;

    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content .subtitle {
    position: absolute;
    bottom: 31.67vh;
    left: 50%;
    transform: translate(-50%, 0);

    width: 38.85vw;
    height: 8.8vh;
    line-height: 150%;

    font-size: 1.56rem;
    color: white;
    opacity: 0.5;
    font-weight: 300;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.content .btn {
    position: absolute;
    bottom: 19vh;
    left: 50%;
    transform: translate(-50%, 0);

    width: 11.8vw;
    height: 7vh;

    background-color: transparent;
    color: white;
    font-size: 1.56rem;

    border: 5px solid var(--main-color);
    border-radius: 100px;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    transition: 0.3s ease-in-out;
}

.content .btn:hover {
    background-color: var(--main-color);
    filter: drop-shadow(0px 0px 20px rgba(124, 85, 218, 0.85));
}

/* --------------------------------- CONVERTER -------------------------------------- */
.images .gradient-1 {
    position: absolute;
    bottom: -30vh;
    right: 0;

    z-index: -2;
}

.images .gradient-2 {
    position: absolute;
    left: -20vw;
    top: -30vh;

    z-index: -2;
}

.content .cnv-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    width: 46.88vw;
    height: 46.3vh;

    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(50px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4.6vh;
}

.cnv-panel .category {
    width: 41.67vw;
    height: auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 1.5vh;
}

.category .category-title {
    color: white;
    font-size: 1.56rem;
    font-weight: 400;
}

.category select {
    width: 100%;
    height: 4.63vh;

    background-color: rgba(255, 255, 255, 0.25);
    border: transparent;
    border-radius: 8px;

    outline: none;
    color: white;

    padding: 0 0.5vw;
}

select option {
    color: black;
}

.result {
    width: 41.67vw;
    height: auto;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.result .input {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;

    gap: 2vh;
}

.input .input-title {
    color: white;
    font-size: 1.56rem;
}

.input input {
    width: 18.23vw;
    height: 4.63vh;

    background-color: rgba(255, 255, 255, 0.25);
    outline: none;
    border: transparent;
    border-radius: 8px;

    margin-top: 2vh;

    padding-left: 0.5vw;
    color: white;
}

.result .output {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;

    gap: 2vh;
}

.output .output-title {
    color: white;
    font-size: 1.56rem;
}   

.output p {
    color: white;
    font-size: 1rem;
}






















input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Quita las flechas en Firefox */
input[type=number] {
    appearance:  textfield;
}