:root {
    --rw_red:  #ee3452;
    --rw_green: #34c883;
    --rw_ltgreen: #57ff9d;
    --rw_HltGreen: #98f4bf;
    --rw_yellow: #ffff7f;
    --rw_blue: #567aff;
    --rw_dkblue: #5b59c9;
    --rw_midGreen: #4b7b0c;
    --rw_magenta: #f28ded;
    --rw_ltRose: #f3d0ff;
    --rw_lime: #D4F973;
    --rw_purple: #952c55;
    --rw_gold: #ffd970;
    --rw_orange: #ffbb8d;
    --rw_turquoise: #33bda8;
    --rw_ltTeal: #7af4dd;
    --rw_black: #3b3b3b;
    --rw_dkblack: #292929;
    --rw_type: #f2f2e6;
    --rw_gradient: linear-gradient(top, #34c883 26%, #567aff 67%);
    --rw_font: Montserrat, sans-serif;
    --square-height: clamp(200px, 33vw, 300px);
    --overlap: 0;
    --font-size: clamp(.9rem, 1rem, 20ch);
    --line-height: clamp(1rem, 1.2rem, 20ch);
}
@font-face {
    font-family: "Montserrat", sans-serif;
    src: "https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;";
    font-optical-sizing: auto;
    font-style: normal;
}
* {
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
}
body {
    overflow-x: hidden;
    background-color: var(--rw_blue);
    color: var(--rw_type);
    font-family: var(--rw_font);
    font-weight: 300;
    font-style: normal;
    font-size: var(--font-size);
    line-height: var(--line-height);
    height: 100vh;
    width: 100vw;
    min-width: 320px;
    min-height: 320px;
}

.top {
    display: grid;
    place-items: center;
    background-color: var(--rw_blue);
    height: 100vh;
    width: 100%;
    z-index: 1;
    contain: content;
}
.top img {
    height: var(--square-height);
    max-width: 95%;
    z-index: 2;
}

.intro {
    display: grid;
    justify-content: center;
    z-index: 1;
    background-color: var(--rw_blue);
    height: 45vh;
    width: 100%;
}
#type-block ol {
    margin-left: -1rem;
}

.middle {
    display: grid;
    z-index: 1;
    height: 100vh;
}

.middle img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.middle .head-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
    height: 100%;
    width: 100%;
    min-width: fit-content;
    padding: 0 20%;
}
.wrapper {
    height: 100%;
    width: 100%;
    z-index: 10;
    margin: 0 auto;
}
.border {
    border: 1px solid lime;
}
.button {
    text-decoration: none;
    color: var(--rw_type);
    background-color: none;
    backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);
    border: 2.3px solid var(--rw_type);
    max-width: 25%;
    padding: .9em;
    margin: 0;
    min-width: fit-content;
    min-height: 32px;
    font-size: var(--font-size);
    font-weight: 400;
    text-wrap: nowrap;
    text-align: center;
}
@media screen and (max-height:680px){
    .intro {
        min-height: 60vh;
    }
}

@media screen and (min-height: 200px) and (max-height:480px) {
    body {
        font-size: 16px;
        line-height: 20px;
}
}

@media screen and (max-width:660px){
   .middle .head-panel {
        display: grid;
        justify-content: space-around;
        z-index: 2;
        height: 100%;
        width: 100%;
        padding: 30% 0;
    }
}

@media screen and (min-width:1440px) {
    .middle .head-panel {
        justify-content: space-around;
    }

}

@media screen and (max-height:320px) or (max-height:320px) {
    body {
        padding: 5%;
    }
}