@font-face {
  font-family: transformers;
  src: url('../fonts/TransformersMovie-y9Ad.ttf');
}

header{
  background-color: white;
}

.nav-bar li{
  list-style: none;
}

.nav-bar li a{
  color: black;
  text-decoration: none;
}

.logo{
  display: flex;
  justify-content: space-between;
  padding: 0;
}

.logo a img{
  padding: 12px;
}

.logo h2{
  font-family: transformers;
  font-size: 1.8rem;
  padding: 0 24px;
}

.nav-bar{
  min-height: 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.nav-bar li{
  font-size: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 95px;
}

.nav-bar ul li a{
  font-family: transformers;
}

.burgerMenu{
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: black;
}

/* tribute section*/

.trbt-sec{
position: relative;
display: flex;
font-family: transformers;
}
.trnsfrm-side{
flex: 1;
}

.info-side{
flex: 1;
}

.trnsfrm-side{
margin-top: 80px;
}

.trnsfrm-side img{
  width: 100%;
  height: 600px;
}

.trnsfrm-side button{
  font-family: transformers;
  border-radius: 1.1rem;
  margin-left: 325px;
}


/* Optimus Prime Info Side */

.info-side{
margin-top: 100px;
padding: 10px;
font-family: transformers;
}

.witbox-ctn{
width: 100%;
height: 100%;
display: flex;
}

.witbox-1,
.witbox-2,
.witbox-3{
width: 230px;
height: 550px;
background-color: #002952;
border-radius: 10px;
box-shadow: 2px 10px 12px rgba(0, 0, 0, 0.5);
color: whitesmoke;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
margin: 20px 10px;
}

.wtbx-img{
height: 350px;
max-height: 100%;
max-width: 100%;
}

.optPrmDetails p{
font-weight: bold;
text-align: center;
}

.who{
font-weight: bold;
letter-spacing: 2px;
font-size: 25px;
}

.witbox-1:hover{
background:url('../video/F5iQ.gif');
background-size: cover;
background-repeat: no-repeat;
}

.witbox-2:hover{
  background:url('../video/optimus-prime-eyes.gif');
  background-size: cover;
  background-repeat: no-repeat;
  }

.witbox-3:hover{
  background:url('../video/JHb6.gif');
  background-size: cover;
  background-repeat: no-repeat;
}

@media only screen and (max-width: 910px){
  header{
    position: fixed;
    width: 100%;
  }

  .nav-bar{
    width: 100%;  
    height: 70px; 
  }

  .logo h2{
    font-size: 1.1rem;
    padding: 16px;
  }

  .nav-bar ul li a{
    display: inline-block;
    font-size: 0.5em;
  }

  .nav-bar ul{
    margin: 16px 0;
  }

  .trbt-sec{
    display: grid;
    width: 100%;
  }

  .trnsfrm-side button{
    float: inline-end;

  }

  .info-side .witbox-ctn {
    display: flex;
  }

  .witbox-1{
    flex-direction: column;
    align-items: center;
  }

}

@media only screen and (max-width: 680px) {
  header {
    position: fixed;
    width: 100%;
  }

  .nav-bar {
    width: 100%;
    height: 70px;
  }

  .logo h2 {
    font-size: 1.1rem;
    padding: 16px;
  }

  .nav-bar ul li a {
    display: inline-block;
    font-size: 0.5em;
  }

  .nav-bar ul {
    margin: 16px 0;
  }

  .trbt-sec {
    display: grid;
    width: 100%;
  }

  .trnsfrm-side button {
    float: inline-end;

  }

  .info-side .witbox-ctn {
    display: flex;
  }

  .witbox-1 {
    flex-direction: column;
    align-items: center;
  }

}

@media only screen and (max-width: 320px) {
  header {
    position: fixed;
    width: 100%;
  }

  .nav-bar {
    width: 100%;
    height: 70px;
  }

  .logo h2 {
    font-size: 1.1rem;
    padding: 16px;
  }

  .nav-bar ul li a {
    display: inline-block;
    font-size: 0.5em;
  }

  .nav-bar ul {
    margin: 16px 0;
  }

  .trbt-sec {
    display: grid;
    width: 100%;
  }

  .trnsfrm-side button {
    float: inline-end;

  }

  .info-side .witbox-ctn {
    display: flex;
  }

  .witbox-1 {
    flex-direction: column;
    align-items: center;
  }

}