/*background + text colour*/
body {
  color: rgb(243, 243, 243);
  background-color: rgb(20, 20, 20);
}

/*Font*/
body {
  font-family: "Oxanium", sans-serif;
}

/*header*/
.header {
  overflow: hidden;
  background-color: rgb(20, 20, 20);
  padding: 20px;
}

/*Images*/
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 25px;
  padding: 32px;
}

.grid img {
  width: 100%;
  height: auto;
  display: block;
}

.grid img {
  cursor: pointer;
  transition: transform 0.1 ease;
}

.grid img:hover {
  opacity: 0.9;
}

/*Modal images*/
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.modal {
  display: none;
  position: fixed;
  z-index: 100;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  animation: zoom 0.3s;
}

@keyframes zoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}


.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: #bbb;
}

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}

/*Contact H1*/
h1 {
  text-align: center;
  font-size: 30px;
  padding: 5px;
}
/*header links*/
.header a {
  float: left;
  color: rgb(173, 173, 173);
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px;
  line-height: 9px;
  border-radius: 2px;
}

/*header logo*/
.header a.logo {
  font-size: 18px;
  font-weight: bold;
  color: white;
}

/*Links*/
.header a.active {
  color: #ffffff;
}

/*Float links to right*/
.header-right {
  float: right;
}

/*Contact Form*/
.contact-section {
  width: 100%;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1rem;
}

.contact-intro > * + * {
  margin-top: 1rem;
}

.contact-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
}

.contact-description {
  color: rgb(107 114 128);
}

.form-group-container {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.form-input::placeholder,
.form-textarea:focus-visible {
  color: #806b6b;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: px solid #2563eb;
  outline-offset: 2px;
}

.form-textarea {
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 1.2rem;
  background-color: #3124ca;
  color: #fff;
  padding: 13px 5px;
  border-radius: 0.375rem;
}

/*Footer*/
footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: 10px;
  background-color: #0c0c0c;
}

/* Center section text */
.contact-intro {
    text-align: center;
}

/* Icon container */
.social-icons {
    margin-top: 25px;
}

/* Icon style */
.social-link {
    color: white;
    font-size: 2.5em;
    margin: 0 15px;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.3s ease;
}

/* Hover effects */
.social-link:hover {
    transform: scale(1.2);
    opacity: 0.8;
}