*{
    box-sizing: border-box;
}

:root {
  --red: #701c1c;
  --beige: #f5deb3;
  --white: #f0ead6;
  --minHeight: 630px;
}

html{
    height: 100%;
}

body{
    border-radius: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: var(--minHeight);
    background-color: var(--beige);
    gap: min(3.5vh, 30px);
}

header{
    padding-top: calc(0.02*max(100vh,var(--minHeight)));
    background-color: var(--red);
    width: 100%;
    position: relative;
    height: min(calc(0.22*max(100vh,var(--minHeight))), 140px);
    border-radius: 0 0 50% 50%;
    color: var(--white);
}

.names{
    font-family: Verdana, sans-serif;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 5%;
    left: 3%;
    font-size: 1em;
}

.logo{
    position: absolute;
    top: 5%;
    right: 1%;  
    height: 50%;
    aspect-ratio: initial;
}

h1{
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    font-size: 2em;
    font-family: 'Courier New', serif;
    font-weight: 500;
    height: fit-content;
    text-shadow: black 2px 4px 6px;
}

h2{
    font-family: Verdana, serif;
    margin: 0;
    padding: 0 10%;
    text-align: center;
    color: var(--red);
    font-weight: 900;
    font-size: 2.2em;
}

.discount{
    padding: 0;
    font-family: Verdana, sans-serif;
    font-size: 1.1em;
    text-align: center;
    margin: 0 5% 2vh 5%
}

.dtext{
    color: var(--red);
    text-shadow: goldenrod 2px 2px 3px;
    font-weight: 700;
}

.prices{
    font-family: Verdana, sans-serif;
    font-size: 1.3em;
    text-align: center;
    margin: 0 5%;
    font-weight: 500;
}

.radio-buttons{
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family: Verdana, sans-serif;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    gap: min(5vw, 40px);
    width: 100%;
    padding: 0 10%;
}

input[type="radio"]{
    width: fit-content;
    height: auto;
    margin: 10px 0;
    cursor: pointer;
}

label{
    cursor: pointer;
    font-size: 1.1em;
}

input{
    border-radius: 5px;
    border: 0;
    padding: 5px 10px;
    width: min(80vw, 400px);
    height: min(calc(0.05*max(100vh,var(--minHeight))), 50px);
}

input:focus[type="text"],
input:focus[type="email"],
input:focus[type="number"]{
    outline: var(--red) 2px solid;
}
input::placeholder{
    color: var(--red);
}

.buttons{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

button{
    width: fit-content;
    height: 50px;
    border-radius: 10px;
    border: 0;
    background-color: var(--red);
    color: var(--white);
    font-size: 1.5em;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-bottom: 20px;
}

.cancel{
    background-color: var(--beige);
    color: var(--red);
    border: var(--red) 2px solid;
}

.submit.clicked{
    cursor: wait;
}