@media screen and (orientation: portrait) {
    #slideshow, .slideshow_box {
        height: 400px !important;
    }

    .slideshow_box:nth-of-type(2) div {
        padding-top: 131px !important;
    }

    .slideshow_box:nth-of-type(3) div, .slideshow_box:nth-of-type(1) div {
        padding-top: 172px !important;
    }

    .slideshow_box:nth-of-type(4) div {
        padding-top: 203px !important;
    }

    #main.homepage {
        padding-top: 420px;
    }

    #main.homepage h2 {
        padding-bottom: 30px;
    }
}


@media screen and (min-width: 800px) {
    #main_menu {
        display: block !important;
    }
}

@media screen and (max-width: 799px) {
    .show_menu {
        display: block;
    }

    #main_menu {
        display: none;
    }

    .main_menu {
        animation: item_show;
        animation-duration: 0.4s;
        animation-delay: 0s;
        animation-timing-function: ease-in-out;
        animation-fill-mode: both;
        position: absolute;
        background-color: white;
        box-shadow: 0px 2px 10px rgba(0, 0, 0, .20);
        top: 68px;
        right: -3px;
        padding: 10px 20px;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .main_menu li {
        display: block;
        margin-bottom: 0px;
        margin-right: 0px;
        border-right: none;
    }

    .main_menu a {
        display: block;
        padding: 10px;
    }
}

@media screen and (max-width: 1299px) {
    @media screen and (orientation: landscape) {
        #header {
            position: absolute;
            top: 0px;
            left: 0px;
        }
    }
}


@media screen and (max-width: 1000px) {
    #slideshow h2 {
        font-size: 30px;
        line-height: 70px !important;
    }

    .slideshow_box:nth-of-type(2) div {
        padding-top: 209px;
    }

    .slideshow_box:nth-of-type(3) div, .slideshow_box:nth-of-type(1) div {
        padding-top: 246px;
    }

    .slideshow_box:nth-of-type(4) div {
        padding-top: 280px;
    }
}

@media screen and (max-width: 900px) {
    #countdown div {
        width: 34.5%;
        padding-left: 13%;
        padding-right: 2%;
    }

    #countdown div:nth-of-type(2n) {
        padding-left: 2%;
        padding-right: 13%;
    }

    #countdown-d, #countdown-h {
        margin-bottom: 100px;
    }
}

@media screen and (max-width: 800px) {
    .media-item h2 {
        font-size: 20px;
    }

    .big_link {
        width: 100%;
        margin: 2vw 0px 3vw 0px;
    }

    .big_circle {
        width: 30vw;
        height: 30vw;
        margin-bottom: 5px;
        line-height: 30vw;
        font-size: 15vw;
    }
}

@media screen and (max-width: 600px) {
    #countdown div {
        font-size: 70px;
    }

    #countdown div span:nth-of-type(2) {
        font-size: 30px;
    }
}

@media screen and (max-width: 580px) {
    .media-item {
        width: 100%;
        margin: 0px 0px 10px 0px;
        padding-top: 60%;
    }
}

@media screen and (max-width: 560px) {
    p, li {
        text-align: left;
    }
}


@media screen and (max-width: 500px) {
    #countdown div, #countdown div:nth-of-type(2n) {
        width: 100%;
        padding-left: 0%;
        padding-right: 0%;
    }

    #countdown-d, #countdown-h, #countdown-m {
        margin-bottom: 50px;

    }
}

@media screen and (max-width: 400px) {
    #logo {
        padding: 16.5px 5px 0px 0px;
        height: 40px;
    }

    #logo img {
        height: 40px;
    }
}

@media screen and (max-width: 300px) {
    #logo {
        padding: 23.5px 5px 0px 0px;
        height: 28px;
    }

    #logo img {
        height: 28px;
    }
}