@media only screen and (max-width: 1600px) {
    
    .wrapper {
    display: block;
    max-width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
    
    
    
}


@media only screen and (max-width: 1280px) {
    
a#logo {
    width: 320px;
}
    
    #logo img{width:100%;}
    
    
    #menu a {
    color: #fff;
    font-size: 17px;
    margin-left: 20px;
}
    
    div#menu {
    margin-top: 20px;
}
    
    
    h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 24px;
}
    
    h2 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 20px;
}
    
}


@media only screen and (max-width: 1024px) {
    
    
    input, textarea, select{-webkit-appearance:none!important; color:#222!important; background:#fff!important;}
    
    #open_menu {
        background: url(https://hotwheelzmotorcycletraining.com/wp-content/uploads/2025/09/hamburger-circle.512x512.png);
        position: absolute;
        top: 13px;
        right: 5%;
        z-index: 2;
        width: 40px;
        height: 40px;
        display: block !important;
        background-size: contain;
        background-repeat: no-repeat !important;
        background-position: center !important;
    }
    
        #close_menu{
        
      background: url(https://hotwheelzmotorcycletraining.com/wp-content/uploads/2025/09/Close.fw_.png);
        position: absolute;
        top: 13px;
        right: 5%;
        z-index: 2;
        width: 40px;
        height: 40px;
        display: block !important;
        background-size: contain;
        background-repeat: no-repeat !important;
        background-position: center !important;
        
    }
    
    
    div#mobile_menu > img {
        
        position: absolute;
bottom:30px;
left: 50%;
        width:250px;
transform: translateX(-50%);
        
}
    
    #mobile_menu {
        position: fixed;
        background: #111;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 30;
    }
    
    #mobile_menu #menu{
        position: absolute;
top: 40%;
left: 5%;
transform: translateY(-50%);
        width:95%;
    }
    
    
    #mobile_menu #menu a{display:block;margin:10px;font-size:22px;}
    
    p{font-size:!important6px;}
    
    .wave {
    z-index: 2;
    height: 70px !important;
    background-size: cover !important;
}
    
    
    #opening a {
    background: #fff;
    color: #222 !important;
    padding: 5px 20px;
    border-radius: 50px;
    display: inline-block;
}
    
    #top_banner .wrapper > div {
    position: absolute;
    top: 45%;
    left: 0;
    color: #fff;
    max-width: 600px;
    transform: translateY(-50%);
}
    
    div#text_image {
    padding: 0px 0 80px 0;
}
    
    .wrapper{max-width:90%!important}
    a#logo {
        width: 270px;
        display: block;
    }
    
    #gallery .wrapper > div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
    
    #text_image .wrapper > div > span {
        width: 50%;
        position: relative;
        padding: 30px 5% 30px 5%;
        min-height: 250px;
        width: 100%;
        order: 2;
    }
    #grav_form {
    display: block;
    background: #fe891c;
    max-width: 700px;
    margin: 0 auto 50px auto;
    padding: 30px;
    border-radius: 0;
}
    #grav_form h3,   #grav_form p{color:#fff;}
    
    #opening {
    text-align: center;
    position: relative;
    padding: 0 0 75px 0;
    background: #fe891c;
}
    
    a#logo img{
width:100%; 
}
    #opening p {
    font-size: 17px;
}
    #header .wrapper > div {
    display: block;
    justify-content: space-between;
}
    #header #menu{display:none;}
    #grid_icons .wrapper > div {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}
    input#gform_submit_button_1, input#gform_submit_button_2, input#gform_submit_button_3 {
    background: #fff;
    border-radius: 50px !important;
    font-size: 16px;
    border: none !important;
    outline: none !important;
}
    
    
    h5 {
    font-size: 19px;
    line-height: 1.5;
    margin-bottom: 14px;
}
    
    #copyright a {
    color: #fe891c;
    display: block;
    margin: 10px 0 3px 0;
}
    #text_image .wrapper > div {
    display: flex;
    align-content: stretch;
    flex-direction: column;
}
    
    .home #top_banner {
        height: 600px;
        padding:10px 5%;
    }
    
   h1 {
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 24px;
} 
    
    h2 {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 20px;
}
    
    h3 {
        font-size: 23px;
        line-height: 1.4;
        margin-bottom: 18px;
    }
    
    #top_banner p {
    font-size: 17px;
}
    
}