:root {
    --font-family: 'Inter', sans-serif;
    --body-bg-color: #1c1c1c;
    --main-bg-color: #f5f5f5;
    --main-border-color: #ffffff;
    --main-input-border-color: #B295FF;
    --main-top-color: #6943ff;
    --main-output-box-color: #ffffff;
    --h1-text-color: #ffffff;
    --h2-text-color: #5A537B;
    --h3-text-color: #353535;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--main-input-border-color);
    opacity: 1; /* Firefox */
}


body {
    margin: 0;
    background: var(--body-bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family);
    height: 100vh;
}

h1 {
    margin: 0;
    font-weight: 800;
    font-size: 28px;
    line-height: 38px;
    color: var(--h1-text-color);
    letter-spacing: 1px;
}

h2 {
    margin-top: 0;
    color: var(--h2-text-color);
    text-align: center;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 20px;
    margin-bottom: 10px;
}

h3 {
    margin: 0;
    color: var(--h3-text-color);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.main-flex-container {
    display: flex;
    flex-direction: column;
    margin: auto;
    background: var(--main-bg-color);
    width: 550px;
    border-radius: 20px;
    border: 5px solid var(--main-border-color);
}

.section-flex-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
}

#convert-btn {
    background: #FFFFFF;
    width: 150px;
    height: 42px;
    border: none;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 1);
    border-radius: 5px;
    font-weight: 900;
    font-size: 16px;
    line-height: 24px;
    color: #3D3D3D;
    text-transform: uppercase;
}

#convert-btn:hover {
    cursor: pointer;
}

#convert-btn:active {
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 1);
    transform: translateY(4px) translateX(2px);
}

*:focus {
    outline: none;
}

#input-text-box {
    text-align: center;
    box-sizing: border-box;
    background-color: var(--main-top-color);
    border: 3px solid var(--main-input-border-color);
    width: 150px;
    height: 85px;
    border-radius: 5px;
    font-style: normal;
    font-weight: 800;
    font-size: 58px;
    line-height: 24px;
    color: var(--h1-text-color);
    cursor: default;
}


#input-top-section {
    display: flex;
    background: var(--main-top-color);
    align-content: space-evenly;
    height: 285px;
    border-radius: 15px 15px 0 0;
}

.output-box {
    display: flex;
    flex-direction: column;
    height: 100px;
    width: 500px;
    margin: 10px 0;
    line-height: 0;
    justify-content: center;
    align-items: center;
    background: var(--main-output-box-color);
    border-radius: 5px;
    border: 3px solid var(--main-output-box-color);
}

.output-box:hover {
    border: 3px dashed var(--main-top-color);
    cursor: pointer;
}
