.contact_container {
    position: relative;
    margin: 154px 40px 8rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: min-content;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

body > div.contact_container > div:nth-child(2) > p {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 12px;
}

body > div.contact_container > div:nth-child(1) > h1 {
    font-weight: 400;
    font-size: calc(1.2vw + 4rem);
    text-transform: uppercase;
    margin: 0 0 0.7em;
}

body > div.contact_container > div:nth-child(2) > h2 {
    font-size: 2rem;
    font-weight: 300;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
body > div.contact_container > div:nth-child(2) > h2 > p {
    margin: 0;
    font-weight: 50;
    margin-right: 10%;
}

body > div.contact_container > div:nth-child(1) > div {
    justify-self: center !important;
    margin-right: 3rem;
}


body > div.contact_container > div:nth-child(1) {
    background-color: white;
    padding: 3rem 3rem 3rem 3rem;
}

body > div.contact_container > div:nth-child(1) > p {
    margin-top: 2em;
    width: 80%;
    font-weight: 600;
}



body > div.contact_container > div:nth-child(2) {
    padding: 3rem;
    background: linear-gradient(to right, black 5% , rgb(0, 0, 0, 0.8) 50%, rgb(0, 0, 0, 0.5) 80%, rgba(0, 0, 0, 0.2) 100%);
}

body > div.contact_container > div:nth-child(2) > h2 {
    color: white;
}


body > div.contact_container > div:nth-child(2) > form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#enquiry {
    background-color: #000000;
    font-family: inherit;
    width: 80%;
    border: none;
    border-radius: 0.5rem;
    color: white;
    border: rgba(177, 177, 177, 0.409) 1px solid;
    padding: 5px 10px;
}

body > div.contact_container > div:nth-child(2) > form > p > label > input {
    font-family: inherit;
    background-color: #000000;
    border: none;
    border-radius: 0.5rem;
    color: white;
    border: rgba(177, 177, 177, 0.409) 1px solid;
    padding: 5px 10px;
    margin-top: 1em;
}
body > div.contact_container > div:nth-child(2) > form > p:nth-child(3), body > div.contact_container > div:nth-child(2) > form > p:nth-child(4), body > div.contact_container > div:nth-child(2) > form > p:nth-child(5) {
    margin-top: 0;
}


body > div.contact_container > div:nth-child(2) > form > p  {
    width: 80%;
}

body > div.contact_container > div:nth-child(2) > form > p label {
    display: flex;
    flex-direction: column;
    width: 80%;
    color: white;
}

body > div.contact_container > div:nth-child(2) > form > button {
    background-color: rgb(255, 255, 255);
    font-family: inherit;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 2rem;
    padding: 5px 2rem 7px;
    font-size: 16px;
    margin-top: 2rem;
    text-transform: uppercase;
    box-shadow: 0 0 1.5em rgba(255, 255, 255, 0.378);
    cursor: none;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 2s;
}

body > div.contact_container > div:nth-child(2) > form > button:hover {
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
    color: white;
    background-color: black;
}
















.success {
    top: 0;
    position: fixed;
    max-width: 100vw;
    min-width: 100vw;
    height: 100vh;
    backdrop-filter: blur(10px);
    z-index: 9000;
    background-color: #00000073;
    border-radius: 2vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    z-index: -1000;
    opacity: 0;
  }
  
  .success p {
    font-size: 1rem;
    color: rgb(255, 255, 255);
  }

  .success div {
    display: flex;
    flex-direction: column;
  }
  

  body > div.success > div > p:nth-child(1) {
    font-weight: normal;
    font-size: 540%;
    letter-spacing: -0.05em;
    background: linear-gradient(-60deg, rgb(0, 0, 0), #ffffff, rgb(0, 0, 0), #000000, rgb(0, 0, 0));
    background-size: 300% 300%;
    animation: gradient 10s ease infinite;
    -webkit-background-clip: text; /* Ensures the background gradient is clipped to text */
    -webkit-text-fill-color: transparent; /* Makes the text itself transparent */
    background-clip: text;
    margin: 0;
  }

  body > div.success > div > p:nth-child(2) {
    width: 80%;
    border-left: solid 2px white;
    padding-left: 3%;
    margin-left: 1%;
    font-weight: 400;
  }

  body > div.success > div > button {
    background-color: rgb(0, 0, 0);
    font-family: inherit;
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 2rem;
    padding: 5px 2rem 7px;
    font-size: 16px;
    margin-top: 2rem;
    text-transform: uppercase;
    box-shadow: 0 0 1.5em rgba(255, 255, 255, 0.378);
    cursor: none;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 2s;
    width: fit-content;
  }

  body > div.success > div > button:hover {
    color: #000000;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 2s;
    background-color: white;
  }
  

  @media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 2) {
    .contact_container {
        margin: calc(114px + 2rem) 1rem 5rem;
        display: flex;
        flex-direction: column;
    }

    body > div.contact_container > div:nth-child(1) {
        padding: 2rem;
    }

    body > div.contact_container > div:nth-child(1) > h1 {
        font-size: 2.5rem;
        margin-bottom: 0.9em;
    }

    body > div.contact_container > div:nth-child(1) > div {
        margin-right: 5%;
    }
    body > div.contact_container > div:nth-child(1) > p  {
        width: 100%;
    }

    body > div.contact_container > div:nth-child(2) > form > p  {
        width: 100%;
    }
    
    body > div.contact_container > div:nth-child(2) > form > p label {
        width: 100%;
    }

    #enquiry {
        width: 100%;
    }

    body > div.contact_container > div:nth-child(2) {
        padding: 3rem 2rem 3rem;
    }

    body > div.contact_container > div:nth-child(2) > p {
        margin: 0 0 2.5rem;
    }

    body > div.contact_container > div:nth-child(2) > form > button {
        font-size: 13px;
        border-radius: 9px;
        padding: 6px 20px 8px;
    }
  }