@media (max-width: 1840px) {
    /* Typography */
    h1 {
        font-size: 4rem;
    }
}

@media (max-width: 1399px) {
    html {
        font-size: 15px;
    }

    /* Grid */
    .content {
        width: 1100px;
    }

    /* Main section */
    #main_col_2 {
        padding: var(--ramtech-section_padding) 50px;
    }
}

@media (max-width: 1199px) {
    /* Typography */
    h1 {
        font-size: 3.4rem;
    }
    h2 {
        font-size: 3rem;   
    }
    h3 {
        font-size: 2.5rem;
    }
    h4 {
        font-size: 2rem;
    }
    h5 {
        font-size: 1.2rem;
        line-height: 1.35em;
    }

    .subtitle {
        margin-bottom: 0.5em;
    }

    /* Buttons */
    .button {
        padding: 6px 28px;
    }

    /* Form */
    input, textarea {
        padding: 5px 15px;
    }

    /* Grid */
    .content {
        width: 932px;
    }

    /* Header */
    .logo img {
        width: 160px;
    }
}

@media (max-width: 991px) {
    body {
        --ramtech-section_padding: 75px;
        --ramtech-section_padding-: -75px;
    }

    .hide_on_tablet {
        display: none;
    }
    .show_on_tablet {
        display: block;
    }

    /* Columns */
    .columns.gap {    
        margin-right: -50px;
        margin-bottom: -50px;
    }
    .columns.gap [class*="column_"] {   
        padding-right: 50px;
        padding-bottom: 50px;
    }

    .columns > .column_1-2,
    .columns > .column_1-3,
    .columns > .column_2-3 {
        width: 100%;
    }

    .info_column.column_1-3 .info_item {
        width: 50%;
    }

    footer .columns > .column_1-4:first-child {
        width: 100%;
    }
    footer .columns > .column_1-4 {
        width: 33.3%;
    }

    /* Header */
    #menu li:not(:first-child) {
        padding-left: 1.5em;
    }

    /* Founders section */
    #founders .columns > .column_1-2 {
        width: 50%;
    }

    /* Grid */
    .content {
        width: calc(100% - (2 * var(--ramtech-grid_gap)));
    }

    /* Footer */
    footer .logo img {
        margin: auto;
    }

    /* Main section */
    #main_col_1 {
        height: 170px;
        min-height: 49vw;
    }
    #main_col_2 {
        padding: var(--ramtech-section_padding) var(--ramtech-grid_gap);
    }

    /* About us section */
    #about .columns {
        flex-direction: column-reverse;
    }

    .images_duo {
        display: flex;
        padding-bottom: 0;
        margin-right: var(--ramtech-grid_gap-);
    }
    .images_duo .first,
    .images_duo .second {
        width: 50%;
        box-sizing: border-box;
        margin-left: unset;
        padding-right: var(--ramtech-grid_gap);
        position: relative;
        bottom: unset;
        left: unset;
    }

    /* News section */
    .post {
        width: 100%;
    }
    .post + .post {
        padding-top: var(--ramtech-grid_gap);
        border-top: 1px solid var(--ramtech-border_color);
    }
}

@media (max-width: 767px) {
    html {
        font-size: 14px;
    }
    body {
        --ramtech-grid_gap: 20px;
        --ramtech-grid_gap-: -20px;

        --ramtech-section_padding: 50px;
        --ramtech-section_padding-: -50px;
    }
    
    /* Typography */
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.5rem;   
    }
    h3 {
        font-size: 2rem;
    }
    h4 {
        font-size: 1.5rem;
    }
    h5 {
        font-size: 1.2rem;
        line-height: 1.35em;
    }

    /* Columns */
    .columns.gap {    
        margin-right: -30px;
        margin-bottom: -30px;
    }
    .columns.gap [class*="column_"] {   
        padding-right: 30px;
        padding-bottom: 30px;
    }

    .columns > .column_1-4,
    .columns > .column_3-4 {
        width: 100%;
    }

    /* Header */
    .logo img {  
        width: 140px;
        margin: auto;
    }
    .logo h3 {
        text-align: center;
    }
    #menu {
        flex-wrap: wrap;
        justify-content: center;
        margin: 0;
    }
    #menu li:not(:first-child) {
        padding-left: 2em;
    }
}

@media (max-width: 575px) {    
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.4rem;
    }
    h4 {
        font-size: 1.3rem;
    }
    h5 {
        font-size: 1.2rem;
    }

    .subtitle {
        margin-bottom: 0.3em;
    }

    /* Buttons */
    .button {
        padding: 6px 20px;
    }

    /* Columns */
    footer .columns > .column_1-4 {
        width: 100%;
    }

    .info_column .info_item {
        min-width: 100%;
    }

    /* Founders section */
    #founders .columns > .column_1-2 {
        width: 100%;
    }

    /* Header */
    header .content {
        overflow: visible;
    }
    #menu li:not(:first-child) {
        padding-left: 0.8em;
    }
    #menu li a {
        font-size: 12px;
    }

    /* Footer */
    footer {        
        text-align: center;
    }

    /* Founders section */
    .images_trio {
        margin-right: -30px;
    }
    .images_trio > a {
        padding-right: 30px;
    }
}