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

header {
    height: 120px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: white;


}


a {
    color: inherit;
    text-decoration: none;
}


.main-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  height: 80px;
  background-color: #fff9f9d7;
  color: #000000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease;
}

.logo img {
  height: 50px;
  content: url('img/logo.png');
  width: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
}

.main-nav ul li {
  margin: 0 20px;
  position: relative;
}

.main-nav ul li a {
  font-weight: 500;
  font-size: 16px;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: purple;
  transition: width 0.3s ease-in-out;
}

.main-nav ul li a:hover {
  color: purple;
}

.main-nav ul li a:hover::after {
  width: 100%;
}

.programslist .programslist1{
        display: none;
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    min-width: 300px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    opacity: 0;
    color: #000000;
    visibility: hidden;
    transition: top 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}
.programslist:hover .programslist1{
     display: block;
    top: 100%;
    opacity: 1;
    visibility: visible;
}
.programslist1 ul{
    flex-direction: column;
}
.programslist1 ul li {
    margin: 0;
    width: 100%;
}
.programslist1 ul li a {
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    white-space: nowrap;
}
.programslist1 ul li a:hover {
    background-color: #000000;
    color: rgb(254, 254, 255);
}

.programslist1 ul li a i {
    margin-left: 8px;
}

.others .other-main {
  display: none;
  position: absolute;
  top: 150%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #eaeaea;
  color: rgb(6, 6, 6);
  min-width: 300px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: top 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.others:hover .other-main {
  display: block;
  top: 100%;
  opacity: 1;
  visibility: visible;
}

.other-main ul {
  display: flex;
  flex-direction: column;
}

.other-main ul li {
  margin: 0;
  width: 100%;
}

.other-main ul li a {
  padding: 12px 20px;
  display: block;
  font-size: 14px;
  white-space: nowrap;
}

.other-main ul li a:hover {
  background-color: #212128;
  color: rgb(255, 254, 255);
}

.other-main ul li a i {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
}

.hamburger-menu {
  display: none;
  cursor: pointer;
  z-index: 1002;
}

.hamburger-menu .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: all 0.4s ease-in-out;
}

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  color: white;
  background-color: #c500ed;
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
  padding-top: 100px;
}

.side-menu nav ul {
  display: flex;
  flex-direction: column;
}

.side-menu nav li {
  width: 100%;
}

.side-menu nav a {
  display: block;
  padding: 18px 30px;
  font-size: 1.6em;
  font-weight: 400;
  transition: background-color 0.3s, color 0.3s;
}

.side-menu nav a:hover {
  color: #ffffff;
}

#menu-toggle:checked ~ .side-menu {
  transform: translateX(0);
}

#menu-toggle:checked ~ .hamburger-menu .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

#menu-toggle:checked ~ .hamburger-menu .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .hamburger-menu .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }
}

.links-intro-page {
    height: auto;
    padding: 5vh 0 9vh 0;
}

.links li {
    border-bottom: 1px solid black;
    margin-top: 20px;
    transition: .3s;
}

.links-txt {

    margin-top: 50px;
    font-size: 4rem;
}

.links li a {
    font-size: 28px;
    line-break: 10px;
    color: black;
    position: relative;
    left: 20px;
}

.links li:hover {
    cursor: pointer;
    padding-bottom: 10px;
    margin-top: 13px;
    align-items: center;
}

.links li:first-child:hover {
    background: rgb(240, 143, 24);
}

.links li:last-child:hover {
    background: rgb(230, 189, 8);
}

.links li:nth-child(2):hover {
    background: rgb(229, 255, 0);

}

.links li:nth-child(3):hover {
    background: rgb(48, 255, 48);
}

.links li:nth-child(4):hover {
    background: rgb(0, 255, 255);
}

.links li:nth-child(5):hover {
    background: rgb(136, 0, 255);
}

.links li:nth-child(6):hover {
    background: rgb(255, 0, 0);
}