.overcontainer{
    margin: 2rem;
}


.overcontent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    padding: 2vw;
    font-size: var(--font-size);
    color: var(--black);
    border-radius: var(--border-radius);/* 125% 8% 92% 8% / 4% 88% 12% 96% ; */
    border: var(--border);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.overcontent input[type=text], select, textarea {
    width: 100%; /* Full width */
    padding: 19px; /* Some padding */ 
    border: var(--border); /* Gray border */
    border-radius: var(--border-radius); /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 20px; /* Add a top margin */
    margin-bottom: 20px; /* Bottom margin */
    resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
    background-color: var(--red);
    font-size: var(--font-size);
    color: var(--black);
  }
  
  /* Style the submit button with a specific background color etc */
  .overcontent input[type=submit] {
    background: var(--button-gradient);
    color: var(--white);
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: var(--font-size);
  }
  
  /* When moving the mouse over the submit button, add a darker green color */
  .overcontent input[type=submit]:hover {
    background: var(--button-gradient-hover);
  }
  
  .overcontent label{
    margin-top: 10px;
      font-size: var(--font-size);
      color: var(--white);
      background-color: var(--green);
      border-radius: var(--border-radius);
      padding: 10px;
      margin-bottom: 10px;
      
  }

  @media 
  only screen and (max-width: 760px),
  (min-device-width: 768px) and (max-device-width: 1024px)  {
    /* Apply styles here */
    .overcontent {
        font-size: var(--font-size-small);
    }
    .overcontent input[type=text], select, textarea {
        padding: 20px; /* Some padding */ 
        font-size: var(--font-size-small);
      }
      
      /* Style the submit button with a specific background color etc */
      .overcontent input[type=submit] {
        padding: 10px 15px;
        font-size: var(--font-size-small);
      }
      
      /* When moving the mouse over the submit button, add a darker green color */
      
      .overcontent label{
          font-size: var(--font-size-small);
          padding: 5px;
      }
  } 