/* main content */

.title {
    position: fixed;
    width: 100%;
    pointer-events: none;
    z-index: 9;
}

.title p {
    margin-top: 1rem;
    display: inline-block;
    padding: 5px 9px;
    border-radius: 10px;
    pointer-events: auto;
    /* font-size: clamp(1.2rem, 7vw, 2rem); */
}

header {
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    height: 7rem;
    gap: clamp(5%, 20% - 8rem, 20rem);
    z-index: 10;
    position: relative;
}

header img {
    width: 9rem;
    z-index: 2;
}

header .make {
    border-radius: 4px;
    background-color: #125ba0;
    width: min(18%, 120px);
    padding: 4px;
    font-size: 15px;
    cursor: pointer;
    z-index: 2;
    color: red;
    font-size: min(3.3vw, 1.7rem);
    transition: background-color 0.1s ease, color 0.1s ease;
}

header .make:active {
    background-color: #0d4375;
    color: maroon;
}

#make-btn {
    pointer-events: none;
}

main {
    display: flex;
    flex-flow: column nowrap;
    font-size: 2rem;
}

.block {
    min-height: 500px;
}

.container {
    padding: 5rem 0;
    width: 95%;
    max-width: 120rem;
    margin: 0 auto;
    display: flex;
    flex-flow: row-reverse wrap;
    justify-content: space-around;
    align-items: center;
    /* background-color: orange; */
}

.tan {
    background-color: antiquewhite;
}

.green {
    background-color: #6cc58e;
}

.blue {
    background-color: #5098dc;
}

.white {
    background-color: #ffffff;
}

.text-box-one {
    max-width: 37rem;
    z-index: 2;
}

.margin-top-sml {
    margin-top: .8em;
}

.triphoto {
    position: relative;
    display: inline-block;
    --rotation: 8deg;
    --offset: 70%;
}

.center {
    z-index: 3;
    position: relative;
    width: min(75%, 55vw);
    margin: 0 auto;
}

.left, .right {
    position: absolute;
    opacity: 40%;
    /* opacity: 0%; */
    z-index: 1;
    bottom: 5%;
    width: min(60%, 44vw);
}

.left {
    right: var(--offset);
    /* rotate: calc(var(--rotation) * -1); */
}

.right {
    left: var(--offset);
    /* rotate: var(--rotation); */
}

.left, .right, .center {
    border-radius: 5px;
}

dialog {
    outline: none;
    border: none;
    position: relative;
    padding: 30px 10px;
    width: min(77%, 30rem);
    border-radius: 10px;
    min-height: 40rem;
    margin: auto;
}

dialog[open] {
    display: flex;
    flex-flow: column nowrap;

}

dialog::backdrop {
    background-color: #00000033;
    backdrop-filter: blur(2px); 
}

#login-form {
    margin: 3rem 0;
    font-size: x-large;
    display: flex;
    flex-flow: column nowrap;
    gap: 2rem;
}

.form-duo {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
}

.exit {
    display: inline-block;
    cursor: pointer;
    font-size: 3rem;   
    color: #333333;
    position: absolute;
    top: 0;
    right: 8px;
}

.exit::before {
    content: "\00d7";
}

input[type="email"] {
    padding: 4px;
    font-size: 1.5rem;
    width: min(90%, 400px);
}

#form-swap {
    color: #5098dc;
    cursor: pointer;
    font-size: 1.3rem;
    padding-top: 1em;
}

input[type="submit"] {
    padding: .4em;
    font-size: 2rem;
    border: black solid 2px;
    border-radius: 8px;
}

#check {
    margin: auto;
    font-size: 2rem;
}

dialog h2 {
    font-size: 20px;
}

dialog .end {
    margin-top: auto;
}