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

:root{
    font-size: 62.5%;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
}

body{
    font-size: 1.6rem;
    width: 100%;
    min-height: 100vh;
    max-height: 100%;
    background: linear-gradient(to top right,#07070D,#010A26);
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 8rem;
}

.title{
    font-size: 5rem;
    background-image: linear-gradient(to right,#F2561D,#D92B04,#F2561D);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#logo{
    width: auto;
    height: 8rem;
}

main{
    color: var(--font-color);
    width: 100%;
    height: max-content;
    padding: 0 1rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #1E2D40;
    box-shadow: .5rem .5rem 5rem rgba(0, 0, 0, 0.651);
    padding: 2rem;
    border-radius: 8px;
}

.input-box{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input, label{
    cursor: pointer;
    width: 100%;
    margin: 0.5rem 0 0 0;
}

label{
    font-size: 1.3rem;
    color: rgb(255, 255, 255);
}

input{
    background-color: #e5e5e5;
    outline: none;
    border: none;
    border-radius: 8px;
    height: 3.5rem;
    padding: .5rem;
    color: #07070D;
}

input:focus{
    border: 1.5px solid #D92B04;
    color: #D92B04;
}

input::placeholder{
    color: #1e2d4096;
}

.btn{
    background: #D92B04;
    transition: all 200ms ease-in-out;
    color: #010A26;
    font-size: 1.8rem;
}

.btn:hover{
    background: #b4afaf;
}

.btn:focus, .btn.refresh:focus{
    border: none;
    color: #010A26;
}

.btn.refresh{
    width: auto;
    align-self: end;
}

.outputs{
    width: 100%;
    height: auto;
    display: none;
    flex-direction: column;
    gap: 15px;
    justify-content: space-between;
    margin-top: 2rem;
}

.output{
    width: 100%;
    height: 4rem;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.459);
    color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(2px);
    box-shadow: .5rem .5rem 5rem rgba(0, 0, 0, 0.651);

}

.result-text{
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.outputs span{
    font-size: 1rem;
    font-style: italic;
    color: #c2c2c2;
}

footer{
    margin-bottom: 3rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #b4afaf;
    font-size: 1.3rem;
}


footer #explanation{
    text-align: center;
    max-width: 90%;
    font-size: 1.2rem;
    color: #b4afaf;
    font-style: italic;
}

dialog{
  align-self: center;
  justify-self: center;
  margin-top: -15rem;
  height: max-content;
  width: 35rem;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  box-shadow: .5rem .5rem 5rem rgba(0, 0, 0, 0.651);
  background-color: #e5e5e5;

}

.modalContent{
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    height: 100%;
}

#btnModal{
    width: 35%;
    height: max-content;
    align-self: flex-end;
}

dialog::backdrop{
    background: #00000042;
    backdrop-filter: blur(5px);
}

.errorText{
    color: #07070D;
}

@media (min-width:888px){
    .box, .outputs{
        width: 90%;
    }
}
@media (min-width:564px){
    .box, .outputs{
        width: 55%;
    }
}