
@import url('https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


body {

    background-color: rgba(127, 255, 212, 0.747);
    font-size: x-large;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-items: center;
  padding: 20px 8%;
  background-color: aquamarine;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

div {
    justify-content: center;
    align-items: center;
}
.section {
  height: 100vh;
  width: 100vw;
  margin-left: 0;

}
.social-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 400px);  /* match .grid-item's fixed width */
  justify-content: center;                   /* centers the grid track as a whole */
  gap: 15px;
  padding: 10px;
}

.social-item {
  height: 100px;
  width: 100px;
  color: white;
  padding: 20px;
  font-size: 18px;
  text-align: center;
  border-radius: 5px;
}
.navigation ul {
  display: flex;
  align-items:  center;
  flex-direction: row;
  list-style: none;
  gap: 10px;
}
.nav-button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  font-family: sans-serif;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
  
  border: 2px solid black;
  border-radius: 10%;
  background-color: rgb(255, 240, 127);
  color: #1d1b1b;
  margin-left: 20px;
  margin-right: 20px;
  
}
.nav-button:hover {
  background-color: #efaa42;
}

.custom-button:active {
  transform: scale(0.98);
}

.socials-grid {
  height: 50vh;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 100px);
  grid-template-rows: repeat(2, 100px);
  justify-content: center;   /* centers columns horizontally */
  align-content: center;     /* centers the 2 rows vertically within 50vh */
  gap: 15px;
  padding: 10px;
}

#About {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  width: 100vw;
  padding: 0 8%;
  font-family: 'Bitter', sans-serif;
}

.grid-item {
  border-radius: 16px;
  background: #bff5f7;
  box-shadow: 15px 15px 42px #a6a6a6, -15px -15px 42px #71f6f6;
  padding: 20px;
  font-size: 16px;
  font-weight: 400;
  width: 400px;
  height: auto;          
  text-align: center;
  border-radius: 5px;
}

.grid-item figure {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
}

.grid-image {
  width: 100%;
  height: 300px;       
  object-fit: cover;
  border-radius: 5px;
}

.grid-item figcaption {
  padding-top: 12px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}