body {
    margin: 0;
    font-family: "Inter";
}

button, input {
    background: none;
    color: unset;
    border: none;
    padding: 0;
    font: unset;
    cursor: pointer;
    outline: unset;
}

#telephone-input::-webkit-outer-spin-button,
#telephone-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}



.d-none {
    display: none !important;
}

.d-flex {
    display: flex;
}

.justify-content-between{
    justify-content: space-between;
}

.justify-content-center{
    justify-content: space-between;
}

.align-items-start{
    align-items: flex-start;
}

.w-100{
    width: 100%;
}

.arrow-back-contacts{
    margin-top: 36px;
    height: 32px;
    width: 32px;
    cursor: pointer;
    margin-right: 20px;
}

.fake-img {
    height: 20px;
    width: 20px;
    background-color: grey;
}

#add-contact-bg {
    z-index: 900;
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    }

#fly-in-container{
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    left: 100vw;
    top: 0;
    transition: left .5s;
}

.fly-in-add-edit{
    left: 0 !important;
}

#add-contact {
    z-index: 901;
    height: 600px;
    width: 1200px;
    background-color: white;
    border-radius: 15px;
    display: flex;
}

.add-contact-slogan {
    background-color: #2A3647;
    display: flex;
    flex-direction: column;
    color: white;
    padding: 120px 46px 66px 46px;
    border-bottom-left-radius: 14px;
    border-top-left-radius: 14px;
}

.add-contact-slogan img {
    margin-block-end: 0;
    margin-block-start: 0;
    width: 100px;
    margin-bottom: 20px;
    height: 66.5px;
    width: 54px;
}

.add-contact-slogan h2 {
    margin-block-end: 0;
    margin-block-start: 0;
    font-size: 56px;
    margin-bottom: 10px;
}

.add-contact-slogan p {
    font-size: 32px;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-bottom: 16px;
}

.add-contact-data-picture {
    height: 120px;
    width: 120px;
    background-color: grey;
}

.add-contact-data {
    display: flex;
    height: 100%;
    flex: 1;
    justify-content: space-around;
    align-items: center;
}

.add-contact-data-inputs {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.add-contact-input-container {
    padding: 13px 21px 13px 21px;
    border: 1px #D1D1D1 solid;
    border-radius: 10px;
}

.add-contact-input {
    font-size: 20px;
}

.border-add-edit {
    height: 3px;
    width: 100px;
    background: #29ABE2;
}

.create-contact-button {
    padding: 16px;
    background-color: #2A3647;
    color: white;
    font-size: 21px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap: 16px; */
    border-radius: 10px;
}

.create-contact-button:hover {
    background-color: #33AFE3;
}

.cancel-contact-button {
    padding: 8px;
    border: 1px #2A3647 solid;
    color: #2A3647;
    border-radius: 10px;
    margin-right: 24px;
}

.cancel-contact-button:hover {
    border: 1px #29ABE2 solid;
    color: #33AFE3;
}

.contact-success{
    text-wrap: nowrap;
    font-size: 20px;
    color: white;
    background-color: #2A3647;
    padding: 20px 20px;
    border-radius: 10px;
    position: absolute;
    bottom: -50vh;
    left: 200vh;
    transition: left .1s;
}


.contact-success-fly-in{
    left: 0 !important;
}




#contact-success-container{
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.sidebar {
    width: 232px;
    height: 100vh;
    background-color: rgb(28, 28, 49);
}

.main-container {
    display: flex;
    justify-content: flex-start;
    position: relative;
}

.render-container {
    display: flex;
}

.contacts-scroll-container {

    max-height: 100vh;
    overflow: auto;
}


/* scroll-bar */
.contacts-scroll-container::-webkit-scrollbar {
    width: 20px;
}

.contacts-scroll-container::-webkit-scrollbar-track {
    background-color: transparent;
}

.contacts-scroll-container::-webkit-scrollbar-thumb {
    background-color: #d6dee1;
    border-radius: 20px;
    border: 6px solid transparent;
    background-clip: content-box;
}

.contacts-scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: #a8bbbf;
}

.contacts-scroll-container::-webkit-scrollbar-button {
    display: block;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: 50%;
    background-position: center;
}

.contacts-scroll-container::-webkit-scrollbar-button:vertical:start:increment {
    display: none;
}

.contacts-scroll-container::-webkit-scrollbar-button:vertical:start:decrement {
    background-image: url('../icons/arrowUp.svg');
    height: 20px;
    z-index: 999;
}

.contacts-scroll-container::-webkit-scrollbar-button:vertical:end:increment {
    background-image: url('../icons/arrowDown.svg');
    z-index: 999;
}

.contacts-scroll-container::-webkit-scrollbar-button:vertical:end:decrement {
    display: none;
}



.contacts-overview-container {
    width: 400px;
    margin: 24px;
}

.add-new-contact {
    width: 100%;
    margin-bottom: 16px;
    padding: 12px 0px;
    background-color: #2A3647;
    color: white;
    font-size: 21px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: 10px;
}

#initial-edit-contact {
    height: 120px;
    width: 120px;
    display: flex;
    justify-content: center;
    font-size: 47px;
    font-weight: 500;
    color: white;
    background-color: #FFC700;
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    display: flex;
    align-items: center;
}

#contacts-overview {
    width: 100%;
}

.contact-section-letter {
    display: block;
    font-size: 20px;
    border-bottom: 1px darkgray solid;
    padding: 17px 36px;
    margin-bottom: 8px;
}

.contact-section {
    margin-bottom: 24px;
}

.contact {
    display: flex;
    padding: 16px 28px;
    border-radius: 8px;
}

.contact:hover {
    cursor: pointer;
    background: rgb(240, 240, 240);
    background: linear-gradient(0deg, rgba(240, 240, 240, 1) 30%, rgba(249, 249, 249, 1) 100%);
}

.highlight-contact {
    background: #2A3647 !important;
    color: white;
}

.initial-overview {
    color: white;
    border-radius: 50%;
    height: fit-content;
    background-color: #7ae4fc;
    border: 2px white solid;
    margin-right: 10px;
    height: 42px;
    width: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.name {
    display: flex;
    font-size: 20px;
}

.email {
    color: #007CEE;
    cursor: pointer;
    font-size: 16px;
}

.contacts-headline {
    display: flex;
    margin-top: 120px;
    position: relative;
    left: 45px;
}

.contacts-headline h2 {
    border-right: #29ABE2 solid 2px;
    padding-right: 24px;
    margin-right: 24px;
    font-size: 61px;
    margin-block-start: 0;
    margin-block-end: 0;
}

.contacts-headline span {
    display: flex;
    align-items: center;
    font-size: 27px;
    padding-right: 44px;
}

.contact-single-view-info {
    position: absolute;
    left: 100vw;
    display: flex;
    flex-direction: column;
    gap: 21px;
    margin-left: 64px;
    margin-top: 32px;
    transition: left .15s;
}

.fly-in-contact{
    left: 660px;
}

.initial-name-container {
    display: flex;
    gap: 54px;
}

#initial-single-view {
    font-size: 47px;
    color: white;
    height: 100px;
    width: 100px;
    justify-content: center;
    background-color: #FFC700;
    border-radius: 50%;
    display: flex;
    align-items: center;
}

.name-edit-delete {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#name-single-view {
    font-size: 47px;
    font-weight: 500;

}

.edit-and-delete {
    display: flex;
    gap: 13px;
    font-size: 16px;
}

.edit-and-delete div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.edit-and-delete div:hover {
    /* color: #33AFE3; */
    filter: invert(35%) sepia(53%) saturate(3671%) hue-rotate(192deg) brightness(94%) contrast(106%);
    cursor: pointer;
}

.contact-information-headline {
    font-size: 20px;
}

.contact-information {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.email-single-view-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.email-single-view-container span:nth-child(even) {
    color: #007CEE;
}

.email-single-view-container span:nth-child(odd) {
    font-weight: 700;
}

.phone-single-view-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.phone-single-view-container span:nth-child(odd) {
    font-weight: 700;
}

#responsive-contact-single-view {
    display: flex;
    flex-direction: column;
}

.responsiv-contact-button{
    display: none;
}

.contact-single-view{
    overflow: hidden;
}

@media(max-width:1300px) {

    /* add Contact */
    .sidebar {
        display: none;
    }

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

    .responsiv-contact-button{
        position: fixed;
        bottom: 112px;
        right: 16px;
        display: unset;
        height: 56px;
        width: 56px;
        background-color: #2A3647;
        border-radius: 50%;
    }

    #open-menu-contact-responsive{
        cursor: pointer;
        position: fixed;
        bottom: 112px;
        right: 16px;
        z-index: 800;
    }

    #open-menu-contact-responsive-edit-delete{
        position: relative;
        border-radius: 20px 20px 0 20px;
        box-shadow: 0px 4px 4px 0px #00000040;
        padding: 10px;
        font-size: 16px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-right: 20px;
        z-index: 800;
    }

    #open-menu-contact-responsive-edit-delete img{
        margin-right: 8px;
    }

    #close-menu-contact-responsive{
        z-index: 799;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }

    .render-container {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .contacts-scroll-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .contacts-overview-container {
        margin: 0;
        width: 90%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .contact-single-view {
        display: none;
        padding-left: 16px;
        padding-right: 16px;
    }

    #add-contact {
        flex-direction: column;
        width: 95%;
        height: 90vh;
        border-radius: 30px;
    }

    .add-contact-slogan {
        height: 46%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 0 20px 0 20px;
        border-bottom-left-radius: 0;
        border-top-right-radius: 30px;
        border-top-left-radius: 30px;
    }

    .add-contact-slogan img {
        display: none;
    }

    .add-contact-slogan h2 {
        font-size: 47px;
    }

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

    .add-contact-data {
        position: relative;
    }

    .profile-icon-container {
        position: absolute;
        top: -70px;
        flex: 1;
    }

    /* Single view */
    .contacts-headline {
        margin-top: 36px;
        margin-left: 0;
        flex-direction: column;
        gap: 16px;
        margin-left: -20px;
    }

    .contacts-headline h2 {
        font-size: 47px;
        border: none;
    }

    .border-responsive-single{
        width: 96px;
        height: 3px;
        background-color: #29ABE2;
    }

    .arrow-back-contacts{
        display: unset !important;
    }

    .initial-name-container {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        margin-bottom: 21px;
        margin-left: 20px;
        margin-top: 20px;
    }

    .contact-information-headline{
        margin-bottom: 21px;
        margin-left: 20px;
    }

    .email-single-view-container{
        margin-left: 20px;
    }

    .phone-single-view-container{
        margin-left: 20px;
    }

    #initial-single-view {
        font-size: 27px;
        height: 80px;
        width: 80px;
    }

    #name-single-view {
        font-size: 36px;
        font-weight: 700;
    }

    .edit-and-delete {
        display: none;
    }

    
}

@media(max-width:4000px) {
    .buttons-create-contact{
        justify-content: center;
    }

    .add-contact-data-inputs{
        max-width: 90vw;
    }

    .add-contact-data-inputs div{
        max-width: 85vw;
    }

    .add-contact-data-inputs input{
        max-width: 70vw;
    }

    .create-contact-button{
        font-size: 19px;
    }
}