* {
  box-sizing: border-box;
  a {text-decoration: none; color:white;}
}

body {
  margin: 0 auto;
  max-width: 1080px;
  font-family: 'sans-serif', sans-serif;
  background-image: url('img/zbg.png');
  background-repeat: repeat;
  background-attachment: fixed;
  background-size: 300px;
  background-color: #eaeaea;
  color: #333;
}

.content-section1 {
  display: block;
  align-items: center;
  padding: 20px 20px;
  border-bottom: 1px solid #ccc;
  background-size: cover;
  background-position: center;
  position: relative;
  margin: 20px;
  border-radius: 12px;
}

.content-section {
  display: block;
  align-items: center;
  padding: 20px 20px;
  border-bottom: 1px solid #ccc;
  background-image: url('img/kr2.jpeg');
  background-size: cover;
  background-position: center;
  position: relative;
  margin: 20px;
  border-radius: 12px;
}

.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.5); 
  border-radius: 12px;
  z-index: 1;
}

.content-section > * {
  position: relative;
  z-index: 2; 
}


.content-section2 {
  display: block;
  align-items: left;
  padding: 20px 20px;
  border-bottom: 1px solid #ccc;
  background-image: url('img/team.jpeg');
  background-size: cover;
  background-position: center;
  position: relative;
  margin: 20px;
  border-radius: 12px;
}

.content-section2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8); 
  border-radius: 12px;
  z-index: 1;
}

.content-section2 > * {
  position: relative;
  z-index: 2; 
}


.div-logo {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-item: center;
  width: 100%;
  margin-left: auto
}

.div-logo img{
  height: 80px;
  width: auto;
  margin: 5px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.div-icon {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-item: right;
  width: 100%;
  margin-left: auto;
  font-family: sans-serif;
}

.div-icon2 {
  font-size: 1.5em;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-item: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  font-family: sans-serif;
}

.div-icon2-h2 {
  font-size: 2em;
  color: #ff914d;
  text-shadow: 2px 2px #000000;
  letter-spacing:5px
}

.div-icon2-p {
  border-radius: 10px;
  font-size: 1.2em;
  color: #346c89;
  text-shadow: 2px 2px #FFFFFF;
}

.div-icon2-p1 {
  border-radius: 10px;
  font-size: 1em;
  color: #346c89;
  text-shadow: 2px 2px #FFFFFF;
}

.div-icon2-p2 {
  border-radius: 10px;
  font-size: 0.8em;
  color: #346c89;
  text-shadow: 2px 2px #FFFFFF;
}


.div-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-item: center;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.div-img {
  border-radius: 10px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}



.subgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
  width: 100%;
}

.sub-item {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 5px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.sub-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}


table {
  
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  }
  th, td {
      border: 0px solid #000;
      padding: 5px;
      font-size: 1em;
      text-align: left;
      color: black;
      background-color: rgba(255, 255, 255, 0.8);
  }
  .left-column {
      text-align: center;
      width: 120px;
      background-color: rgba(0, 0, 0, 0.5);
      color: white;
  }
  .right-column {
      width: auto;
}

  .dynamic-background {
      display: inline-block;
      margin-right: auto;
      background: rgba(0, 0, 150, 0.9);
      color: white;
      padding: 10px;
      border-radius: 5px;
}

footer {
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  padding: 5px 5px;
  border-radius: 0 0 12px 12px;
}

.fixed-tab {
  position: fixed;
  bottom: 10px;
  right: 5px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 4px;
  border-radius: 4px;
  z-index: 1000;
}

.fixed-tab a {
  color: #fff;
  background: #333;
  padding: 4px 8px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
}

.fixed-tab a.active {
  background: #ff9800;
}

.fixed-tab a:hover {
  background: #ff9800;
}



@media all and (min-width:768px) and (max-width:4000px) { 
  .subgrid {
    grid-template-columns: repeat(6, 1fr);
  }
  .div-logo img{
    height: 80px;
    margin: 6px;
    border-radius: 10px;
  }
  .div-title {
    max-width: 70%;
  }

} 


@media all and (min-width:502px) and (max-width:767px){
 
  .subgrid {
    grid-template-columns: repeat(3, 1fr);
  }
 .div-logo img{
    height: 60px;
    margin: 6px;
    border-radius: 7px;
  }

  .div-title {
    max-width: 80%;
  }

  .div-img {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .div-icon2-p2 {
    font-size: 0.7em;
  }

  .fixed-tab a {
  font-size: 1em;
  }
  th, td {
      font-size: 0.9em;
  }
  .left-column {
      width: 110px;
  }
  .div-icon2-p {
    font-size: 1em;
  }

  .div-icon2-h2 {
    font-size: 1.1em;
  }
} 


@media all and (max-width:501px){
  .content-section {
    flex-direction: column;
    text-align: center;
  }

  .fixed-tab {
    bottom: 10px;
    right: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .text-box {
    text-align: left;
  }
  .subgrid {
    grid-template-columns: repeat(2, 1fr);
  }
 .div-logo img{
    height: 40px;
    margin: 6px;
    border-radius: 5px;
  }

  .div-icon2-p1 {
    font-size: 0.7em;
  }

  .div-icon2-p2 {
    font-size: 0.6em;
  }


  .div-img {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .fixed-tab a {
  font-size: 0.8em;
  }

  th, td {
      font-size: 0.8em;
  }
  .left-column {
      width: 100px;
  }
  .div-icon2-p {
    font-size: 0.8em;
  }

  .div-icon2-h2 {
    font-size: 0.8em;
  }
.div-icon2 {
  font-size: 1.2em;
}
} 