/* ---------------- Google fonts ------------------ */
@font-face {
  font-family: "D-DIN-PRO";
  src: url("../fonts/D-DIN-PRO-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "D-DIN-PRO";
  src: url("../fonts/D-DIN-PRO-ExtraBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "D-DIN-PRO";
  src: url("../fonts/D-DIN-PRO-Heavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "D-DIN-PRO";
  src: url("../fonts/D-DIN-PRO-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "D-DIN-PRO";
  src: url("../fonts/D-DIN-PRO-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "D-DIN-PRO";
  src: url("../fonts/D-DIN-PRO-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------------- Basic css ------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

:root {
  scroll-behavior: unset;
  --white: #ffffff;
  --black: #000000;
}

img {
  width: 100%;
}

html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
strong,
i,
ol,
ul,
li,
form,
label,
footer,
header,
menu,
nav,
section {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

a {
  text-decoration: none !important;
  transition: 200ms;
  color: inherit;
}

button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: none;
}

button {
  background: none;
  border: none;
  outline: none;
  padding: 0;
}

/* body */
body {
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--black);
  overflow-x: hidden;
  font-family: "D-DIN-PRO";
  background: #ffffff;
}

.container {
  margin: 0 auto;
  width: 100%;
}

main {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.figure img,
.figure {
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  font-family: "D-DIN-PRO";
  color: var(--black);
}

/* -------------- Main Section --------------- */
.contact_content {
  max-width: 37.5rem;
  margin: 3.5rem auto;
}

.contact_img_wrap {
  position: relative;
}

.contact_img {
  max-width: 16rem;
}

.form_control {
  background: #e6e7e9;
  outline: none;
  border: none;
  width: 100%;
  height: 4.2rem;
  padding: 0 1.6rem;
  border-radius: 0.5rem;
  box-shadow: inset 0.4rem 0.4rem 0.4rem -0.2rem rgba(0, 0, 0, 0.3);
}

.form_group {
  padding-bottom: 1.5rem;
}

.form_control,
.form_control::placeholder {
  font-size: 1.8rem;
  color: #000000;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.button {
  background: linear-gradient(
    30deg,
    rgba(74, 182, 223, 1) 0%,
    rgba(15, 75, 145, 1) 30%
  );
  padding: 0.8rem 2.2rem;
  font-size: 2.1rem;
  line-height: 1;
  color: #fff;
  font-weight: 700;
  border-radius: 0.8rem;
  transition: 0.25s ease;
  cursor: pointer;
}

.button:hover {
  background: linear-gradient(
    25deg,
    rgba(74, 182, 223, 1) 0%,
    rgb(51 102 162) 35%
  );
}

.form_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0 2rem;
}

.contact_content > p {
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.036em;
  line-height: 1.1;
}

.contact_top {
  text-align: center;
}

.contact_top h2 {
  color: #0f4b91;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 1.2rem 0 3.5rem;
}

.logo {
  width: 10.5rem;
}

.logo {
  position: absolute;
  left: -7.55rem;
  top: -0.4rem;
}

.contact_img_wrap {
  width: fit-content;
  margin: 0 auto;
}

.form_control:focus {
  box-shadow: inset 0 0 0.4rem -0.2rem rgba(0, 0, 0, 0.3);
}

.error {
    color: red;
}
