body {
  background-size: cover;
  color: #fff;
  background-color: #000;
  line-height: 1.6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 20px;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}


/* Add a background color and some padding around the form */
.container {
  border-radius: 0px;
  margin: 10%;
}

/* Add a background color and some padding around the form */
.gta {
  margin-bottom: 30px;
}

.contact {
  border-radius: 0px;
  margin-left: 20%;
  margin-right: 20%;
}

/* New */
ul {
  list-style: none;
  padding: 0;
  color: #fff;
}

.li a {
  text-decoration: none;
  color: #c77f7f;
}

/* unvisited link */
a:link {
  color: rgb(255, 255, 255);
  text-decoration: none;
}

/* visited link */
a:visited {
  color: #FFF;
  text-decoration: none;
}

/* mouse over link */
a:hover {
  text-decoration: none;
  color: rgb(216, 8, 112);
}

/* selected link */
a:active {
  text-decoration: none;
  color: blue;
}

.myfooter {
  background: rgb(0, 0, 0);
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 50px;
  padding-bottom: 50px;
  bottom: 0;
  margin-top: 80px;
  width: 100%;
  left: 0;
}




@media (min-width: 790px) {
  div {
     display: flow-root;
     border: 1px #cd0000 none;
  }   
   
  header { 
     width: 50%; 
     float: left;
     position: relative;
  }
  
  main { 
     padding-top: 200px;
     float: right;
     margin: 30px;
     position: relative;
     width: calc(50% - 30px); 
     margin-bottom: 350px; 
  }  
   
}

div > * {
   box-sizing: border-box;
   color: #fff;
}


/* new */


  /* Footer styling */
  .myfooter {
    background-color: #848fe4; /*008889*/
    color: white;
    padding: 40px 20px;
    text-align: left;
    font-size: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* 4 columns, adjusts for screen size */
    gap: 20px;
    justify-items: start;
  }

  .myfooter h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #f1f1f1;
  }

  .myfooter nav ul {
    list-style: none;
    padding: 0;
  }

  .myfooter nav ul li {
    margin: 8px 0;
  }

  .myfooter nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .myfooter nav ul li a:hover {
    color: #f0f0f0;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .myfooter {
      grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
  }

  @media (max-width: 480px) {
    .myfooter {
      grid-template-columns: 1fr; /* 1 column on small screens */
      padding: 20px;
    }
  }


  /* contact */
  input[type=text], 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;
  }
  
  input[type=submit] {
    background-color: #848fe4;
    color: white;
    padding: 12px 20px;
    border: none;
    width: 100%;
    height: 50px;
    border-radius: 4px;
    cursor: pointer;
  }
  
  input[type=submit]:hover {
    background-color: #45a049;
  }
