/* Color template for Banzai
	#ffa6a6  (255,166,166)
    #fdedad  (253,237,173)
    #ffffff (255,255,255)
    #769267 (118,146,103)
    #563a10 (86,58,16)
*/
body{
    margin: 0;
}
.contact{
    background-color: 	#ffa6a6;
}
.con{
    width: 1100px;
    height: 50px;
    margin: 0em auto;
    align-items: center;
    display: flex;
}
.con div{
    justify-content: flex-start;
    align-items: center;
}
.con div:last-child{
    margin-left: 3em;
}
.con a{
    text-decoration: none;
    padding-left: 0.5em;
    color: black;
}
.menu{
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 10;
}
.menubar{
    width: 70%;
    height: 100px;
    margin: auto;
    display: flex;
}
.menubar div:first-child{
    width: 40%;
    display: flex ;
    justify-content: flex-start;
    align-items: center;
}
.menubar div:first-child img{
    width: 100px;
    height: 100px;
}
.menubar div:first-child span{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 2em;
    color: rgb(228, 22, 22);
}
#menulist{
    width: 55%;
    height: 100px;
    display: flex;
    text-align: right;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}
#menulist a{
    text-decoration: none;
    color: #000000;
    font-size: 1.2em;
}
#menulist a:hover{
    color: #ff3131;
}
#icon{
    width: 5%;
    height: 100px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
}
#icon div a{
    text-decoration: none;
    color: #000000;
    font-size: 0.6em;
}
.contain {
    width: 100%;
    transition: linear 1s;
}
.mainbox{
    width: 100%;
    position: relative;
}
.mainbox img{
    width: 100%;
    height: 550px;
}
.textbox{
    position: absolute;
    width: 30%;
    top: 30%;
    left: 10%;
    font-size: 3em;
    font-family: 'Times New Roman', Times, serif;
}
.languagebox{
    width: 80%;
    height: 200px;
    position: absolute; 
    top: 80%;
    left: 10%;
    border-radius: 10px;
    background-color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0px 5px 5px 0px;
}
.languagebox div{
    margin-top: 5px;
    width: 200px;
    height: 100px;
    border-radius: 15px;
    background-color: #ebebeb;
    display: flex;
    justify-content: center;
    align-items: center;
}
.languagebox div h2{
    display: block;
}
.languagebox div:hover {
    background-color: #ff3131;
    color: #ffffff;
    cursor: pointer;
    transition: ease-in-out 0.4s;
}

.service{
    margin-top: 13em;
    text-align: center;
    transition: linear 1s;
}
.service>h3:hover{
    text-decoration: underline;
    cursor: pointer;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}
.servicebox{
    width: 80%;
    margin: 0em auto;
    margin-top: 3em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2em;
}
.servicebox>div{
    width: 48%;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0px 5px 10px 1px;
    display: flex;
}
.servicebox>div div:first-child{
    width: 45%;
    height: 100%;
    border: 10px;
}
.servicebox>div div:last-child{
    width: 55%;
    height: 100%;
    display: flex;
    align-items: center;
}
.servicebox>div div:first-child img{
    width: 100%;
    height: 100%;
    border-radius:10px 0 0 10px;
}
.servicebox>div div:last-child p{
    display: block;
    font-size: 2em;
}
.aboutBanzai{
    margin-top: 2em;
    text-align: center;
    background-color: #ebebeb;
    transition: linear 1s;
}
.ab{
    margin-top: 4em;
    text-align: center;
}
.ab:hover{
    text-decoration: underline;
    cursor: pointer;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}
.abbanzai{
    width: 80%;
    margin: 0em auto;
    margin-top: 1em;
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
}
.than,.thet{
    width: 80%;
    height: 500px;
    display: flex;
    margin-top: 1em;
    margin-bottom: 1em;
}
.than div:first-child{
    width: 40%;
}
.than div:last-child{
    width: 60%;
    margin: auto;
}
.than div:first-child img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.thet div:first-child{
    width: 60%;
    margin: auto;
}
.thet div:last-child{
    width: 40%;
}
.thet div:last-child img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.contactus{
    text-align: center;
    margin-top: 4em;
    transition: linear 1s;
}
.contactus h3:hover{
    text-decoration: underline;
    cursor: pointer;
}
.contactus1{
    width: 80%;
    height: 300px;
    margin: 3em auto;
    display: flex;
    justify-content: space-between;
}
.contactus1 div{
    width: 30%;
    height: 300px;
    background-color: #656060;
}
.contactus1>div i{
    margin-top: 15%;
    border-radius: 50%;
    font-size: 2.5em;
    padding: 0.6em 0.6em;
    background-color: #ff3131;
    color: #ebebeb;
}
.contactus1>div h4{
    color: #ebebeb;
}
.contactus1>div p{
    color: #ebebeb;
    font-size: 1.5em;
}
.contactus1>div a{
    color: #ebebeb;
    font-size: 1.5em;
}
.banzaiend{
    margin-top: 6em;
    background-color: #ff3131;
    
}
.banzai{
    width: 80%;
    margin: 0em auto;
    display: flex;
    flex-wrap: wrap;
}
.banzai div:first-child{
    display: flex;
    align-items: center;
    height: 100%;
    width: 20%;
}
.banzai div:first-child img{
    display: block;
    width:150px;
    height: 150px;
}
.banzai div:nth-child(2){
    width: 50%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.banzai div:nth-child(2) h3{
    display: block;
    color: #ebebeb;
    font-size: 2.5em;
    text-align: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.banzai div:last-child{
    width: 30%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}
.banzai div:last-child a{
    display: block;
    font-size: 2em;
    text-decoration: none;
    color: #ebebeb;
}
.google{
    width: 80%;
    height: 600px;
    margin: 0 auto;
}
.google iframe{
    width: 100%;
    height: 100%;
}
.footer{
    background-color: #787575;
}
.footer div{
    width: 80%;
    height: 30px;
    margin: auto;
    text-align: center;
    color: #000000;
}
@media screen and (max-width:480px) {
    .con{
        width: 100%;
        height: 50px;
        margin: 0em auto;
        align-items: center;
        display: flex;
        flex-wrap: wrap;
    }
    .con div:last-child{
        margin-left: 0.5em;
    }
    .con div{
        margin-left: 0.5em;
        width: 100%;
        justify-content: flex-start;
        align-items: center;
    }
    .menubar{
        width: 100%;
        height: 50px;
        display: flex;
    }
    .menubar div:first-child img{
        width: 50px;
        height: 50px;
    }
    .menubar div:first-child span{
        font-size: 1em;
        color: rgb(228, 22, 22);
    }
    /* .menubar div:first-child span::after{
        content: ' Japanese Language Centre';
    } */
    #menulist{
        display: none;
    }
    #icon{
        width: 30%;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        font-size: 2em;
    }
    
    #icon div{
        width: 100%;
        height: 500px;
        display: none;
        display: flex;
        flex-wrap: wrap;
        position: absolute;
        text-align: center;
        top: 1.5em;
        background-color: #6a6969;
        transition: linear 0.3s;
    }
    #icon div a{
        width: 100%;
        display: block;
        color: #ebebeb;
        font-family: Georgia, 'Times New Roman', Times, serif;
    }
    /* #icon div a:hover{
        background-color: #fdedad;
    } */
    #icon i{
        margin-right: 5px;
        font-size: 0.8em;
    }
    .menubar div:first-child{
        width: 70%;
        display: flex ;
        justify-content: flex-start;
        align-items: center;
    }
    .mainbox img{
        width: 100%;
        height: 350px;
    }
    .textbox{
        position: absolute;
        width: 70%;
        top: 40%;
        left: 10%;
        font-size: 2em;
        font-family: 'Times New Roman', Times, serif;
    }
    .languagebox{
        height: 650px;
    }
    .languagebox div{
        background-color: #ff3131;
        color: #ffffff;
        cursor: pointer;
        transition: ease-in-out 0.2s;
    }
    .service{
        margin-top: 48em;
        text-align: center;
    }
    .servicebox{
        width: 90%;
    }
    .servicebox>div{
        width: 100%;
        height: 200px;
    }
    .servicebox>div div:last-child p{
        font-size: 1em;
    }
    .than{
        width: 90%;
        height: 500px;
        display: flex;
        flex-wrap: wrap;
        margin-top: 1em;
        margin-bottom: 1em;
    }
    .than div:first-child{
        width: 100%;
        height: 70%;
    }
    .than div:last-child{
        width: 100%;
        height: 30%;
        margin: auto 0em;
        text-align: left;
    }
    .thet{
        width: 90%;
        height: 500px;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
        margin-top: 1em;
        margin-bottom: 1em;
    }
    .thet div:first-child{
        width: 100%;
        height: 30%;
        margin: auto 0em;
        text-align: left;
    }
    .thet div:last-child{
        width: 100%;
        height: 70%;
        
    }
    .contactus1{
        width: 90%;
        height: 300px;
        margin: 3em auto;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: space-between;
    }
    .contactus1 div{
        width: 100%;
        height: 300px;
        background-color: #656060;
    }
    .googlemap{
        margin-top: 50em;
    }
    .google{
        width: 90%;
        height: 500px;
        margin: auto;
    }
    .banzai div:first-child{
        width: 100%;
        height: 200px;
        justify-content: center;
    }
    .banzai div:nth-child(2){
        width: 100%;
        height: 100px;
        justify-content: center;
    }
    .banzai div:last-child{
        width: 100%;
        height: 100px;
    }
}
@media (min-width:480px)  and (max-width:768px){
    .con{
        width: 100%;
        height: 50px;
        margin: 0em auto;
        align-items: center;
        display: flex;
        flex-wrap: wrap;
    }
    .con div:last-child{
        margin-left: 1em;
    }
    .con div{
        margin-left: 0.5em;
        /* width: 100%; */
        justify-content: flex-start;
        align-items: center;
    }
    .menubar{
        width: 100%;
        height: 50px;
        display: flex;
    }
    .menubar div:first-child img{
        width: 50px;
        height: 50px;
    }
    .menubar div:first-child span{
        font-size: 1em;
        color: rgb(228, 22, 22);
    }
    #menulist{
        width: 55%;
        height: 50px;
        display: flex;
        text-align: right;
        align-items: center;
        justify-content: flex-end;
        gap: 20px;
        font-size: 0.8em;
    }
    .menubar div:first-child{
    width: 40%;
    display: flex ;
    justify-content: flex-start;
    align-items: center;
    }
    .mainbox img{
        width: 100%;
        height: 350px;
    }
    .textbox{
        position: absolute;
        width: 70%;
        top: 40%;
        left: 10%;
        font-size: 2em;
        font-family: 'Times New Roman', Times, serif;
    }
    .languagebox{
        height: 600px;
    }
    .languagebox div{
        background-color: #ff3131;
        color: #ffffff;
        cursor: pointer;
        transition: ease-in-out 0.2s;
    }
    .service{
        margin-top: 40em;
        text-align: center;
    }
    .servicebox{
        width: 80%;
    }
    .servicebox>div{
        width: 100%;
        height: 250px;
    }
    .servicebox>div div:last-child p{
        font-size: 1.5em;
    }
    .than{
        width: 90%;
        height: 500px;
        display: flex;
        flex-wrap: wrap;
        margin-top: 1em;
        margin-bottom: 1em;
    }
    .than div:first-child{
        width: 100%;
        height: 70%;
    }
    .than div:last-child{
        width: 100%;
        height: 30%;
        margin: auto 0em;
        text-align: left;
    }
    .thet{
        width: 90%;
        height: 500px;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
        margin-top: 1em;
        margin-bottom: 1em;
    }
    .thet div:first-child{
        width: 100%;
        height: 30%;
        margin: auto 0em;
        text-align: left;
    }
    .thet div:last-child{
        width: 100%;
        height: 70%;
        
    }
    .contactus1{
        width: 90%;
        height: 300px;
        margin: 3em auto;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: space-between;
    }
    .contactus1 div{
        width: 100%;
        height: 300px;
        background-color: #656060;
    }
    .contactus1>div i{
        margin-top: 10%;
    }
    .googlemap{
        margin-top: 50em;
    }
    .google{
        width: 90%;
        height: 500px;
        margin: auto;
    }
    .banzai div:first-child{
        width: 100%;
        height: 200px;
        justify-content: center;
    }
    .banzai div:nth-child(2){
        width: 100%;
        height: 100px;
        justify-content: center;
    }
    .banzai div:last-child{
        width: 100%;
        height: 100px;
    }
    
}
@media (min-width:768px) and (max-width:1024px) {
    .con{
        width: 100%;
        height: 50px;
        margin: 0em auto;
        align-items: center;
        display: flex;
        flex-wrap: wrap;
    }
    .con div:last-child{
        margin-left: 1em;
    }
    .con div{
        margin-left: 0.5em;
        /* width: 100%; */
        justify-content: flex-start;
        align-items: center;
    }
    .menubar{
        width: 100%;
        height: 50px;
        display: flex;
    }
    .menubar div:first-child img{
        width: 50px;
        height: 50px;
    }
    .menubar div:first-child span{
        font-size: 1em;
        color: rgb(228, 22, 22);
    }
    #menulist{
        width: 55%;
        height: 50px;
        display: flex;
        text-align: right;
        align-items: center;
        justify-content: flex-end;
        gap: 20px;
        font-size: 1em;
    }
    .mainbox img{
        width: 100%;
        height: 350px;
    }
    .textbox{
        position: absolute;
        width: 70%;
        top: 40%;
        left: 10%;
        font-size: 2em;
        font-family: 'Times New Roman', Times, serif;
    }
    .languagebox{
        height: 350px;
    }
    .languagebox div{
        background-color: #ff3131;
        color: #ffffff;
        cursor: pointer;
        transition: ease-in-out 0.2s;
    }
    .service{
        margin-top: 25em;
        text-align: center;
    }
    .servicebox{
        width: 70%;
    }
    .servicebox>div{
        width: 100%;
        height: 250px;
    }
    .servicebox>div div:last-child p{
        font-size: 1.5em;
    }
    .than{
        width: 90%;
        height: 350px;
        display: flex;
        flex-wrap: wrap;
        margin-top: 1em;
        margin-bottom: 1em;
    }
    .than div:first-child{
        width: 40%;
        height: 100%;
    }
    .than div:last-child{
        width: 60%;
        margin: auto;
        text-align: center;
    }
    .thet{
        width: 90%;
        height: 350px;
        display: flex;
        flex-wrap: wrap;
        margin-top: 1em;
        margin-bottom: 1em;
    }
    .thet div:first-child{
        width: 60%;
        margin: auto 0em;
        text-align: center;
    }
    .thet div:last-child{
        width: 40%;
        height: 100%;
        
    }
    .contactus1>div{
        overflow-wrap: break-word;
    }
    .banzai div:last-child a{
       margin: auto;
    }
}
@media (min-width:1024px) and (max-width:1280px) {
    .con{
        width: 100%;
        height: 50px;
        align-items: center;
        display: flex;
        flex-wrap: wrap;
    }
    .con div:last-child{
        margin-left: 1em;
    }
    .con div{
        margin-left: 0.5em;
        justify-content: flex-start;
        align-items: center;
    }
    .menubar{
        width: 80%;
        height: 50px;
        display: flex;
    }
    .menubar div:first-child img{
        width: 50px;
        height: 50px;
    }
    .menubar div:first-child span{
        font-size: 1em;
        color: rgb(228, 22, 22);
    }
    #menulist{
        width: 55%;
        height: 50px;
        display: flex;
        text-align: right;
        align-items: center;
        justify-content: flex-end;
        gap: 20px;
        font-size: 1em;
    }
    .textbox{
        position: absolute;
        width: 70%;
        top: 40%;
        left: 10%;
        font-size: 2em;
        font-family: 'Times New Roman', Times, serif;
    }
    .languagebox{
        height: 250px;
    }
    .languagebox div{
        background-color: #ff3131;
        color: #ffffff;
        cursor: pointer;
        transition: ease-in-out 0.2s;
    }
    .service{
        margin-top: 20em;
        text-align: center;
    }
    .servicebox{
        width: 95%;
    }
    .servicebox>div{
        width: 48%;
        height: 250px;
    }
    .servicebox>div div:last-child p{
        font-size: 2em;
    }
    .than,.thet{
        width: 80%;
        height: 400px;
        display: flex;
        margin-top: 1em;
        margin-bottom: 1em;
    }
    .contactus1>div{
        overflow-wrap: break-word;
    }
    
}
@media (min-width:1281px) {
    
    
}