/*
* CSS only applying to the calculators section
 */

.cards {
    margin-top: 18vh;
    height: auto;
    width: 100vw;
}

.card {
    z-index: 20;
    width: 80%;
    min-height: 400px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 15px;
    position: relative;
}

.card > * {
    position: relative;
    z-index: 21;
}

.card h2 {
    z-index: 50;
    color: #FFF;
    font-family: Roboto, serif;
    font-size: 4vw;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 10px 20px;
}

.card:nth-of-type(1) {
}

.card:nth-of-type(2) {
    margin-top: 10vh;
}

form {
    float: left;
    margin: 10px 20px;
    width: 30%;
}

form > * {
    margin: 10px 0;
}

.radio-selection {
    color: white;
    cursor: pointer;
    font-size: 3vw;
    display: grid;
    grid-template-columns: 1em auto;
}

input[type="radio"] {
    transform: translateY(+0.15em);
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    font: inherit;
    width: 0.75em;
    height: 0.75em;
    border: 0.085em solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: grid;
    place-content: center;
    cursor: pointer;
}

input[type="radio"]:hover {
    border: 0.085em solid rgba(255, 255, 255, 0.6);
}

input[type="radio"]::before {
    content: "";
    width: 0.4em;
    height: 0.4em;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em rgba(255, 255, 255, 1);
}

input[type="radio"]:checked::before {
    transform: scale(1);
}

input[type="radio"]:checked {
    border: 0.085em solid rgba(255, 255, 255, 0.7);
}

#distance,
#paper {
    color: #FFF;
    font-family: Outfit, serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    background: none;
    border-radius: 15px;
    border: 4px solid #FFF;
    text-decoration: none;
    display: inline-flex;
    padding: 16px;
    justify-content: center;
    align-items: center;
}

#distance {
    width: 75%;
}

#distance:focus,
#paper:focus {
    outline: none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#co2-neutral {
    color: #154214;
    font-family: Outfit, serif;
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    position: absolute;
    top: 50%;
    left: 80%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: none;
    align-items: flex-end;
}

.emissions {
    float: right;
    display: none;
    position: absolute;
    text-align: right;
    bottom: 5%;
    right: 5%;
    width: 60%;
}

.emissions p {
    color: #FFF;
    font-family: Newsreader, serif;
    font-size: 50px;
    font-style: italic;
    font-weight: 300;
    line-height: normal;
    margin: 0;
}

#fact {
    position: absolute;
    bottom: 5%;
    display: flex;
    align-items: center;
    width: 95%;
}

#fact p {
    color: #FFF;
    font-family: Roboto, serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0;
    flex: 4;
}

#fact img {
    width: 40px;
    margin: 0 1%;
}

#paper-input {
    width: 95%;
    margin: 10px 20px;
}

#paper-input label {
    color: #FFF;
    font-family: Outfit, serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

#paper {
    width: 10%;
}

.paper.emissions {
    float: right;
    bottom: 20%;
}




