@media only screen and (max-width: 1400px) {
    .nav-hrefs {
        background: #f2f3f8;
    }
    header a {
        margin-right: 55px
    }
    .block-2-content-item {
        width: 230px;
    }
    .item-title {
        font-size: 23px;
    }
    .item-text {
        font-size: 17px;
    }
    .additional-info-container {
        width: 45%;
    }
    .info-block {
        padding-right: 80px;
    }
    /* GALLERY */
    .gallery img {
        width: 360px;
        height: 220px;
        padding: 8px;
    }
    /* FOOTER */

    .footer-top {
        padding: 30px 50px;
    }
    .map-frame {
        border: 1px solid #0f70b7;
        width: 350px;
        height: 210px;
    }
}

@media only screen and (max-width: 1200px) {
    #services .block-title::after {
        content: "(Klicken Sie auf das Symbol, um mehr zu sehen)";
        position: absolute;
        text-align: center;
        padding-top: 30px;
    } 
    .nav-hrefs {
        background: #f2f3f8;
    }
    .block-container {
        padding: 120px 0px;
    }
    header a {
        margin-right: 27px;
        font-size: 14px;
    }
    .logo {
        height: 50px;
        width: 175px;
    }
    h1 {
        font-size: 48px;
    }
    .nav-contacts {
        font-size: 14px;
    }
    .info-href {
        padding: 18px 40px;
    }
    .block1-text {
        width: 40%;
        font-size: 24px;
        margin-bottom: 70px;
    }
    .block-title h2 {
        font-size: 38px;
    }
    .additional-info-container {
        width: 60%;
    }
    .block-2-content-item {
        width: 160px;
    }
    .item-img img {
        width: 70px;
        height: 70px;
    }
    .item-title {
        font-size: 16px;
    }
    .item-text {
        font-size: 12px;
    }
    /* CONTACT FORM */
    .info-block-top {
        width: 270px;
        padding: 30px 30px 30px 20px;
        font-size: 18px;
    }
    .info-block {
        padding: 0px 30px;
    }

    .form {
        margin-bottom: -10px;
    }
    .contact-form {
        width: 380px;
        height: 380px;
    }
    .contact-form textarea {
        height: 100px;
    }
    .send-info-button {
        width: 440px;
        font-size: 20px;
    }
    .info-item-icon img {
        width: 40px;
        height: 40px;
    }
    .form-field label {
        font-size: 16px;
    }
    .form-name input {
        width: 170px;
    }
    .info-item-title {
        font-size: 18px;
        font-weight: 600;
    }
    .info-item-text {
        font-size: 16px;
    }
    .info-item-icon {
        margin-right: 30px;
    }
    
    /* FOOTER */
    .footer-top {
        padding: 30px 50px;
    }
    .footer-top-block {
        margin-bottom: 20px;
    }
    .footer-top-block-title {
        width: 200px;
        font-size: 22px;
    }
    .footer-top-block-text {
        font-size: 14px;
    }
    .footer-maps-container {
        justify-content: space-evenly;
    }
    .map-frame {
        width: 245px;
        height: 180px;
    }
    .footer-bot-container {
        padding: 15px 20px 0px 20px;
    }
}

@media only screen and (max-width: 900px) {
    .nav-hrefs {
        background: #f2f3f8;
    }

    header a {
        margin-right: 20px;
        font-size: 12px;
    }
    h1 {
        font-size: 42px;
    }
    .logo {
        height: 40px;
        width: 135px;
    }
    .nav-contacts {
        font-size: 12px;
    }
    .block-container {
        padding: 130px 0px;
    }
    .block1-buttons-container {
        width: 460px;
    }
    .block1-text {
        width: 70%;
    }


    .block-2-content-item {
        width: 110px;
    }
    .item-img img {
        width: 70px;
        height: 70px;
    }
    .item-title {
        font-size: 16px;
        margin-bottom: 0px;
    }
    .item-text {
        font-size: 12px;
        display: none;
    }
    .additional-info-container {
        width: 75%;
    }   

    /* GALLERY */
    .gallery img {
        width: 290px;
        height: 180px;
    }

    /* CONTACT FORM */
    .info-block-top {
        width: 200px;
        padding: 20px 20px 20px 30px;
        font-size: 15px;
        margin-bottom: 50px;
    }
    .info-block {
        padding: 0px 30px;
    }

    .form {
        margin-bottom: -10px;
    }
    .contact-form {
        width: 300px;
        height: 380px;
        padding: 20px;
    }
    .contact-form textarea {
        height: 100px;
    }
    .send-info-button {
        width: 340px;
        font-size: 20px;
        margin-left: -20px;
    }
    .info-item-icon img {
        width: 30px;
        height: 30px;
    }
    .form-field label {
        font-size: 16px;
    }
    .form-name input {
        width: 130px;
    }
    .info-item-title {
        font-size: 18px;
        font-weight: 600;
    }
    .info-item-text {
        font-size: 14px;
    }
    .info-item-icon {
        margin-right: 15px;
    }

    /* FOOTER */
    .footer-top {
        padding: 30px 40px;
    }
    .map-frame {
        width: 185px;
        height: 150px;
    }


}

@media only screen and (max-width: 768px) {

    .block-container {
        padding: 95px 0px;
    }
    
    .logo {
        height: 50px;
        margin-left: 20px;
        width: 170px;
    }

    h1 {
        font-size: 24px;
    }
    .block-title h2 {
        font-size: 36px;
    }
    .block1-text {
        font-size: 18px;
    }
    .block-info-text {
        font-size: 22px;
    }
    .block1-buttons-container {
        width: 320px;
    }
    .info-href {
        padding: 10px 30px;
        font-size: 20px;    
    }

    .navbar-menu {
        justify-content: space-between;
    }
    .hamburger,
    .toggle-menu {
        display: block;
        margin-right: 20px;
    }

    .nav-hrefs {
        flex-direction: column;
        align-items: start;
        position: fixed;
        top: 0;
        right: -300px;
        background-color: #f2f3f8;
        width: 300px;
        height: 100%;
        padding-top: 65px;
    }

    header .underline:hover {
        border-color: #cc1e27;
        color: #cc1e27;
        transition: 0.3s;
        opacity: 0.5; 
        margin-left: 5px;
    }

    .nav-hrefs a {
        font-size: 24px;
        padding: 30px 20px;
        border: none;
    }
    .nav-contacts {
        font-size: 18px;
        padding: 20px 20px;
    }

    .half-row-container {
        flex-direction: column;
    }
    .block-2-content-item {
        margin: 15px;
    }
    .additional-info-images img {
        width: 190px;
        height: 130px;
        margin-bottom: 16px;
    }
    .additional-info-title-description {
        font-size: 12px;
    }
    .additional-info-text {
        font-size: 14px;
    }
    .gallery img {
        width: 200px;
        height: 140px;
    }

    .info-form-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        margin-top: 20px;
    }

    .info-block {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .info-block-top {
        width: 300px;
        padding: 20px;
        font-size: 15px;
        text-align: center;
    }
    .info-block-bottom-item {
        display: flex;
        flex-direction: column;
        margin-bottom: 22px;
        align-items: center;
    }
    .info-item-icon {
        margin: 0px;
        margin-bottom: 15px;
    }
    .info-item-text {
        font-size: 16px;
        text-align: center;
    }
    .contact-form {
        width: 330px;
    }
    .send-info-button {
        width: 370px;
    }

    .footer-top {
        display: flex;
        flex-direction: column;
    }
    .footer-top-left {
        flex-direction: column;
        align-items: center;
    }
    .footer-top-block {
        text-align: center;
    }
    .footer-maps-container {
        justify-content: space-between;
    }
    .footer-top {
        padding: 30px 30px;
    }
    .footer-top-right {
        width: 100%;
    }
    .footer-bot-container {
        flex-direction: column;
        align-items: center;
    }
    .social-media {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .dev-copyright {
        top: 0px;
        padding-bottom: 10px;
        margin-top: -10px;
    }
    .nav-contacts a{
        padding: 0px;
        font-size: 20px;
    }

}

@media only screen and (max-width: 450px) {
    .hamburger, .toggle-menu {
        margin-right: 10px;
    }
    #services .block-title::after {
        font-size: 14px;
    }
    .block-container {
        padding: 40px 0;
    }
    .logo {
        height: 35px;
        margin-left: 10px;
        width: 120px;
    }
    h1 {
        font-size: 16px;
    }
    .nav-hrefs {
        width: 180px;
    }
    .nav-hrefs a {
        font-size: 17px;
    }
    .nav-contacts {
        font-size: 13px;
        padding: 20px 20px;
    }
    .block1-text {
        font-size: 14px;
    }
    .block1-buttons-container {
        width: 245px;
    }
    .info-href {
        padding: 10px 20px;
        font-size: 16px;
    }
    .gallery-row {
        flex-direction: column;
    }
    .gallery img {
        width: 215px;
        height: 140px;
    }
    .info-block-top {
        width: 200px;
        padding: 20px;
        font-size: 15px;
        text-align: center;
    }
    .contact-form {
        width: 240px;
    }
    .send-info-button {
        width: 280px;
    }
    .form-name input {
        width: 100px;
    }
    .footer-maps-container {
        flex-direction: column;
        align-items: center;
        height: 420px;
        padding: 20px 0px;
    }
    .block-2-content-item {
        margin: 8px;
    }
    .additional-info-title-description {
        font-size: 14px;
    }
    .additional-info-title-description {
        margin-top: 10px;
    }
    .additional-info-text {
        font-size: 14px;
        text-align: left;
        margin-bottom: 20px;
        width: 100%;
    }
    .additional-info-images {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        align-items: center;
    }
    .additional-info-main {
        flex-direction: column;
    }
    .additional-info-container {
        margin-top: 70px;
        max-height: 80vh;
        overflow: scroll;
    }
    .additional-info-title {
        margin-bottom: 10px;
    }
    .additional-info-images img {
        width: 180px;
        height: 110px;
        margin-bottom: 10px;
    }
    .nav-contacts a{
        padding: 0px;
        font-size: 12px;
    }
    .footer-bot-container {
        padding: 0;
        padding-top: 15px;
    }

}