/* Form settings */
input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    font-family: Arial;
}
  
input:invalid, textarea:invalid {
    background-color: #ffdddd;
  }
  
  
  input:valid, textarea:valid {
    background-color: white;
  }

button[type=submit] {
    background-color: #04AA6D;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 6px;
    height: 70px;
    width: 230px;
    font-size: 26px;
}
  
button[type=submit]:hover {
    background-color: #45a049;
}
  
.container {
    border-radius: 5px;
    border: 5px solid;
    border-color: var(--standard-dark-purple);
    background-color: var(--standard-faded-white);
    padding: 20px;
    width: 70%;
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.message {
    height: 120px !important;
}

.bg {
    background-color: var(--standard-purple);
}

.contact-logo {
    display: block;
    border: 4px solid black;
    border-radius: 50%;
    margin: 15px 0px 15px 0px;
    margin-left: auto;
    margin-right: auto;
    width: 15%;
    animation: glow 3s ease alternate;
}

.person-name {
    text-align: center;
}

/* SNACKBAR CODE */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: var(--standard-dark-purple); /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
  }

  /* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
  }
  
  /* Animations to fade the snackbar in and out */
  @-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }
  
  @keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }
  
  @-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }
  
  @keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }

 /*  MAIL ICON  */
.container-mail {
    /* grid-column: 2/3;
    grid-row: 2/6; */
    display: flex;

    align-items: center;
    width: 31px;
    height: 28px;
    margin-bottom: 4px;
  }
  @media only screen and (max-width: 790px) {
    .container-mail {
      grid-column: 1/2;
      grid-row: 6/7;
      height: 12px;
      margin-top: 4px;
      justify-self: center;
    }
  }
  
  .mail {
    position: relative;
    top: -4px;
    left: 10px;
  }
  @media only screen and (max-width: 790px) {
    .mail {
      left: -27%;
      top: -5px;
    }
  }
  .mail__top {
    position: absolute;
    top: -9.5px;
    width: 0;
    height: 0;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    border-bottom: 9.8px solid #ffab17;
    z-index: 0;
  }
  .mail__top.closed {
    transition: transform 0.6s 0.8s, z-index 0.2s 0.4s;
    z-index: 2;
    transition-delay: 0.5s;
    transform-origin: bottom left;
    transform: rotate3d(1, 0, 0, 180deg);
  }
  .mail__back {
    position: absolute;
    background: #ffab17;
    width: 20px;
    height: 14px;
    box-shadow: 0 0.1px 1px rgba(0, 0, 0, 0.3);
  }
  .mail__left {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid #ffc867;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
  }
  .mail__right {
    position: absolute;
    left: 10px;
    width: 0;
    height: 0;
    border-right: 10px solid #ffc867;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
  }
  .mail__bottom {
    position: absolute;
    top: 7px;
    width: 0;
    height: 0;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    border-bottom: 7.08px solid #ffbb43;
  }
  .mail__letter {
    position: absolute;
    top: -4px;
    left: 2px;
    width: 16px;
    height: 13px;
    background: #fff;
    box-shadow: 0 0 0.8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.8s ease;
  }
  .mail__letter.move {
    transform: translateY(4.5px);
  }
  .mail__letter * {
    background: #e0e0e0;
  }
  .mail__letter-square {
    position: absolute;
    top: 3px;
    left: 1px;
    width: 3.8px;
    height: 4px;
  }
  .mail__letter-square::before {
    content: "";
    position: absolute;
    top: -2px;
    width: 10px;
    height: 1.5px;
    background: inherit;
  }
  .mail__letter-lines {
    top: 4.9px;
    left: 5.8px;
  }
  .mail__letter-lines, .mail__letter-lines::before, .mail__letter-lines::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 0.3px;
    background: #e0e0e0;
  }
  .mail__letter-lines::before {
    top: -1px;
  }
  .mail__letter-lines::after {
    top: 1px;
  }

  /* Create two equal columns that floats next to each other */
.column_1 {
    float: left;
    width: 25%;
    padding-right: 10px;
}

.column_2 {
    float: left;
    width: 75%;
    padding-left: 10px;
}
