* {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;    
}

html {
    font-size: 16px;
}

a, a:hover, a:active, a:visited {
    text-decoration: none;    
}

.main {
    padding-top: 11rem;
    background-image: url(img/bg.png);
    background-position-y: top;    
    background-repeat: no-repeat;
    background-size: contain;
    color: #1B4778;
}

.header {
    margin-bottom: 3.125rem;
}

.header_title {
    margin-bottom: 2rem;
    font-size: 4rem;
    font-weight: 700;
    line-height: 4rem;
}

.sm_header_icon {
    display: none;    
}

.header_image_row {
    text-align: right;
}

.header_image_row img {
    width: 100%;
}

.header_content {
    margin-bottom: 3rem;
    font-size: 2.25rem;
    line-height: 2.625rem;
}

.header_buttons_row {
    margin-bottom: 0.875rem;
}

a.btn {
    padding: 1.125rem 3rem;    
    font-size: 2rem;
    line-height: 2.625rem;
    font-weight: 600;
    border-radius: 0.5rem;
}

a.btn:focus {    
    box-shadow: none;
}

.red_btn {    
    color: #fff;
    background-color: #D9544F;
}

.red_btn:hover {
    color: #fff;
    background-color: #C9302C;
}

.mr-24 {
    margin-right: 1.5rem;
}

.mb-3rem {
    margin-bottom: 3rem;
}

.lan_btn {
    color: #1B4778;
    background-color: #fff;
    border: 0.125rem solid #1B4778;
}

.lan_btn:hover {
    color: #1B4778;
    background-color: #D5E8F5;
}

.section_title {
    margin-bottom: 3rem;
    font-size: 3rem;   
    font-weight: 600; 
}

.content_wrapper {
    margin-bottom: 3.75rem;
}

.content_row {
    margin-bottom: 2rem;
}

.content_col {
    display: flex;
    justify-content: left;
    align-items: flex-start;
    font-size: 1.125rem;
}

.section_subtitle {
    font-size: 1.5rem;
    line-height: 2.2rem;
    font-weight: 600;
    color: #1B4778;
}

.content_col img, .content_col span {
    display: inline-block;
}

.content_col img {
    margin-right: 1.5rem;
}

.content_block_blue {
    padding: 2rem;
    font-size: 2.2rem;
    line-height: 2.8rem;
    color: #338FD0;
    background-color: #EEF6FD;
}

.middle_wrapper, .bottom_wrapper {
    padding: 3rem 0 4.875rem;
}

.light_blue_bg {
    background-color: #EEF6FD;
}

.dark_blue {
    color: #0B2E54;
}

.light_blue {
    color: #338FD0;
}

.middle_content_item {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.middle_content_item_number {
    font-size: 2rem;
    font-weight: 700;
}

.price_block {
    padding-left: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price_title {
    margin-bottom: 0;
}

.price_sum {    
    color: #D9544F;
    font-size: 6.5rem;
    font-weight: 600;
}

.price_text {
    position: relative;
    bottom: 0;
}

.bottom_content_wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.bottom_item {
    width: 20%;
    height: auto;    
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 1.5rem 1.5rem;
    border: 0.125rem solid #1B4778;
    border-radius: 1rem;
    background-color: #fff;
}

.bottom_item:hover {
    background-color: #D5E8F5;  
}

.bottom_item_img {
    display: inline-block;
    width: 3.75rem;
    height: 3.75rem;
    margin-bottom: 1.5rem;    
}

.bottom_item.guide .bottom_item_img {
    background: url(img/icons/Person-bounding-box_light-blue.svg) center no-repeat;
    background-size: contain;
}

.bottom_item.guide:hover .bottom_item_img {
    background: url(img/icons/Person-bounding-box_dark-blue.svg) center no-repeat;
}

.bottom_item.lifecycle .bottom_item_img {
    background: url(img/icons/Brightness-high-fill_light-blue.svg) center no-repeat;
    background-size: contain;
}

.bottom_item.lifecycle:hover .bottom_item_img {
    background: url(img/icons/Brightness-high-fill_dark-blue.svg) center no-repeat;
}

.bottom_item.functions .bottom_item_img {
    background: url(img/icons/Cloud-fill_light-blue.svg) center no-repeat;
    background-size: contain;
}

.bottom_item.functions:hover .bottom_item_img {
    background: url(img/icons/Cloud-fill_dark-blue.svg) center no-repeat;
}

.bottom_item.registration .bottom_item_img {
    background: url(img/icons/Book-half_light-blue.svg) center no-repeat;
    background-size: contain;
}

.bottom_item.registration:hover .bottom_item_img {
    background: url(img/icons/Book-half_dark-blue.svg) center no-repeat;
}

.bottom_item_text {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.2rem;
    color: #1B4778;
    text-align: center;    
}

.footer {
    padding: 0.625rem 1rem;
    color: #fff;    
    background-color: #161D25;
    font-size: 0.825rem;
}

.small_font {
    font-size: 0.625rem;
}

@media (max-width: 1024px) {
    html {
        font-size: 10px;
    }

    .price_sum {            
        font-size: 5rem;        
    }
}

@media (max-width: 960px) {
    a.btn {
        padding: 1rem 2.2rem;         
        font-size: 1.8rem;
        line-height: 2.3rem;        
    }

    .content_block_blue {        
        font-size: 1.8rem;
        line-height: 2rem;        
    }

    .price_sum {            
        font-size: 3.5rem;        
    }
}

@media (max-width: 767px) {
    
    .main {
        padding-top: 2rem;
        background-size: 170vh;        
    }

    .header_title {
        margin-bottom: 2rem;
        font-size: 3rem;
        line-height: 3rem;
        font-weight: 700;
    }

    .header_content {
        margin-bottom: 3rem;
        font-size: 2rem;
        line-height: 2rem;
    }

    .sm_header_icon {
        display: block;
        text-align: center;
    }
    
    .col-sm-12.header_image_row {
        display: none;
    }

    .content_row {
        margin-bottom: 0;
    }

    .content_col {
        margin-bottom: 2rem;
    }

    .content_col img {        
        width: 10vw;
    }

    .section_title {
        font-size: 2.5rem;
    }

    .price_sum {          
        margin-bottom: 2rem;  
        font-size: 5.5rem;        
    }

    .bottom_content_wrapper {        
        flex-wrap: wrap;        
    }

    .bottom_item {
        margin-bottom: 2rem;
        width: calc(50% - 1rem);
        height: 23rem;
    }

    .bottom_item:nth-child(2n) {
        margin-bottom: 2rem;
        width: calc(50% - 1.5rem);        
    }

    .bottom_item_img {        
        width: 10vw;        
    }

    .bottom_item.functions:hover .bottom_item_img {
        background: url(img/icons/Cloud-fill_dark-blue.svg) center no-repeat;
        background-size: cover;   
    }
}

@media (max-width: 320px) {
    a.btn {
        font-size: 2rem;        
    }
}