html body {
  margin: 0;
  padding: 0;
  background-color: burlywood;
  height: 100vh;
  font-family: "Lato", sans-serif;
}

.all {
  background-color: #f2d2a9;
  margin: 0;
  padding: 0;
  background-image: url("images/image1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  font-family: "Lato", sans-serif;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(80, 80, 80, 0.8);
  box-shadow: rgba(0, 0, 0, 0.4) 0px 8px 24px;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 35px;
}

.logo-name {
  font-weight: 800;
  font-size: 25px;
  color: burlywood;
  margin-left: 40px;
}

.nav-link-list {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
  margin-right: 40px;
}

.nav-link-list li a {
  text-decoration: none;
  color: burlywood;
  font-size: 18px;
  transition: color 0.3s ease;
}

.nav-link-list li a:hover {
  color: rgb(62, 11, 11);
}

.burger-menu {
  position: relative;
  display: none;
  align-items: center;
  z-index: 1001;
}

#menu-toggle {
  display: none;
}

.burger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  margin-right: 30px;
  z-index: 20;
}

.burger-icon span {
  display: block;
  width: 100%;
  height: 3px;
  background: burlywood;
  border-radius: 2px;
  transition: all 0.3s ease;
}

#menu-toggle:checked + .burger-icon span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

#menu-toggle:checked + .burger-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .burger-icon span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

.dropdown-menu {
  position: absolute;
  top: 45px;
  right: 0;
  background-color: rgb(37, 2, 2);
  display: none;
  flex-direction: column;
  width: 200px;
  border-radius: 6px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  z-index: 2001;
}

#menu-toggle:checked ~ .dropdown-menu {
  display: flex;
}

.dropdown-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-menu li {
  text-align: center;
}

.dropdown-menu a {
  display: block;
  color: white;
  background-color: burlywood;
  padding: 12px 0;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: rgb(37, 2, 2);
}

.logo {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
}

.logo img {
  width: 100px;
  height: auto;
  cursor: pointer;
}

.home-page {
  position: absolute;
  top: 40%;
  left: 3%;
  color: burlywood;
  text-align: left;
  z-index: 2;
}

.home-page h1 {
  font-size: 30px;
  margin-bottom: 15px;
}

.home-page p {
  font-size: 18px;
  line-height: 1.5;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 90vh;
  gap: 30px;
}

.container .middle {
  margin-left: -20px;
  margin-top: 0px;
}

.image img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.image img:hover{
  transform: scale(1.1);
  cursor: pointer;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(80, 80, 80, 0.8);
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 15px 0;
}

.footer a {
  color: burlywood;
  font-size: 24px;
  transition: 0.3s;
  text-decoration: none;
}

.middle1 {
  display: grid;
  grid-template-columns: repeat(3, 0.6fr);
  gap: 15px;
  text-align: left;
  margin: 50px 30px 0px 30px;
  margin-top:30px ;
}

.middle1 h1 {
  grid-column: 1 / -1;
  text-align: center;
  margin: 20px 0;
  color: #6b3e26;
}

.middle1 b {
  color: #6b3e26;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 30%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  padding-top: 80px;
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 30%;
  border-radius: 10px;
}

.container2 {
  width: 100%;
  padding: 53px 40px;
  text-align: center;
  position: relative;
  z-index: 1000;
}

.middle2 {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.middle2 h1 {
  width: 100%;
  text-align: center;
  color: #3b2a1a;
  font-family: "Lato", sans-serif;
  font-size: 2.2rem;
  margin-bottom: -50px;
}

.column {
  border-radius: 15px;
  max-width: 330px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.column img {
  width: 150px;
  height: 190px;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: transform 0.5s ease;
}

.column img:hover {
  transform: scale(1.1); 
  cursor: pointer;
}

.container3 {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px;
}

.personal-box {
  flex: 1;
  background: #a0895f;
  padding: 10px;
  padding-top: 30px;
  margin-top:50px;
  margin-bottom: 80px;
  border-radius: 10px;
  text-align: center;
}

.personal-box img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.personal-box:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.right-section {
  margin-top: 60px;
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-section {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.info-section img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.info-text {
  flex: 1;
}

.link-container a {
  position: relative;
  margin-right: 15px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  overflow: hidden; 
}

.link-container a::after {
  content: '';
  position: absolute;
  display: none;
  bottom: 100%;
  left: 0;
  width: 150px;
  height: 100px;
  background-size: cover;
  background-position: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  margin-bottom: 5px;
}

.link-container a.unibit::after {
  background-image: url('images/unibit.jfif');
  cursor: pointer;
}

.link-container a.ucm::after {
  background-image: url('images/ucm.jpg');
  cursor: pointer;
}

.link-container a:hover::after {
  display: block;
}  

table {
  width: 90%;
  background-color: #b48e60;
  border-radius: 30px;
  margin: 80px auto;
  border-collapse: separate;
  border-spacing: 0; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden; 
}

th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

td{
  text-align: center;
}

tr {
  transition: background-color 0.4s ease;
}

tr:hover td {
  background-color: #856641; 
}

video{
  max-width: 150px;
  height: auto;
  display: inline-block;
}

.isic-card {
  max-width: 150px;
  height: auto;
  display: inline-block;;
}

audio {
  width: 200px; 
  margin-left: -10px;
  display: inline-block; 
}

@media (max-width: 991px) {
  .nav-link-list {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .logo {
    display: none;
  }

  .logo-name {
    font-size: 18px;
  }

  .home-page {
    text-align: center;
  }

  .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .middle {
    font-size: 14px;
    margin-left: 10px;
    padding-left: 25px;
  }

  .middle h1 {
    font-size: 22px;
    margin-top: 50px;
  }

  .image img {
    max-width: 80%;
    height: auto;
  }

  .footer {
    position: relative;
    margin-top: 20px;
  }

  .middle1,
  .middle2 {
    grid-template-columns: repeat(1, 1fr);
    margin: 0 20px;
  }

  .container3 {
    flex-direction: column;
    gap: 20px;
    padding: 15px;
  }

  .personal-box {
    flex: 1 1 100%;
    margin-top: 20px;
    padding: 15px;
  }

  .right-section {
    margin-top: 10px;
    gap: 20px;
  }

  .info-section {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .info-section img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .info-text {
    width: 100%;
    text-align: center;
  }

  .link-container a {
    margin-right: 10px;
    font-size: 14px;
  }

  table {
    width: 100%;
    margin: 30px 0px;
    font-size: 14px;
  }

  th, td {
    padding: 10px;
    text-align: center;
  }

  .isic-card,video {
    max-width: 120px;
    margin: 0 auto;
  }

  audio {
    width: 100%;
    margin-left: 0;
  }

  tr, th, td {
    display: block;
    width: 100%;
  }

  tr {
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
  }
}
