html {
    box-sizing: border-box;
    background: #F5F6FA 0% 0% no-repeat padding-box;
    font-size: 62.5%;
    font-family: 'Roboto', serif;
}
*,
*:before,
*:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(0,0,0,0); 
}

body { position: relative; }

.header {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.header__buttons {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.btn-menu {
    height: max-content;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 900;
    border-radius: 3rem;
    box-shadow: 0 0.3rem 0.6rem #00000029;
    border: none;
    outline: none;
    background-color: #fff;
    color: #00000099;
    cursor: pointer;
}
.nav-menu {
    height: 100vh;
    position: absolute;
    left: -100%;
    top: 0;
    right: 100%;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10rem;
    padding: 4rem;
    padding-left: 4rem;
    background: #1D3E82;
    transition: all .5s ease;
}
.nav__menu--active {
    left: 0;
    right: 0;
}
.nav-menu ul {
    width: 100%;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}
.nav-menu ul li {
    width: 100%;
    padding-bottom: 0.5rem;
    border-bottom: 0.1rem solid #fff;
}
.close-menu {
    width: 5rem;
    height: 5rem;
    outline: none;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}
.menu__item {
    font-size: 2.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
}

.btn-export{
    width: 10rem;
    height: 5rem;
    background-image: url("../src/pdfExport.svg");
    background-repeat: no-repeat;
    background-position: -1.2rem center;
    border: none;
    border-radius: 2rem;
    outline: none;
    cursor: pointer;
}

.header__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.header__logo img{
    max-width: 10rem;
}
.header__logo h1{
    width: 20rem;
    text-align: center;
    font-size: 2.4rem;
    font-weight: 900;
    color: #707689;
}

main {
    max-width: 50rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    padding: 1rem 3rem;
    margin: 0 auto;
}

.adder-section {
    width: 100%;
    height: max-content;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 7px 7px 3rem #00000029;
}
.adder__label {
    font-size: 1.7rem;
    padding-left: 1rem;
}

.adder__select-container {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #f1f1f1;
    border-radius: 2.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}
.adder__select {
    width: 100%;
    margin: 0;
    padding: 1rem 6rem 1rem 2rem;
    font-size: 1.4rem;
    appearance: none;
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
}
.adder__select-container::after {
    content: url("../src/Trazado 49.svg");
    position: absolute;
    right: 2rem;
    pointer-events: none;
    background-size: contain;
}
.adder__select-container::before {
    content: '';
    position: absolute;
    right: 5rem;
    width: 1px;
    height: 2rem;
    background-color: #ddd;
}

.adder__input-group {
    width: 100%;
    margin-top: .8rem;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    padding: 0 1rem;
    color: #1C3F80;
}
.adder__input-group--enter {
    animation: slideDown 0.5s ease-out forwards;
}
.adder__input-group--exit {
    animation: slideUp 0.5s ease-out forwards;
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.adder__input {
    width: 100%;
    font-size: 1.4rem;
    padding-bottom: .5rem;
    padding-left: .5rem;
    border: none;
    outline: none;
    border-bottom: 1px solid #1C3F80;
}
.adder__input::placeholder {
    font-size: 1.3rem;
    color: #1C3F804D;
}
.adder__percentage {
    font-size: 1.7rem;
}

.form-section {
    width: 100%;
    padding: 0 1rem;
}
.form-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.form-group label {
    font-size: 1.6rem;
    color: #262626;
}
.form-group .input-container {
    width: 16.5rem;
    height: 4rem;
    display: flex;
    align-items: center;
    gap: .8rem;
    position: relative;
    padding: 1rem;
    font-size: 1.6rem;
    border-radius: 2rem;
    background-color: #ffffff;
    box-shadow: 2px 7px 2.7rem #363E9329;
}
.input-icon {
    padding-left: .5rem;
    color: #848484;
}
.input-container input {
    width: 100%;
    font-size: 1.4rem;
    color: #333333;
    border: none;
    outline: none;
}

.total-price {
    width: 100%;
    height: 12rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    padding: 2rem;
    background-color: #1C3F80;
    border-radius: 1rem;
}
.total-price__title {
    font-size: 2.2rem;
    font-weight: 300;
    color: #FFFFFF;
}
.total-price__amount {
    font-size: 4rem;
    font-weight: 900;
    color: #F39D15;
}

@media (min-width: 1024px) {
    .btn-menu {
        top: 2rem;
        left: 2.5rem;
        gap: 1.5rem;
    }
    .nav-menu {
        padding-left: 8rem;
    }
    .nav-menu ul li {
        width: 40%;
    }
    .menu__item {
        font-size: 3rem;
    }
}