@media print {
    @page {
        margin: 0;
    }

    body {
        margin: 1.6cm;
    }

    #output {
        position: fixed;
        width: 100%;
        height: 100%;
        z-index: 20;
        background: #fff;
        padding-top: 3cm;
    }

    .matura_layer {
        width: 100%;
        font-size: 0.5cm;
        padding-left: 0.4cm;
    }

    .matura_subject {
        width: 100%;
        font-size: 0.7cm;
    }

    .matura_cell {
        display: inline-block;
        margin: 0 .5cm;
    }

    #matura_print {
        display: none;
    }

    .matura_output {
        position: absolute;
        left: 0;
        border: none;
        display: inline-block;
        width: 100%;
    }

    .matura_name {
        display: none;
    }
}

@media screen and (max-width: 768px) and (orientation: landscape) {
    #minecraft_image, #gallery_image, #official_image,#registration_image {
        display: none;
    }
}

@media screen and (max-width: 810px) {
    /*Header*/
    header {
        width: 100vw;
        height: 12vw;
        position: absolute;
        top: 0;
        left: 0;
        font-weight: 300;
        font-size: 8vw;
        line-height: 32px;
        padding: 6px 12px;
    }

    #full_name {
        font-size: 4.4vw;
        line-height: 4.4vw;
        padding-left: 0.8vw;
    }

    #contact_info {
        display: inline-block;
        position: absolute;
        top: 17px;
    }

    #separator {
        width: 1px;
        height: 8vw;
        margin: 1vw 2vw 1vw 1vw;
        display: inline-block;
    }

    #logo p {
        margin: 0 !important;
    }

    #logo {
        display: inline-block;
        margin: 0;
    }

    .info p {
        font-size: 2.1vw;
        line-height: 2.1vw;
    }

    .info h4 {
        font-size: 3.4vw;
        line-height: 3.4vw;
        font-weight: 600;
    }

    .icon_circle {
        width: 7vw;
        height: 7vw;
        border-radius: 8vw;
        display: inline-flex;
        font-size: 3vw;
        text-align: center;
        position: relative;
        top: -3vw;
        justify-content: center;
        align-items: center;
    }

    .info_group, .info {
        display: inline-block;
    }

    .fas {
        position: relative;
        transform: translateY(40%);
        font-size: 3.4vw;
    }

    #matfiz_description p, #matura_description p {
        font-size: 16px;
    }

    #matfiz_description h1, #matura_description h1 {
        font-size: 28px;
    }

    #matfiz_description, #matura_description {
        padding-top: 16vw;
    }

    #matura_input {
        flex-direction: column;
    }

    .form__group {
        position: relative;
        padding: 15px 30px;
        margin-top: 10px;
        width: 420px;
    }

    #matura_input {
        height: 160px;
    }

    input[type=button] {
        font-size: 6vw;
    }

    #matura_container {
        display: block;
    }

    /*Registration*/
    #reg_box {
        padding-top: 16vw;
        padding: 50px;

    }

    .reg_button {
        margin-inline: 0;
        margin-top: 1vw;
        width: 80vw;
    }
    .reg_select {
        width: 80vw;
    }

    .reg_input {
        width: 90vw;
    }

    .reg_row {
        flex-direction: column;
        height: 200px;
    }

    .reg_row.one {
        height: 100px;
    }
    .chart {
        width: 300px;
        height: 20px;
        margin: 0;
        display: inline-block;
        margin-top: 20px;
    }

    .alert .a {
        font-size: 16px;
    }
    
    /*Waves rescale*/
    .waves {
        height: 40px;
        min-height: 40px;
    }

    .content {
        height: 30vh;
    }

    h1 {
        font-size: 24px;
    }

    #logo_cover {
        left: -5%;
        top: 22vw;
    }
}

@media screen and (max-width: 768px) {
    /*Carousel caption size*/
    .carousel-caption p {
        font-size: 6vw !important;
    }

    .carousel-caption h5 {
        font-size: 8vw !important;
        font-weight: 600 !important;
        letter-spacing: -0.1vw;
    }

    .carousel-caption {
        margin-bottom: 5vw;
    }

    .carousel-control-prev, .carousel-control-next {
        width: 14% !important;
    }

    /*Images*/
    #registration_image {
        width: 55vw;
        height: 55vw;
        transform: translate(-52%, -75%);
    }
    #minecraft_image {
        width: 55vw;
        height: 55vw;
        transform: translate(-52%, -75%);
    }

    #gallery_image {
        width: 60vw;
        height: 60vw;
        transform: translate(-48%, -58%);
    }

    #students_image {
        width: 55vw;
        height: 55vw;
        transform: translate(-50%, -60%);
    }

    #official_image {
        width: 55vw;
        height: 55vw;
        transform: translate(-48%, -68%);
    }

    #content {
        padding-top: 8vw;
    }

    .students_description {
        width: 100vw;
        display: block;
    }

    .itemtype_1 h1 {
        font-size: 32px;
    }

    .students_description {
        font-size: 22px;
        margin-top: 1vw;
    }

    .instagram_grid {
        width: 340px;
        display: block;
    }

    .text_minecraft {
        padding: 2vw 4vw 0 0 !important;
    }
}

@media screen and (max-width: 1080px) {
    #ytplayer {
        display: block;
        width: 80vw;
        height: 45vw;
        margin: auto;
    }

    .students_planner {
        display: block;
    }

    .planner p, .students_planner p {
        font-size: 8vw;
    }

    .item_layer_type_1 #ytplayer {
        width: 80vw;
        height: 45vw;
        margin: 32px auto !important;
    }

    .matura_output {
        width: 80vw;
    }

    #text {
        display: block;
        text-align: center;
        margin: 4vw 0;
    }

    #center_content {
        display: block;
    }

    /*Content*/
    #text h1 {
        font-size: 8vw;
        margin-top: 4vw;
    }

    #text h2 {
        font-size: 6.5vw;
    }

    #text p {
        font-size: 4vw;
        display: inline-block;
    }

    .item_layer_type_1 {
        display: block;
    }

    .mobile_block {
        display: block !important;
        margin: 10px auto !important;
    }

    #redirect {
        transform: translateX(-50%);
        left: 50%;
    }

    .form__field:placeholder-shown ~ .form__label {
        font-size: 24px;
    }

    #input_display {
        font-size: 18px;
    }

    .matura_name {
        font-size: 6.5vw;
        font-weight: 600;
    }

    .matura_layer {
        width: 100%;
        font-size: 4.2vw;
        padding-left: 4.2vw;
    }

    .matura_subject {
        width: 100%;
        font-size: 6vw;
    }

    #matura_print {
        font-size: 8vw;
    }
}


@media screen and (min-width: 769px) and (max-width: 1080px) {
    #content {
        padding-top: 1vw;
    }

    .instagram_grid {
        width: 690px;
        display: block;
    }

}

@media screen and (max-width: 420px) {
    .form__group {
        width: 300px;
    }

    .form__label {
        font-size: 18px !important;
    }
}