body {
    margin: 0;
    font-family: "Inter", sans-serif;
}

.header_toggle-theme {
    display: flex;
    justify-content: center;
    align-items: center;  
    gap: 20px; 
}

#theme-toggle {
    display: flex;
    align-items: center;
    height: 20px;
}

h1 {
    font-size: 28px;
    font-weight: 800;
    line-height: 28px;
    color: #FFFFFF;
    margin: 33px 0 33px 51px;
}

.upper-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #6943FF;
}

.input-btn-container {
    display: flex;
    flex-direction: column;
    gap: 27px;
}

#unit-input {
    width: 117px;
    height: 83px;
    background-color: transparent;
    border: 2px solid #B295FF;
    border-radius: 5px;
    color: #FFFFFF;
    font-size: 58px;
    font-weight: 800;
    line-height: 25px;
    text-align: center;
}

.btn {
    margin-bottom: 34px;
    padding: 9px 28px;
    background-color: #FFFFFF;
    border-radius: 5px;
    border: none;
}

.converted-units-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 23px;
    background-color: #F4F4F4;
    padding: 36px 0 36px 0;
}

.converted-units-container.dark-mode {
    background-color: #1F2937;
    
}

.converted-units-length, .converted-units-volume, .converted-units-mass {
    width: 570px;
    height: 109px;
    background-color: #FFFFFF;
    text-align: center;
}

.converted-units-length.dark-mode {
    background-color: #273549;
}

.converted-units-volume.dark-mode {
    background-color: #273549;
}

.converted-units-mass.dark-mode {
    background-color: #273549;
}

#header-length, #header-volume, #header-mass {
    color: #5A537B;
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
}

#header-length.dark-mode {
    color: #CCC1FF;
}

#length, #volume, #mass {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #353535;
}

#header-volume.dark-mode {
    color: #CCC1FF;
}

#header-mass.dark-mode {
    color: #CCC1FF;
}

#length.dark-mode {
    color: #FFFFFF;
}

#volume.dark-mode {
    color: #FFFFFF;
}

#mass.dark-mode {
    color: #FFFFFF;
}