
.semester{
    height: 300px;
    margin-top: 70px;
    display: grid;
    grid-template-columns: 7fr 1fr;
    gap: 30px;

}


.ads{
    height: 300px;
    width: 150px;
    position: relative;
    
}

.photo-slider{
    height: 100%;
    width: 100%;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.active {
    opacity: 1;
  }

  .sem-text{
    display: grid;
    grid-template-columns: 1fr;
  }

  .ads-side{
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
  }

  .CSIT{
    color: #29AF92;
  }

  .align{
    text-align: center;
    font-size: 1.2rem;
  }

  .sem{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 20px;
  }

  .first{
    background-color: #F3E3D3;
    
    
  }

  .second {
    background-color: #F3D6D6;
    
  }

  .third{
    background-color: #F5E5B0;
  }

  .fourth{
    background-color: #CCE7FD;
    
  }

  .fifth{
    background-color: #D3D3F3;
    
  }

  .sixth{
    background-color: #CFDBF3;
  }

  .seventh{
    background-color: #D1F3ED;
  }

  .eight{
    background-color: #CFF0D2;
  }

  .box{
    display: flex;
    align-items: center;
    height: 80px;
    border-radius: 5px;
    gap: 20px;
    transition: all 0.8s ease;
   
  }
 .icon{
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    height: 50px;
    width: 50px;
    border-radius: 8px;
    margin-left: 10px;
    transition: all 0.8s ease;
 }

 .firsticon{
  color: #FD8F21;
 }

 .secondicon{
  color: #E34444;
 }

 .thirdicon{
  color: #FFC91B;
 }

 .fourthicon{
  color:#1089FF;
 }

 .fifthicon{
  color: #564FFD;
 }

 .sixthicon{
  color: #8D95A4;
 }

 .seventhicon{
  color: #47C5B0;
 }

 .eighticon{
  color: #43C650;
 }

 .semtext{
    display: grid;
    gap: 10px;
 }

 .box:hover{
    background-color: white;
 }

 .box:hover .firsticon{
    color: white;
    background-color: #FD8F21;
 }

 .box:hover .secondicon{
  color: white;
  background-color: #E34444;
}

.box:hover .thirdicon{
  color: white;
  background-color: #FFC91B;
}
.box:hover .fourthicon{
  color: white;
  background-color: #1089FF;
}
.box:hover .fifthicon{
  color: white;
  background-color: #564FFD;
}
.box:hover .sixthicon{
  color: white;
  background-color: #8D95A4;
}
.box:hover .seventhicon{
  color: white;
  background-color: #47C5B0;
}
.box:hover .eighticon{
  color: white;
  background-color: #43C650;
}