@font-face {
    font-family: "Montserrat";
    src: url(font/montserrat/Montserrat-Black.ttf);
    font-weight: 900;
}

@font-face {
    font-family: "Montserrat";
    src: url(font/montserrat/Montserrat-ExtraBold.ttf);
    font-weight: 800;
}

@font-face {
    font-family: "Montserrat";
    src: url(font/montserrat/Montserrat-Light.ttf);
    font-weight: 300;
}

@font-face {
    font-family: "Montserrat";
    src: url(font/montserrat/Montserrat-Regular.ttf);
    font-weight: 400;
}

@font-face {
    font-family: "protoSans";
    src: url(font/protoSans.ttf);
}

*{margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Montserrat;
}

:root{

--bg-color: white;
--card-bg-color: #EAEAEA;
--font-card-color: #343434;
--font-site-color: #000000;
--white-color: white;
--main-gradient: radial-gradient(30.58% 197.36% at 30.23% 113.13%, #FF542F 0%, rgba(255, 84, 47, 0) 100%),
linear-gradient(272.09deg, #FF055F -2.21%, #0BB6FF 108.82%);
--basic-shadow: 0px 20px 30px rgba(0, 0, 0, 0.07);
--accent-color-1:#FF055F;
--accent-color-2:#0BB6FF;

/* Font size variables */

--title-size:3rem;
--sub-title-size:2rem;
--base-text-size:1rem;

/* 1rem = 16px */

}

.gray_card{background-color: var(--card-bg-color);
    border-radius: 20px;
}

.page_name{font-family: protoSans;
    font-size: 5rem;
}

.page_name_text{font-family: protoSans;
    font-size: 2rem;
    transform: rotate(90deg) translate(-40px, -30px);
    display: inline-block;
    transform-origin: left;
}

#request_toggler{display: none;
}

.top_bar{position: fixed;
    width: 100%;
    z-index: 1000;
}

.top_bar_container{
}

.top_bar_body{background-color: var(--bg-color);
    max-width: 1700px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 19px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.top_bar_body::after{content: "";
    width: 100%;
    height: 5px;
    background: linear-gradient(91deg, #0bb6ff 48%, #ff045f 52%);
    position: absolute;
    bottom: 0;
    left: 0;
}

.top_bar_body label{border: 3px var(--accent-color-1) solid;
    width: 204px;
    height: 41px;
    display: inline-block;
    border-radius: 5px;
    position: relative;
}

.top_bar_body label::before{content: "";
    background: url(img/icons/form-btn--open.svg);
    width: 21px;
    height: 23px;
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
}

.top_bar_body label::after{content: "Leave a Request";
    color: var(--accent-color-1);
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.top_bar_form {background-color: rgba(26, 26, 26, 0.71);
    backdrop-filter: blur(10px);
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scaleY(0);
    transition: 0.5s;
    transform-origin: top;
}

.form_body {display: flex;
    flex-direction: column;
    background-color: var(--bg-color);
    width: 36%;
    padding: 60px 70px 77px 81px;
    border-radius: 20px;
    align-items: center;
}

.form_body h2{margin-bottom: 47px;
    text-align: center;
}

.form_body input{margin-bottom: 60px;
    background-color: var(--card-bg-color);
    border-style: none;
    padding: 20px 0 16px 25px;
    border-radius: 20px;
    width: 100%
}

.form_body button{padding: 27px 117px;
    border-radius: 20px;
    background-color: var(--accent-color-2);
    border-style: none;
    color: var(--white-color);
}

.form_body input::placeholder{color: var(--white-color);
}

#request_toggler:checked~.top_bar_form{transform: scaleY(1);
}

#request_toggler:checked~.top_bar_body label::before{background: url(img/icons/form-btn--close.svg) center/cover no-repeat;   
}

#request_toggler:checked~.top_bar_body label::after{content: "Close";
    right: 52px;
}

.nav {background-color: var(--white-color);
    position: fixed;
    z-index: 99;
    top: 50%;
    transform: translateY(-50%);
    padding: 23px 23px 50px;
    display: flex;
    flex-direction: column;
    left: 36px;
    border-radius: 20px;
}

.nav_title{margin-bottom: 33px;
    text-align: center;
}

.nav_card {margin-bottom: 29px;
    width: 70px;
    height: 70px;
    position: relative;
    perspective: 200px;
}

.nav_card:hover .nav_card_body{transform: rotateY(180deg);
}

.nav_card_body {width: 100%;
    height: 100%;
    transition: 0.5s;
    transform-style: preserve-3d;
}

.front_nav_card {position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--card-bg-color);
    padding: 7px;
    border-radius: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
}

.back_nav_card {position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--card-bg-color);
    font-weight: bold;
    padding: 7px;
    display: flex;
    justify-content: space-between;
    border-radius: 10px;
    transform: rotateY(180deg);
}

.back_nav_card img{align-self: flex-end;
}

.header {display: flex;
    width: 100%;
    font-weight: 900;
    height: 100vh;
    align-items: center;
    background: url(img/images/header-bg.png) no-repeat center/cover;
    justify-content: space-between;
}

.header_left {padding-left: 204px;
    width: 50%;
}

.header_left a{
}

.header_right {width: 50%;
    position: relative;
}

.header_left h1{font-size: 3.625rem;
}

.header_left h1::first-letter{font-size: 5rem;
}

.header_button{border: 2px solid var(--accent-color-2);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    position: relative;
    margin-top: 158px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_button::after{content: url(img/icons/header-button-arrow.svg);
    transition: 0.3s;
}

.header_button:hover::after{transform: translateY(200%);
}

.header_knight{background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
    padding: 45px 0 32px 58px;
    border: 4px solid white;
    border-right: none;
    border-radius: 20px;
    margin-left: auto;
    display: block;
}

.header_panel{position: absolute;
    top: 50px;
    left: 120px;
}

/* Create the footer (it’s at the very bottom) */