*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    color: #131313;
    font-family: "Manrope", serif;
    font-optical-sizing: auto;
    font-weight: 350;
    font-style: normal;
}

body {
    overflow: hidden;
    height: 100vw;
    width: 85vw;
    margin: 0 auto;
    background-color: #F5F5F5;
    border-left: 1px solid black;
    border-right: 1px solid black;
    font-size: 1.125rem;
    line-height: 1.75rem;
    letter-spacing: 0.5px;
}

button,
h3,
label {
    font-family: "DM Mono", serif;
    font-size: 1.5rem;
    font-weight: 500;
    font-style: normal;
    text-transform: uppercase;
}

header,
.about,
.how {
    padding: 20px;
}

/* HEADER */

header {
    height: 15vh;
    border-bottom: 1px solid #131313;
    align-content: end;
}

h1 {
    font-size: 4rem;
    line-height: 4rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1.5px;
}

/* MAIN */

main {
    height: calc(85vh - 20px);
}

/* LEFT */

.left,
form {
    border-right: 1px solid #131313;
}

.left {
    height: inherit;
}

.about {
    border-bottom: 1px solid #131313;
}

.about,
.how {
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

ol {
    padding: 20px 0 0 30px;
}

/* FORM */

form {
    width: calc((85vw / 12) * 6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

form div {
    width: 75%;
}

.user-input label,
.user-input input,
.user-input select {
    width: 100%;
}

.user-input input,
.user-input select {
    margin: 10px 0 30px;
    padding: 9px;
    border-radius: 10px;
    border: 1px solid #131313;
    background-color: #FFFFFF;
    font-size: 1rem;
}

button {
    background-color: #FF5A32;
    border: none;
    border-radius: 50px;
    height: 40px;
    width: 140px;
    color: #FFFFFF;
    font-weight: 300;
    font-size: 1rem;
    margin-bottom: 20px;
}

button:hover,
button:focus {
    background-color: #E74700;
    font-weight: 500;
    cursor: pointer;
}

hr {
    width: 75%;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #131313;
    border: 1px solid;
    border-bottom: none;
  }

.converted {
    width: 75%;
    display: flex;
    justify-content: space-between;
}

.converted label {
    padding-top: 10px;
}

.result {
    font-family: "DM Mono", serif;
    font-size: 1.5rem;
    font-weight: 300;
    font-style: normal;
    text-transform: uppercase;
    text-align: end;
    padding: 10px 0;
}

/* RIGHT */

.right {
    display: flex;
    align-items: center;
    justify-content: center;}

img {
    max-height: 450px;
}

/* BOTTOM */

.not-quite-footer {
    height: 20px;
    border-top: 1px solid #131313;
}

/* GRID LAYOUT */

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

.cell {
    height: 100px;
}

/*default - small devices*/
[class*="col"] {
    grid-column-end: span 12;
}

/*below 601px*/
@media only screen and (max-width: 601px) {

    .sm1 {
        grid-column-end: span 12;
    }

    .sm2 {
        grid-column-end: span 6;
    }

    .sm3 {
        grid-column-end: span 4;
    }

    .sm4 {
        grid-column-end: span 3;
    }

    .sm6 {
        grid-column-end: span 2;
    }

    .sm12 {
        grid-column-end: span 1;
    }

}

/*above 601px - tablets*/
@media only screen and (min-width: 601px) {

    .md1 {
        grid-column-end: span 12;
    }

    .md2 {
        grid-column-end: span 6;
    }

    .md3 {
        grid-column-end: span 4;
    }

    .md4 {
        grid-column-end: span 3;
    }

    .md6 {
        grid-column-end: span 2;
    }

    .md12 {
        grid-column-end: span 1;
    }

}

@media only screen and (min-width: 1025px) {

    .col1 {
        grid-column-end: span 12;
    }

    .col2 {
        grid-column-end: span 6;
    }

    .col3 {
        grid-column-end: span 4;
    }

    .col4 {
        grid-column-end: span 3;
    }

    .col6 {
        grid-column-end: span 2;
    }

}