*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* fonts */
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* root */
html{
    scroll-behavior: smooth;
}
body{
    font-family: var(--text);
    background: var(--bg);
}
.top_page{
    padding-top: 180px;
}
h1,h2,h3,h4,p,a,button,input,select{
    font-family: var(--text);
}
:root{
    --bg: #fff;
    --light-gray: #F5F5F5;
    --gray: #cecece;
    --main: #C71F1F;
    --container: 1420px;
    --text: 'Gilroy';
}
section{
    padding-top: 120px;
}
.container{
    width: 100%;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
}
a{
    text-decoration: none;
    color: #000;
    transition: .3s;
}
a:hover{
    color: var(--main);
}
p{
    line-height: 1.5;
}
ul{
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 5px;
}
ul.nav{
    flex-direction: row;
}
.btn_main, a.btn_main{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: var(--main);
    border: 1px solid var(--main);
    font-family: var(--text);
    border-radius: 4px;
    cursor: pointer;
    transition: .3s;
    line-height: 1.2;
}
.btn_main_border, a.btn_main_border{
    background: transparent;
    color: var(--main);
}
.btn_main:hover{
    box-shadow: 0px 2px 6px #e00d0d90;
}
h1{
    font-size: 48px;
    font-weight: 700;
}
h1 span, h2 span{
    color: var(--main);
}
h2{
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: 700;
}
h3{
    font-size: 24px;
    font-weight: 700;
}
.bg_image{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
input{
    border: 1px solid var(--gray);
    padding: 16px 20px;
    color: #000;
    border-radius: 4px;
    width: 100%;
    font-size: 16px;
    background: #fff;
}
input:focus, input:active{
    outline: none;
}
input[type="checkbox"]{
    -webkit-appearance: none;
    appearance: none;
    width: 22px !important;
    min-width: 22px;
    height: 22px !important;
    padding: 0;
    border: 1px solid var(--main);
    border-radius: 0.25rem;
    background-color: var(--light-gray);
    cursor: pointer;
    transition: .3s;
}
input[type="checkbox"]:checked{
    background-color: var(--main);
    border-color: var(--main);
    background-image: url('/img/icons/checkbox.svg');
    background-size: cover;
    background-position: center;
}
input[type="checkbox"]:active {
    filter: brightness(90%);
}
input[type="checkbox"]:hover:not(:disabled) {
    border-color: var(--main);
}
input[type="checkbox"]:focus {
    border-color: var(--main);
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(255, 221, 221, 0.3);
}
.form_check label{
    font-size: 14px;
    color: var(--gray);
}
.form_check label a{
    text-decoration: underline;
    color: var(--light-gray);
    transition: .3s;
}
.modal .form_check label{
    color: #222;
}
.modal .form_check label a{
    color: #000;
}

/* custom_classes */
.flex{
    display: flex;
}
.wrap{
    flex-wrap: wrap;
}
.row{
    flex-direction: row;
}
.column{
    flex-direction: column;
}
.items-center{
    align-items: center;
}
.items-stretch{
    align-items: stretch;
}
.items-start{
    align-items: start;
}
.items-end{
    align-items: end;
}
.justify-start{
    justify-content: start;
}
.justify-center{
    justify-content: center;
}
.justify-between{
    justify-content: space-between;
}
.justify-end{
    justify-content: end;
}
.gap-5{
    gap: 5px;
}
.gap-10{
    gap: 10px;
}
.gap-15{
    gap: 15px;
}
.gap-20{
    gap: 20px;
}
.gap-30{
    gap: 30px;
}
.gap-40{
    gap: 40px;
}
.gap-60{
    gap: 60px;
}
.mt-10{
    margin-top: 10px;
}
.mt-20{
    margin-top: 20px;
}
.mt-30{
    margin-top: 30px;
}
.mt-40{
    margin-top: 40px;
}
.mt-60{
    margin-top: 60px;
}