*{
    margin: 0;
    padding: 0;
}

body{
     background-image: url("bg1.png");
      background-size: cover;
     background-repeat: no-repeat;
 }
.main{
    width: 100%;
    /* background:url(bg.png); */
    background-position: center;
    background-size: cover;
     /* height: 109vh; */ 
}
header{
    background-color: transparent;
}
.hamburger{
    display: none;
    cursor: pointer;
}
.navbar{
    width: 1220px;
    height: 75px;
    margin: auto;
    background-attachment: fixed;
}
.menu{
    width: 330px;
    height: 80px;
    float: left; 
    }
.icon{
    bottom: 0px;
    width: 69px;
    float: left;
    height: 70px;
}
.logo{
    color: #ff7200;
    font-size: 35px;
    font-family: Arial;
    padding-left: 20px;
    float: left;
    padding-top: 5px;
    margin-top: 5px;
    margin-left:-100px;
}
ul{
    gap: 7.6rem;
    float: left;
    display: flex;
    justify-content: left;
    align-items: center;
}
ul li{
    list-style: none;
    margin-left: 3px;
    margin-top: 71px;
    font-size: 16px;
}
ul li a{
    text-decoration: none;
    color: #fff;
    font-family: valera;
    font-weight: bold;
    transition: 0.2s ease-in-out;
}
ul #facad a{
    color: #ff7200;
}
ul li a:hover{
    color: #ff7200;
}
.search{
    width: 320px;
    float: right;
    margin-left: 200px;
    margin-top: 15px;
}
.bar{
    display: block;
    width: 65px;
    height: 5px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
}
.srch{
    font-family: 'Times New Roman';
    width: 200px;
    height: 40px;
    background: transparent;
    border: 1px solid #ff7200;
    margin-top: 13px;
    color: #fff;
    border-right: none;
    font-size: 16px;
    float: left;
    padding: 10px;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}
.btn{
    width: 100px;
    height: 40px;
    background: #ff7200;
    border: 2px solid #ff7200;
    margin-top: 13px;
    color: #000000;
    font-size: 15px;
    border-bottom-right-radius: 5px;
    border-bottom-right-radius: 5px;
    transition: 0.2s ease;
    cursor: pointer;
}
.btn:hover{
    color: #ffffff;
}
.btn:focus{
    outline: none;
}
.srch:focus{
    outline: none;
}
.content{
    width: 1200px;
    height: auto;
    margin:auto;
    color: #fff;
    position: relative;
}
.content .par{
    padding-left: 20px;
    padding-bottom: 25px;
    font-family: Arial;
    letter-spacing: 1.2px;
    line-height: 30px;
}
.content h1{
    font-family: 'Times New Roman';
    font-size: 50px;
    padding-left: 20px;
    margin-top: 9%;
    letter-spacing: 2px;
}
.content .cn{
    width: 160px;
    height: 40px;
    background: #ff7200;
    border: none;
    margin-bottom: 10px;
    margin-left: 20px;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: .4s ease;
    
}
.content .cn a{
    text-decoration: none;
    color: #000;
    transition: .3s ease;
}
.cn:hover{
    background-color: #ffffff;
}
.year{
    margin-left: 305px;
    width: 500px;
    margin-bottom: 17px;
    margin-top: 35px;
}
.cn_publications{
    width: 110px;
    height: 32px;
    background: #ff7200;
    /* background-image: linear-gradient(to left, rgba(255, 72, 0, 0.9)100% ,rgba(255, 72, 0, 0.9)100%); */
    border: 2px solid black;
    margin-bottom: 10px;
    margin-left: 35px;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: 2s ease;
    
}
.cn_publications a{
    text-decoration: none;
    color: #000;
    transition: 2s ease;
}
.cn_publications:hover{
    background-color: #ffffff;
}
.content span{
    color: #ff7200;
    font-size: 65px
}
.form{
    width: 1300px;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,0.1)50%,rgba(0,0,0,0.1)50%);
    position: relative;
    left: 0;
    bottom: 0;
    top: -20px;
    text-align: center;
    transform: translate(0%,-5%);
    border-radius: 10px;
    padding: 25px;
    align-items: center;
    margin-top: 30px;
}
.form h2{
    width: 437px;
    font-family: sans-serif;
    text-align: center;
    color: #fff;
    font-size: 26px;
    /* background-color: #fff; */
    border-radius: 10px;
    margin: 2px;
    padding: 8px;
    align-items: center;
    margin-left: 535px;
    margin-right: 0;
    margin-top: 10px;
    padding-left: -10px;
    margin-bottom: 40px;
}
.form input{
    width: 240px;
    height: 35px;
    background: transparent;
    border-bottom: 1px solid #ff7200;
    border-top: none;
    border-right: none;
    border-left: none;
    color: #fff;
    font-size: 15px;
    letter-spacing: 1px;
    margin-top: 30px;
    font-family: sans-serif;
}
.form input:focus{
    outline: none;
}
::placeholder{
    color: #fff;
    font-family: Arial;
}
.btnn{
    width: 240px;
    height: 40px;
    background: #ff7200;
    border: none;
    margin-top: 30px;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    color: #fff;
    transition: 0.4s ease;
}
#amrit{
    font-size: 22px;
    color: #ff7200;
}
.btnn:hover{
    background: #fff;
    color: #ff7200;
}
.btnn a{
    text-decoration: none;
    color: #000;
    font-weight: bold;
}
.form .link{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    padding-top: 20px;
    text-align: center;
}
.form .link a{
    text-decoration: none;
    color: #ff7200;
}
.liw{
    padding-top: 15px;
    padding-bottom: 10px;
    text-align: center;
}
.icons a{
    text-decoration: none;
    color: #fff;
}
.icons{
    margin-left: 40px;
}
.icons ion-icon{
    color: #fff;
    font-size: 30px;
    padding-left: 14px;
    margin-left: 50px;
    margin-right: -50px;
    padding-top: 5px;
    transition: 0.3s ease;
}
.icons ion-icon:hover{
    color: #ff7200;
}
.events{
    align-items: center;
    /* float: right; */
    margin-left: 200px;
    margin-right: 100px;
}
.events h2{
    margin-bottom: 1rem;
    margin-top: 3rem;
    margin-left: 375px;
    color: #ffffff;
    font-family: Arial;
    font-size: 30px;   
}
.events span{
    color: #ff7200;
}
.event-container{
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 1.5rem;
    padding-left: -100px;
    }
.event-container .events-box{
    position:relative;
    border-radius: 5px;
    width: 250px;
    margin-left: -40px;
    box-shadow:  0 4px 8px 0 rgba(255, 114, 0, 0.2), 0 6px 20px 0 rgba(255, 114, 0, 0.19);
    overflow: hidden;
    display: flex;
}
.events-box img{
    width: 100%;
    transition: 0.5s ease-in;
}
.events-box:hover{
    transform: scale(1.1);
}
.events-box .events-layer{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient((top,0,0,0.4),var(rgb(#ff7200))); */
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgb(0, 0, 0));
    display: flex;
    justify-content:top;
    align-items: center;
    text-align: center;
    flex-direction: column;
    color: #ffffff;
    padding-top: 0.2rem;
    transform: translateY(89%);
    transition: 0.5s ease-out;
    /* transition: 1s ease-in; */
}
.events-box:hover .events-layer{
    transform:translateY(0);
}
.events-box1:hover .events-layer{
    transform:translateY(0);
}
.events-layer {
    font-size: 1.5rem ;
    color: #ff7200;
    margin-bottom: 0px;
}
.events-layer p{
    font-family:gabriola,cursive;
    font-size: 21px;
    margin: 0 0 0;
}
.cn{
    width: 160px;
    height: 20px;
    background: #ff7200;
    border: none;
    margin-top: 20px;
    margin-left: 0px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
   
    transition: .4s ease;

    
    
}
.events-layer h4{
    font-family:gabriola,cursive;
    font-size: 1.5rem ;
    color: #ff7200;
    margin-bottom: 0px;
    /* font-style: normal; */
}
.cn a{
    text-decoration: none;
    
    color: #000000;
    transition: .3s ease;
    font-family: Arial;
}
.cn:hover{
    background-color: #ffffff;
}
.form h2 {
    margin-left: 514px;
  }
.year #fac25{
    background-color: #ffffff;
}
.form h2 img{
    width: 75px;
    height: 45px;
}
@media screen and (min-width: 830px) and (max-width: 1200px) {
    /* Normal Screen */
    .logo{
        margin-left: 10px;
    }
    .menu{
        margin-left: 97px;
        margin-top: -8px;
    }
    ul{
        gap: 80px;
    }
    ul li a{
        font-size: 16px;
    }
    .events {
    margin-left: 150px;
    }
.event-container {
    padding-left: 53px;
    margin-top: 25px;
    gap: 11rem;
}
    .events h2 {
    margin-top: 2.8rem;
        margin-left: 303px;    }
    .event-container .events-box {
    width: 270px;
        margin-left: -158px;
    }
    .events-box .events-layer {
    transform: translateY(89%);
    }
    .events-layer h4 {
        font-family: cursive;
    margin-bottom: 10px;
    }
    .events-layer p {
        font-family: cursive;
    font-size: 22px;
    }
    .cn{
    font-size: 19px;
    width: 160px;
    }
    .year {
         width: 570px;
    margin-left: 231px;
    }   .form{
        width: 1011px;
        left: 89px;
    }
    .icons {
    margin-left: -42px;
}
    .icons ion-icon {
    margin-left: 38px;
    margin-right: -30px;    }
    .form h2{
    font-size: 24px;
    margin-left: 307px;
    margin-top: -10px;
    }
}
@media screen and (max-width: 451px){
    /* mobile */
         body {
        background-image: url("bg1.png");
     background-color: rgb(0, 0, 0, 0.9);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        margin: 0; /* Remove default margin to ensure full coverage */
        display: flex;
        flex-direction: column;
        min-height: 200vh;
         height: 100%;
    }
    .logo{
        position: fixed;
        font-size: 40px;
        margin-top: 20px;
        margin-left: 30px;
    }
    .hamburger{
        top: 30px;
        right: 60px;
        z-index: 9;
        position: fixed;
        display: block;
    }
    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }     
    .hamburger.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu{
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background:linear-gradient(to left, rgba(0,0,0,0.8)100% ,rgba(0,0,0,0.9)100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }
   .nav-item{
        padding-top: 190px;
        margin: 16px 0;
    }
    ul li a{
        font-size: 52px;
    }
    .nav-menu.active{
        position: fixed;
        z-index: 9;
        left: 0px;
        top: 0px;
        gap: 55px;
        height: 100%;
    }
    .bar{
    width: 95px;
    height: 28px;
    margin-left: 1050px;
    }
    .events {
    margin-left: 228px;
    }
    .event-container {
    grid-template-columns: repeat(1, 2fr);
    gap: 4.5rem;
    margin-left: 42px;
    margin-top: 76px;
}    .events-box .events-layer {
    transform: translateY(89%);
    }
    .events-layer h4 {
        font-family: cursive;
            margin-top: -2px;
    font-size: 5.0rem;
    }
    .event-container .events-box {
        width: 826px;    }
    .events h2 {
    margin-top: 6rem;
    margin-left: 176px;
    font-size: 81px;
    width: 800px;
}    .events-layer p {
        font-family: cursive;
    font-size: 62px;
    margin-top: 15px;
    }
    .cn {
    width: 220px;
    height: 60px;
     margin-top: 254px;            font-size: 42px;
    }
   .year {
    margin-left: 151px;
    margin-right: -988px;
    margin-bottom: 35px;
    width: 759px;    margin-top: 45px;    }
     .cn_publications {
    width: 235px;
    height: 68px;
    margin-left: 22px;
    font-size: 39px;
}
    .year .cn_publications{
        display: inline-block;
    }
    .form{
    top: 30px;
   left: 448px;
    width: 813px;
    padding:4px;
    margin-left: -10px;
    }
.icons {
    margin-left: 396px;
}
    .icons ion-icon {
    font-size: 80px;
        margin-left: -453px;
        margin-right: 436px;
            margin-top: 15px;
    }
    .form h2 {
    width: 835px;
    font-size: 60px;
    margin-left: -240px;
    }
}
