div {
    font-family: Roboto;
}

#contactLoadingWrapper {
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
}

.site-content-contain {
    background: linear-gradient(180deg, #3E3E3E 0%, #040404 100%);
}

#contactLoadingIcon {
    content: url("../images/loading.gif");
    width: 250px;
    height: 250px;
}

#contactBackground {
    width: 100vw;
    height: calc(100vh - 55px);
    
    overflow-y: overlay;
    overflow-x: hidden;
    position: absolute;
    top: 55px;
    left: 0;
    display: flex;
    justify-content: center;
}

#contactName,
#contactEmail,
#contactPhone,
#contactAddress,
#contactMessage {
    width: 100%;
    height: 30px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    flex-grow: 1;
}

#contactMessage {
    min-height: 200px;
    flex-grow: 1;
}

#contactSubmit {
    width: 100%;
    background-color: grey;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: Roboto;
    font-size: 25px;
    text-align: center;
}





form label {
    float: left;
}

.required:after {
    content: " *";
    color: red;
}

#asterisk {
    color: red;
}

#requiredFieldWrapper {
    display: flex;
}

#contactFormTitle {
    color: black;
}

#contactBackground {
    overflow: hidden;
}

#contactPageHeaderText {
    font-size: 20px;
    line-height: 25px;
    margin-top: 25px;
    text-align: justify;
}





/* copy button CSS */

.copyButton {
  background-color: #36A9AE;
  background-image: linear-gradient(#37ADB2, #329CA0);
  border: 1px solid #2A8387;
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.12) 0 1px 1px;
  color: #FFFFFF;
  cursor: pointer;
  display: block;
  font-family: Roboto !important;
  font-size: 15px;
  line-height: 100%;
  margin: 0;
  outline: 0;
  padding: 4px;
  text-align: center;
  transition: box-shadow .05s ease-in-out,opacity .05s ease-in-out;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: min-content;
  position: absolute;
  top: 6px;
  right: 6px;
  text-transform: none !important;
}

.copyButton:hover {
  box-shadow: rgba(255, 255, 255, 0.3) 0 0 2px inset, rgba(0, 0, 0, 0.4) 0 1px 2px;
  text-decoration: none;
  transition-duration: .15s, .15s;
}

.copyButton:active {
  box-shadow: rgba(0, 0, 0, 0.15) 0 2px 4px inset, rgba(0, 0, 0, 0.4) 0 1px 1px;
}

.copyButton:disabled {
  cursor: not-allowed;
  opacity: .6;
}

.copyButton:disabled:active {
  pointer-events: none;
}

.copyButton:disabled:hover {
  box-shadow: none;
}

#clickOrCopyText {
    font-size: 17.2px;
    font-style: italic;
    margin-top: 10px;
    text-align: justify;
}

#pageContent input, #pageContent textarea {
    outline: none;
}


* {
    box-sizing: border-box;
}

#emailIcon img {
    content: url("../images/mailIcon.png");
}

#phoneIcon img {
    content: url("../images/phoneIcon.png");
}

@media all and (max-width: 469px) {
    #phoneIcon, #emailIcon {
        width: 50px !important;
        height: 50px !important;
    }
    
    #phoneIcon img, #emailIcon img {
        width: 30px !important;
        height: 30px !important;
    }
    #emailText,
    #phoneText {
        font-size: 16px !important;
        
    }
}

@media all and (min-width: 470px) and (max-width: 509px) {
    #emailText,
    #phoneText {
        font-size: 16px !important;
        
    }
}

@media all and (min-width: 510px) and (max-width: 519px) {
    #emailText,
    #phoneText {
        font-size: 18px !important;
        
    }
}

@media all and (min-width: 520px) and (max-width: 569px) {
    #emailText,
    #phoneText {
        font-size: 20px !important;
        
    }
}

@media all and (min-width: 570px) and (max-width: 619px) {
    #emailText,
    #phoneText {
        font-size: 22px !important;
        
    }
}

@media all and (min-width: 620px) and (max-width: 739px) {
    #emailText,
    #phoneText {
        font-size: 25px !important;
        
    }
}

@media all and (min-width: 740px) and (max-width: 814px){
    #emailText,
    #phoneText {
        font-size: 30px !important;
        
    }
}


@media all and (min-width: 815px) and (max-width: 969px) {
    #emailText,
    #phoneText {
        font-size: 35px !important;
        
    }
}
#emailWrapper {
    margin-bottom: 15px;
}

#emailText, #phoneText {
    font-size: 50px;
    font-weight: bold;
    text-align: center;
    width: min-content;
    color: #444 !important;
    white-space: nowrap;
}

@media all and (min-width: 970px) and (max-width: 1214px) {
    #requiredFieldWrapper {
        margin-bottom: 20px;
    }

    #contactInfoWrapper {
        width: 100%;
        margin-bottom: 20px;
        display: block;
    }

    #emailText,
    #phoneText {
        font-size: 50px;
        font-weight: bold;
        text-align: center;
        width: min-content;
        color: #444 !important;
        white-space: nowrap;
    }

    #emailIcon,
    #phoneIcon {
        height: 55px;
        width: 55px;
        border-radius: 50%;
        background-color: #3b93d6;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 5px;
        flex-grow: 0;
        flex-shrink: 0;
    }

    #emailIcon img,
    #phoneIcon img {
        height: 30px;
        width: 30px;
    }

    #emailWrapper,
    #phoneWrapper {
        height: 120px;
        border-radius: 15px;
        background-color: white;
        border: 1px solid grey;
        display: flex;
        align-items: center;
        padding: 10px;
        position: relative;
    }
    
    

    #emailWrapper {
        margin-bottom: 15px;
        margin-right: 0;
    }

    #emailWrapper:active:not(:has(.copyButton:active)), #phoneWrapper:active:not(:has(.copyButton:active)) {
        background-color: #98d2ff;
    }

    #contactSubmit:active {
        background-color: #45a049;
    }

    #contactForm {
        width: 100%;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        border-radius: 15px;
        background-color: #f2f2f2;
        padding: 20px;
    }

    #contactForm h1 {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 0;
        margin-bottom: 20px;
        color: #444;
    }

    #form {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    #clickOrCopyText {
        line-height: 23px;
        margin-bottom: 10px;
    }
}

#emailIcon,
#phoneIcon {
    height: 80px;
    width: 80px;
    border-radius: 50;
    background-color: #3b93d6;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    flex-grow: 0;
    flex-shrink: 0;
}

#emailIcon img,
#phoneIcon img {
    height: 50px;
    width: 50px;
}



#emailWrapper,
#phoneWrapper {
    height: 100px;
    border-radius: 15px;
    background-color: white;
    border: 1px solid grey;
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.5s;
}



#emailWrapper:hover:not(:has(.copyButton:hover)), #phoneWrapper:hover:not(:has(.copyButton:hover)) {
    background-color: #98d2ff;
}

#emailText,
#phoneText {
    font-size: 33px;
    font-weight: bold;
    text-align: center;
    width: calc(100% - 60px);
    color: #444 !important;
    padding-right: 40px;
}

#contactSubmit:hover {
    background-color: #45a049;
}

#contactForm {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    background-color: #f2f2f2;
    padding: 20px;
}

#contactForm h1 {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
    color: #444;
}

#form {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#pageContent {
    width: 100%;
    height: min-content;
    display: flex;
    flex-direction: column;
    position: relative;
}

#contactInfoWrapper {
    margin-bottom: 20px;
  }

@media all and (min-width: 1215px) { /* DESKTOP */



    #emailWrapper {
        flex: 65;
        margin-right: 20px;
    }

    #phoneWrapper {
        flex: 40;
    }
    
    #contactInfoWrapper {
        display: flex;
        margin-bottom: 20px;
        margin-top: 10px;
        width: 100%;
    }

}

