/* Font */
@font-face {
  font-family: "avenir";
  src: url("src/assets/avenir.otf") format("otf");
  /* Additional font properties can be added here */
}

/* Body */
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* height: 100vh; Ensure the body fills the viewport height */
  margin: 0;
  padding: 0;
  background-color: #161616;
  font-family: avenir;
  font-size: 16px;
}
p{
  font-family: "avenir";
  font-size: 20px;
  font-weight: bold;
}
/* Main */
main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
}

main img {
  width: 100%;
  height: auto;
}

/* Footer */
footer {
  width: 100%;
  display: grid; 
  justify-content: center;
  align-items: center;
  height: 20vh; /* Adjusted to viewport height */
  position: absolute;
  bottom: 0;
}

/* Base styles */
footer ul {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  row-gap: 10px;
}

footer ul li {
  color: #fff;
  text-decoration: none;
  list-style-type: none;
}

footer ul li a {
  text-decoration: none;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer ul .field {
  width: 100%;
  border-radius: 2rem;
  border: solid 4px #fff;
  overflow: hidden; /* Ensure the image does not overflow */
  padding: 0.5rem;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin: auto;
  margin-right: 1rem;
  flex-basis: content;
}

footer ul .icon {
  padding: 0.2rem;
  width: 3rem;
}

footer ul img {
  width: 100%; /* Image width */
  height: auto; /* Image height */
}

@media only screen and (max-width: 767px) {
  .field {
    flex-basis: 100% !important;
    margin-bottom: 1rem;
    margin-right: 0 !important;
    
  }
}
