@media screen and (max-width:1024px) {
    .content {
        top: 31vh;
    } 
}
@media only screen and (max-width: 910px) {
    header {
        padding: 0 20px;
        height: 40px;
    }
    nav { 
        position: absolute;
        left: -300px;
        top: 0;
        z-index: 999;
        width: 200px;
        height: 100vh;
        background-color: #a83000;
        transition: 0.2s;
        box-shadow: 2px 0 20px 0 rgba(0, 0, 0, 0.05);
    }
    #nav_check:checked ~ nav {
        left: 0;
    } 
    .logo {
        width: 85px;
        margin-top: 30px;
    }
    nav .logo {
        display: block;
        height: 40px;
        display: flex;
        align-items: center;
        margin-left: 30px;
        margin-right: 10px;
    }
    nav ul li a {
        margin-bottom: 5px;
        padding: 10px 15px;
        border-radius: 5px;
    }
    nav ul {
        display: block;
        padding: 0 20px;
        margin-top: 30px;
    }
    /* Styly pro podmenu */
    nav ul li ul {
        top: 0vh;
    }
    nav ul li ul.rFull {
        top: 0vh;
    }
    nav ul li ul li a {
        padding: 8px 18px;
        transition: 0.2s;
        border-radius: 5px;
    }
    .hamburger {
        display: block;
    }
    .empty-space {
        height: 30px;
    }
    
}
@media only screen and (max-width:768px)  {
    #gallery-container {
        margin-left: 20px;
        margin-right: 20px;
    }
    .content {
        top: 29vh;
    } 
}
@media only screen and (max-width:670px)  {
    .aktualne, .history, .kontakt-form {
        width: 80%;
    }
    .vertical-line {
        height: 95%;
        margin-left: 70px;
    }
    .event-img {
        width: 50px;
        margin-right: 10px;
    }
    .circle {
        width: 40px;
        height: 40px;
    }
    .circle p {
        font-size: 14px;
        margin-top: 10px;
     }
    .event-year {
        font-size: 25px;
    }
    .event-title {
        font-size: 20px;
    } 
}
@media only screen and (max-width: 480px) {
    .footer-content {
        padding: 40px 15px 550px;
    }
    .box {
        left: 10%;
    }
    .content {
        top: 20vh;
    } 
    .history {
        margin-left: 20px;
    }
    .aktualne {
        width: 90%;
    }
}
@media only screen and (max-width:460px)  {
    .aktualne, .history, .kontakt-form, .kontakt {
        width: 95%;
    } 
    .event-year {
        font-size: 20px;
    }
    .event-title {
        font-size: 15px;
    }
    .box {
        width: 286px;
        padding: 40px 15px;
        margin: 0;
    }
    .box input[type="text"], .box input[type="email"], textarea{
        width: 255px;
        color: #fde4db;
        border-radius: 24px;
        }
    .box input[type="submit"] {
        width: 255px;
    }
    .email-signature {
        padding: 8px 0px 18px 125px;

      }
    .email-signature .signature-icon {
        line-height: 118px;
        width: 97px;
        height: 97px;
      }
    .signature-icon img {
     width: 93px;
    height: 93px;
      }
      .content {
        top: 18vh;
    } 
    .aktualne {
        width: 90%;
    }
}
@media only screen and (max-width:400px) {
    .history {
        margin-left: 20px;
    }
    .aktualne {
        width: 90%;
    }
    .email-signature .signature-content li {
        padding: 0;
        font-size: 10px;
        display: flex;
        align-items: center;
        text-align: center;
          } 
}