*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
}

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

/* Home Nav Bar */
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: 2.8rem;
    padding: 15px 24px;
}

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


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

.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;
  }

/* Home Page*/
.hmpg{
    display: flex;
    font-family: transformers;
}

/*-- Home Text --*/
.hmpg .hmpg-text{
    flex: 1;
}

.hmpg .hmpg-video{
    flex: 1;
}

.hmtxt-wrapper{
    margin-top: 250px;
}

.hmtxt-wrapper h3{
    margin-left: 15px;
    font-size: 65px;
}

.hmtxt-wrapper h1{
    margin-left: 75px;
    font-size: 85px;
    font-weight: bold;
}

.hmtxt-wrapper h2{
    margin-left: 15px;
    font-size: 55px;
}

/*-- Home Video--*/
.hmvd-wrapper{
    padding-bottom: 0;
}

.hmvd-wrapper video{
    height: 1040px;
    width: 100%;
}

/*-- Optimus Prime Image --*/
.optmsprm-img{
    position: absolute;
}

.optmsprm-img img{
    height: 895px;
    padding: 0 515px;
}

/* Responsive Web Coding */

@media(max-width: 890px){
    header{
        position: fixed;
        width: 100%;
    }

    .nav-bar .logo a img{
        width: 80px;
        height: 80px;
    }

    .nav-bar .logo h2{
        font-size: 1.1em;
    }

    .nav-bar ul li a{
        font-size: 0.5em;
        z-index: 99;
    }

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

    .hmpg-video .hmvd-wrapper{
        display: none;
    }

    .optmsprm-img{
        left: -100%;
        height: 100%;
    }
    .optmsprm-img img{
        transform: rotate(5deg);
    }

    .hmpg-video{
        display: none;
    }
    
}

@media(max-width: 368px){
    header{
        position: fixed;
        width: 100%;
    }

    .nav-bar .logo a img {
        width: 50px;
        height: 50px;
    }
    
    .nav-bar .logo h2 {
        font-size: 0.9em;
    }
    
    .nav-bar ul li a {
        font-size: 0.4em;
        z-index: 99;
    }

    .hmpg-video .hmvd-wrapper{
        display: none;
    }

    .optmsprm-img{
        top: 35px;
        left: -150px;
        height: 100%;
        float: inline-end;
    }
    .optmsprm-img img{
        transform: rotate(5deg);
    }

    .hmpg-video{
        display: none;
        width: 0%;
    }

    .hmpg{
        margin: 0;
        padding: 0;
        width: 100%;
    }
    
    .hmpg-text{
        display: grid;
        width: 100%;
        align-items: center;
        margin-left: 150px;
    }

    .hmpg-text .hmtxt-wrapper{
        font-size:  24px;;
    }
}