/* ==== FONTS ==== */
@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter_18pt-regular.woff2') format('woff2'),
        url('/fonts/inter_18pt-regular.woff') format('woff'),
        url('/fonts/inter_18pt-regular.ttf') format('truetype');
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter_18pt-medium.woff2') format('woff2'),
        url('/fonts/inter_18pt-medium.woff') format('woff'),
        url('/fonts/inter_18pt-medium.ttf') format('truetype');
    font-display: swap;
    font-style: normal;
    font-weight: 500;
}

/* ==== ROOT ==== */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    font-family: 'Inter';
}
:root{
    --container: 1420px;
    --main: #274ECE;
    --border: #DBDBDB;
    --bg-light: #F0F5FF;
}
.container{
    margin-left: auto;
    margin-right: auto;
    max-width: var(--container);
  	width: 100%;
}
section{
    padding-top: 120px;
}
.top_page{
    padding-top: 160px;
}
a{
    text-decoration: none;
    color: var(--title-text-light);
  	line-height: 1.5;
}
ul, ol{
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 8px;
}
button, input, select, textarea{
    font-family: 'Inter';
    font-size: 16px;
}
button{
    cursor: pointer;
    border: 0px;
}
.w-100, .w_100{
    width: 100%;
}
input{
    font-weight: 400;
}
.btn_main{
    padding: 16px 24px;
    border-radius: 4px;
    background: var(--main);
  	border: 1px solid var(--main);
    transition: .3s;
    line-height: 1;
    color: #fff;
    font-weight: 500;
}
.btn_main:hover{
    box-shadow: 0px 2px 8px #1f42b381;
}
.btn_main_white{
    background: #fff;
    color: var(--main);
}
img{
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
h1{
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
}
h2{
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
}
p, li{
    color: #353535;
    font-size: 16px;
    line-height: 1.5;
}
.small{
    font-size: 14px;
}
input, button, select{
    font-family: 'Inter';
    background: transparent;
    border: 0px;
}
input:focus, button:focus, input:active, button:active, 
select:focus, select:active, select:hover{
    outline: none;
}
select{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath fill='%23888' d='M0 0l4 5 4-5z'/%3E%3C/svg%3E") !important;
    background-size: 8px 5px !important;
    background-repeat: no-repeat !important;
    background-position-x: 97.5% !important;
    background-position-y: 24px !important;
}
.title{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 8px;
    margin-bottom: 56px;
}
.title p{
    color: var(--main);
}

/* ==== ROOT CLASSES ==== */
.flex{
    display: flex;
}
.column{
    flex-direction: column;
}
.row{
    flex-direction: row;
}
.wrap{
    flex-wrap: wrap;
}
.items-start{
    align-items: start;
}
.items-center{
    align-items: center;
}
.items-stretch{
    align-items: stretch;
}
.justify-start{
    justify-content: start;
}
.justify-center{
    justify-content: center;
}
.justify-end{
    justify-content: end;
}
.justify-between{
    justify-content: space-between;
}

/* === GAPS & MARGINS ==== */
.gap-8{
    gap: 8px;
}
.gap-16{
    gap: 16px;
}
.gap-24{
    gap: 24px;
}
.gap-32{
    gap: 32px;
}
.gap-40{
    gap: 40px;
}
.gap-48{
    gap: 48px;
}
.gap-56{
    gap: 56px;
}
.gap-64{
    gap: 64px;
}
.gap-72{
  gap: 72px;
}
.mt-8{
    margin-top: 8px;
}
.mt-16{
    margin-top: 16px;
}
.mt-24{
    margin-top: 24px;
}
.mt-32{
    margin-top: 32px;
}
.mt-40{
    margin-top: 40px;
}
.mt-48{
    margin-top: 48px;
}
.mt-56{
    margin-top: 56px;
}

/* header */
header{
    position: fixed;
    padding: 20px 0px;
    background: #fff;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}
.logo h2{
    font-size: 24px;
}
.logo img{
    height: 50px;
}
ul.nav{
    padding: 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
ul.nav li{
    list-style: none;
}
ul.nav li a{
    transition: .3s;
}
ul.nav li a:hover{
    color: var(--main);
}

/* main */
#main{
    margin-top: 91px;
    padding: 80px 0px;
    background: var(--bg-light);
}
.main_text{
    width: 100%;
    max-width: 50%;
}
.main_text .btn_main{
    margin-top: 12px;
}
.main_text p{
    max-width: 580px;
}
.calc{
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #fff;
    width: 100%;
    max-width: 45%;
}
.big{
    font-size: 20px;
    font-weight: 500;
    color: #000;
}
.value{
    color: #7E7E7E;
}
.cripto_price_curse{
    margin-right: -8px;
}
.cripto_row{
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}
.calc_field{
    border: 1px solid var(--border);
    border-radius: 4px;
    flex-grow: 1;
}
.calc_field input{
    width: 100%;
    padding: 16px;
}
.change_icon{
    height: 56px;
}
.calc_field_valute{
    background: var(--border);
    padding: 16px;
    border-radius: 4px;
}
.calc_field_valute img{
    height: 20px;
}
.calc_field_valute p{
    font-weight: 500;
}
.calc_field_column .small{
    font-size: 12px;
}
.alert{
    padding: 16px;
    border-radius: 8px;
    background: #EAEFFF;
}
.alert a{
    color: var(--main);
}

.burger, .secret_menu{
    display: none;
}