.sticky-container-contact {
    /* margin-top: -182svh !important; */
    background-color: var(--clr-background);
    /* position: sticky; */
    /* height: 250svh; */
}

.contact {
    position: sticky;
    /* top:32svh; */
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    padding: var(--padding-xxxl);
    background:
        radial-gradient(ellipse 300% 300% at top left, #355733 0%, transparent 20%),
        radial-gradient(ellipse 300% 100% at top, #2a4328 0%, transparent 20%),
        radial-gradient(ellipse 100% 300% at bottom right, #284628 0%, transparent 30%),
        linear-gradient(45deg, #172714 0%, #172714 100%);
    /* background:
        radial-gradient(ellipse 200% 600% at top left, #2d2d2d 0%, transparent 20%),
        radial-gradient(ellipse 200% 400% at bottom right, #000000 0%, transparent 30%),
        linear-gradient(45deg, #111 0%, #111 100%); */

    color: var(--clr-blackboard-text);
    border-bottom: solid 1rem var(--clr-background-2);

    overflow: hidden;
}

.contact .noise {
    background-size: 18%;
    mask-image: radial-gradient(ellipse 200% 400% at bottom right, hsla(0, 0%, 0%, .5) 0%, transparent 30%),
        linear-gradient(45deg, #111 0%, #111 100%);
    mask-composite: exclude;
}

.contact h1,
.contact h3 {
    color: var(--clr-blackboard-text);
    font-family: "Fredericka the Great", serif;
    font-weight: 400;
    margin-bottom: var(--margin-xxl);
    width: 100%;
    z-index: 2;
}

.contact h1 {
    margin-top: var(--margin-l);
    font-size: var(--header-xxxl);
}

.contact h3 {
    font-size: var(--header-m);
    margin-bottom: var(--margin-3xl);
}

.contact-grid {
    /* max-width: 1600px; */
    /* ts aint grid anymore */
    /* display: grid; */
    /* grid-template-columns: 1.5fr 2fr 1fr; */
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: center;

    /* align-items: center; */
    /* align-content: center; */
    /* justify-items: center; */
    z-index: 10;
}

.contact-grid .container {
    position: relative;
    display: flex;
    /* border: dotted 4px yellow; */
    z-index: 10;
    justify-content: center;
}

.contact-grid .container::after {
    content: "";
    position: absolute;
    top: 0;
    right: -3rem;
    height: 100%;
    width: 2rem;
    /* background-color: red; */
    background-image: url(../media/chalk-line-1.svg);
    background-size: 100% 100%;
    scale: 1.2;
}

.contact-grid .container:nth-of-type(2)::after {
    right: 0rem;
}

.contact-grid .container:nth-of-type(3)::after {
    display: none;
}

.contact-grid .container .indicator {
    --_scale: 1 1;
    --_offset: 0px 0px;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* background-color: red; */
    /* background-image: url(../media/chalk-circle.svg); */
    background-size: 100% 100%;
    background-repeat: no-repeat;
    scale: var(--_scale);
    translate: var(--_offset);
    /* opacity: 0; */
    /* transition: opacity .5s ease; */
    pointer-events: none;
}

.contact-grid .container .indicator g path {
    /* color: transparent !important; */
    stroke: white 10px !important;
    fill: transparent !important;
}

.contact-grid .container:hover .indicator {
    opacity: 1;
}

.contact .wrapper {
    position: relative;
    align-content: center;
    font-family: "Fredericka the Great", serif;
    font-size: var(--header-m);
    font-weight: 400;
    text-align: left;
    /* border: dotted 3px orange; */
    width: 120%;
}

.contact .location-wrapper {
   padding-right: 2rem;
}

.contact .location-wrapper p {
    width: fit-content;
    /* border: dotted 3px red; */
    --_x: 0px;
    transform: translateX(0px);
    transition: transform .5s ease;
}

.contact .location-wrapper:hover p {
    transform: translateX(var(--_x));
}

.contact table {
    position: relative;
    font-family: "Fredericka the Great", serif;
    /* width: 32rem; */
    border-collapse: collapse;
    row-gap: var(--padding-s);
}

/* .contact table tr:nth-of-type(2) th::before {
    content: '|';
    color: var(--clr-blackboard-icons);
    font-size: 2.5rem;
    scale: 8;
    font-weight: 100;
    position: absolute;
    top: 0;
    right: 0;
    width: .5rem;
    height: 120%; */
    /* background-color: #1877F2; */
    /* background-color: #2af0ea; */
    /* background-image: url(../media/chalk-line.webp);
    background-size: 110%; */
    /* background-image: url(../media/chalk-line2.webp);
    background-size: 80% 80%; */
    /* background-image: url(../media/chalk-line3.webp);
    background-size: 110% 100%; */
    /* background-position: center; */
    /* background-repeat: no-repeat; */
    /* scale: .6 1; */
    /* filter: blur(.3px); */
    /* scale: 5; */
/* } */

.contact th,
.contact td {
    position: relative;
    /* font-size: var(--header-m); */
    /* font-family: "Fredericka the Great", serif; */
    line-height: 2;
    color: #fff;
    /* border: 1px dotted red */
}

.contact th {
    font-weight: 400;
    margin-right: var(--margin-m);
    width: 10rem;
    padding-right: var(--padding-l);
    text-align: right;
    /* border-right: 5px solid var(--clr-text); */
}

.contact td {
    width: 30rem;
    padding-left: var(--padding-l);
    text-align: left;
}


.contact td button {
    /* background-color: #1877F2; */
}

.contact td .copy-indicator {
    position: relative;
    display: inline-block;
    color: var(--clr-blackboard-icons);
    width: 2.5rem;
    height: 2.5rem;
    /* background-color: #2af0ea; */    
    overflow: hidden;
    /* translate: 0% 5px; */
}

.contact td .copy-indicator .copy-icon {  
    position: absolute;
    bottom: 0;
    font-size: 2rem;
    transform: translateX(-105%) scale(1);
    transition: transform .3s ease;
}

.contact td:has(button:hover:not(.copied)) .copy-indicator .copy-icon {
    transform: none;
    transition: transform .2s ease .2s;
}

.contact td .copy-indicator .check-icon {  
    position: absolute;
    bottom: 0;
    font-size: 2rem;
    scale: 1.1;
    transform: translateX(80%) scale(0);
    transition: transform .3s ease, color .2s ease;
}

.contact td:has(button.copied) .copy-indicator .check-icon {
    transform: none;
    color: green;
    transition: transform .3s ease .4s, color .3s ease .6s;
}

.contact .message-wrapper {
    /* display: flex; */
    /* flex-wrap: wrap; */
    /* gap: 1rem; */
    width: 85%;
    padding: var(--padding-xxxl);
    max-width: 45rem;
    text-align: center;
    /* border: #001eff dotted 3px; */
    overflow: visible !important;
}

.contact .message-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: -8%;
    width: 110%;
    height: 100%;
    /* background-image: url(../media/chalk-frame.webp); */
    background-image: url(../media/chalk-frame2.webp);
    /* mix-blend-mode: lighten; */
    background-size: 100% 95%;
    background-repeat: no-repeat;
}

.contact .message-wrapper h3 {
    font-size: var(--header-xl);
    /* font-weight: 600; */
    margin-bottom: var(--margin-xl);
}

.contact .message-wrapper p {
    font-size: var(--header-s);
    margin-inline: 3rem;
    margin-bottom: 8.5rem;
}

.contact .message-wrapper i {
    display: block;
    font-size: var(--font-xl);
    font-style: italic;
    /* color: var(--clr-text-unfocused); */
    text-align: right;
    width: 100%;
    color: beige;
    /* border: #FF0000 dotted 1px; */
}

.social-icons {
    /* border: #515bd4 solid 1px; */
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    row-gap: var(--padding-m);
    /* margin-bottom: var(--margin-m); */
}

.icon {
    width: 4rem;
    height: 3rem;
    /* background-color: #f58529; */
    position: relative;
    font-size: 2.5rem;
    color: var(--clr-blackboard-icons);
    z-index: 20;
    text-align: center;
    /* mask-image: url(../media/noise-light-weak.webp),
    linear-gradient(#000 0 0);
    mask-composite: exclude; */
    
    filter: blur(.5px);
    
    transition: color 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}

.icon i {
    margin-block: auto;
}

.icon:hover {
    filter: blur(0px);
    /* transform: scale(1.2); */
    z-index: 111;
}

.icon.facebook:hover {
    color: #1877F2;
}

.icon.facebook:hover::before {
    z-index: -1;
    opacity: 1;
    transition: opacity .5s ease;
}

.icon.instagram {
    background: linear-gradient(45deg, currentColor 60%, #f58529, #dd2a7b, #8134af, #515bd4);
    background-size: 340%;
    background-position: 0% 0%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: color 0.5s ease, transform 0.5s ease, background-position .5s ease;
}

.icon.instagram:hover {
    background-position: 110% 115%;
    transition: color 0.5s ease, transform 0.5s ease, background-position .5s ease;
}

.icon.youtube:hover {
    position: relative;
    color: #FF0000;
    /* z-index: 1; */
}

.icon.youtube::before {
    content: "";
    position: absolute;
    top: 30%;
    left: 20%;
    width: .5rem;
    height: 1rem;
    background-color: #FFFFFF;
    z-index: -1;
    transition: all .3s ease-out .2s;
}

.icon.youtube:hover::before {
    transform: translateX(1rem) scaleX(2);
    transition: all .3s ease-out .2s;
}

.icon.tiktok {
    position: relative;
    transition: all 0.5s ease;
}


.vidmo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    /* z-index: -1; */
    transition: all 0.5s ease;
}

.real {
    z-index: 1 !important;
}

.icon.tiktok:hover .real {
    color: black;
}

.icon.tiktok:hover {
    transform: scale(1.1);
}

.icon.tiktok:hover .vidmo:nth-of-type(2) {
    transform: translateX(-55%) translateY(-55%);
    color: #2af0ea;
}

.icon.tiktok:hover .vidmo:nth-of-type(3) {
    transform: translateX(-42%) translateY(-42%);
    color: #fe2858;
}

@media (max-width: 1250px) {
    .contact h3 {
        /* font-size: var(--font-l); */
    }
    .contact .wrapper {
        /* font-size: var(--font-m); */
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .container:has(.social-icons) { 
        width: 100%;
        /* max-width: 100%; */
    }
    
    .social-icons {
        width: 100%;
        /* max-width: 100%; */
        /* background-color: red; */
        flex-direction: row;
        justify-content: space-evenly;
        padding-inline: 2rem;
    }

    .social-icons .icon {
        width: 6rem;
        height: 4.5rem;
        font-size: 3.75rem;
    }
}
@media (max-width: 964px) {
    /* .contact h3 {
        margin-bottom: ;
    } */
    .contact-grid {
       gap: 5rem;
    }
    .contact-grid .container::after {
        display: none;
    }
    .contact-grid .container::before {
        content: "";
        position: absolute;
        /* bottom: -5rem; */
        top: -3rem;
        height: 2rem;
        width: 500px;
        /* background-color: red; */
        background-image: url(../media/chalk-line-2.svg);
        background-size: 100% 100%;
        scale: 1.2 1;
        /* background-color: green; */
    }
    /* .contact-grid .container:nth-of-type(3)::before {
        display: none;
    } */
}
@media (max-width: 600px) {
    .contact {
        padding-inline: 1rem;
    }
    .contact .message-wrapper {
        width: 95%;
        padding-inline: 0;
        padding-block: 1rem 5rem;
    }
    .contact .message-wrapper p {
        margin: 0;
    }
    .contact .message-wrapper::before {
        top: -6%;
        /* left: -8%; */
        width: 115%;
        height: 112%;
        background-size: 100% 100%;
        background-repeat: no-repeat;
        opacity: .8;
        scale: 1.15 1.20;
    }
    .contact h3 {
        font-size: var(--font-xxl);

    }
    .contact .wrapper {
        font-size: var(--font-xxl);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}