@media (min-width: 1301px) {

    .content {
        overflow: unset;
    }

    .container {
        height: calc(100vh - 90px);
        overflow-y: auto;
        min-width: 352px;
    }

    .container::-webkit-scrollbar {
        display: none;
    }

    .contact-container-right {
        height: calc(100vh - 90px);
    }

    .mini-add-contact {
        display: none;
    }

    .mainDesign {
        width: 100%;
        height: 100vh;
    }

    .arrowContact {
        display: none;
    }

    .contact-text img {
        content: url("../img/Vectorstrich.png");
    }
}

@media(max-width: 1114px) {
    .popupEditRight {
        padding: 10px;
        gap: 10px;
    }

    .popupEditLeft {
        padding: 10px;
    }

    #contactFormEdit {
        margin: 0;
    }

    .EditInput {
        margin: 10px;
    }

    .popup-actions {
        justify-content: center;
    }
}

@media(min-width: 801px) and (max-width:1114px) {

    .popupEdit {
        width: 700px;
    }

    .popupEditRight {
        flex-direction: column;
    }

    .closeBtnEdit {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    #contactFormEdit {
        margin-left: 0;
        width: 90%;
    }

    .contact-ellipse2 {
        width: 90px;
        height: 90px;
        font-size: 30px;
    }
}

@media(min-width: 1114px) and (max-width:1350px) {
    .popupEdit {
        width: 1000px;
    }

    .closeBtnEdit {
        right: 20px;
    }
}

@media(min-width: 801px) and (max-width:1300px) {

    .content {
        overflow: unset;
    }

    .container {
        justify-content: initial;
        overflow: unset;
        height: calc(100vh - 200px);
        overflow-y: auto;
        min-width: 352px;
    }

    .container::-webkit-scrollbar {
        display: none;
    }

    .contact-slide-in {
        height: calc(100% - 90px);
    }

    .popup {
        width: 1000px;
        height: 592px;
        animation: slideIn 0.5s forwards ease;
        margin: 0 20px;
    }

    .popup-right {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .picHelp {
        display: none;
    }

    .mini-add-contact {
        display: none;
    }

    .arrowContact {
        display: none;
    }

    .contact-text img {
        content: url("../img/Vectorstrich.png");
    }

    .asideMenu:nth-of-type(4) {
        padding: 0;
        border-radius: 10px;
    }

    .contact-container-right {
        margin-left: 20px;
        padding-left: 0px;
        height: calc(100vh - 200px);
    }

    .contact-mini {
        width: 70%;
    }
}

@media(max-width: 800px) {
    .asideMenu:nth-of-type(4) {
        padding: 0;
        border-radius: 10px;
    }

    .mainDesign {
        height: 100%;
        width: 100%;
    }

    .header {
        position: fixed;
    }

    .contact-group {
        width: 100%;
    }

    .content {
        width: 100%;
        overflow: visible;
    }

    .picHelp {
        display: none;
    }

    .container {
        overflow: auto;
        width: 100%;
        padding-bottom: 80px !important;
    }

    .contact-container-right {
        display: none;
    }

    .container.hidden {
        display: none;
    }

    .contact-container-right.OnDetails {
        display: flex;
        flex-direction: column;
        padding: 10px;
        margin-top: 120px;
        margin-bottom: 80px;
        overflow: auto;
    }

    .contact-text {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }

    .contact-text img {
        content: url("../img/unterstrichvector.png");
        order: 3;
    }

    .editimage {
        display: none;
    }

    .popup {
        flex-direction: column;
        width: 380px;
        animation: slideInMobile 0.5s forwards ease;
    }

    .popup-left {

        border-bottom-left-radius: 0;
        border-top-right-radius: 30px;

        .logo {
            display: none;
        }

        h2 {
            font-size: 47px;
            line-height: 56.4px;
        }

        p {
            display: none;
        }
    }

    .popup-right {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .popup-right .close-btn {
        top: -170px;
        content: url("../img/Closewhite.png");
    }

    .popup-actions {
        justify-content: center;
    }

    .contact-ellipse {
        scale: 0.7;
        transform: translate(-22%) !important;
        margin-top: 0;
    }

    .contact-info {
        padding-left: 0;
        padding-top: 0;
    }

    .arrowContact {
        position: fixed;
        top: -220px;
        right: -100px;
        width: 50px;
        height: 50px;
        cursor: pointer;
    }

    .popupEdit {
        animation: slideInMobile 0.5s forwards ease;
        width: 100%;
        height: 100%;
        border-radius: 0;
        flex-direction: column;
        overflow: auto;
    }

    .logoEdit {
        display: none;
    }

    .popupEditLeft {
        width: 100%;
        border-radius: 0;
        padding: 24px;
    }

    .popupEditLeft h2 {
        font-size: 47px;
    }

    .popupEditRight {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .popupEditRight span {
        position: relative;
        left: 0%;
    }

    #contactFormEdit button {
        scale: 0.8;
    }

    #contactFormEdit {
        margin-top: 0px;
    }

    .EditInput {
        width: 100%;
        gap: 2px;
        margin: 0px;
    }

    .closeBtnEdit {
        top: 10px;
        right: 10px;
        position: absolute;
    }

    .closeBtnEdit img {
        content: url("../img/Closewhite.png");
    }

    .cancelbutton {
        display: none;
    }

    .contact-mini {
        width: 50%;
    }

    #contactFormEdit {
        width: 100%;
    }

    .contactDetails {
        overflow: visible;
    }

    .popup {
        padding-bottom: 14px;
    }

    .form-group {
        margin-bottom: 14px;
        gap: 14px;
    }

    .contact-slide-in {
        height: auto;
        width: auto;
        animation: slideInMobile 0.5s forwards ease;
    }
}

@media (max-width: 800px) {

    .btn-image {
        display: none;
    }

    .mini-personadd-contact {
        width: 64px;
        display: flex;
        position: sticky;
        top: 78%;
        height: 64px;
        left: 78%;
        cursor: pointer;
        z-index: 999;
    }
}

@media(max-width: 390px) {
    .container {
        width: 100%;
        overflow: auto;
        padding: 80px 0px !important;
    }

    .contact-text {
        display: block;
    }

    .contact-container-right {
        padding-left: 10px;
        margin-left: 0;
        margin-top: 0px;
        overflow: visible;
    }

    .contact-text h1 {
        font-size: 35px;
    }

    .arrowContact {
        position: fixed;
        top: -220px;
        right: -100px;
        width: 50px;
        height: 50px;
        cursor: pointer;
    }

    .contact-ellipse {
        scale: 0.6;
        transform: translate(-35%) !important;
    }

    .popup {
        width: 300px;
        animation: slideInMobile 0.5s forwards ease;
    }

    .form-group {
        width: 250px;
    }

    .cancelbutton {
        display: none;
    }

    .popup-left h2 {
        font-size: 30px;
    }

    .contact-ellipse2 {
        width: 100px;
        height: 100px;
        font-size: 30px;
    }

    .elipse img {
        width: 100px;
    }

    .CI-info {
        margin-top: 0;
        margin-bottom: 0;
    }

    .contact-info p {
        margin: 0;
    }

    .contact-text p {
        font-size: 20px;
    }
}

@media(max-width: 320px) {
    .popup-test {
        display: block;
    }

    .btn-image {
        display: none;
    }

    .contact-text {
        display: block;
    }

    .contact-text h1 {
        font-size: 35px;
    }
}

@media (min-width: 200px) and (max-width:460px) and (min-height: 710px) {

    .popupEditRight span {
        position: relative;
        top: -20%;
        left: 0%;
        scale: 0.7;
    }

    .popupEditLeft h2 {
        font-size: 35px;
    }

    #contactFormEdit {
        width: 100%;
        margin: 0;
        padding-left: 20px;
    }
}