@font-face {
    font-family: 'LINE Seed JP_OTF_Rg';
    src: url("./Fonts/LINESeedJP_A_TTF_Rg.ttf") format("TrueType");
}
@font-face {
    font-family: 'MochiyPop';
    src: url("./fonts/MochiyPopOne-Regular.ttf") format("TrueType");
}

@font-face {
    font-family: 'Agbalumo';
    src: url("./fonts/Agbalumo-Regular.ttf") format("TrueType");
}
body{
    background-color: #FFEBDB;
    color: #373737;
    font-family: 'LINE Seed JP_OTF_Rg';
}
html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}
a{
    margin: 0;
}
.bar{
    display: flex;
    align-items: stretch; 
    font-size: 32px;
    position: fixed;
    z-index: 5;
    width: 100%;
    font-family: "Agbalumo";
    background-color: transparent;
    color: #373737;
}
.left{
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px 40px 20px 40px;

}
.right {
    
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 20px 40px 20px 40px;
    margin: 0;
}
.Title1{
    font-family: "MochiyPop";
}
.Title2{
    font-family: "Agbalumo";
}
.Border{
    display: flex;
    flex-direction: row;
    margin: 0;
    gap: 2.4vw;
}
.BorderText{
    color: #373737;
    text-decoration: none;
}
.mainDiv{
    max-width: 1920px;
    margin: 8.1vw auto 0;
    margin-top: clamp(79px, 8.1vw, 240px);
    overflow: hidden;
    
}
.Imgdiv{
    display: block;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    animation-delay: 1s;
    z-index: -10;
}

#myHeader{
    width: 42vw;
    max-width: 125vh;
    height: auto;
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -44%);
    transition: 1s;
    opacity: 1;
    z-index: -10;


}
#myHeader.scrolled {
    position: fixed;
    opacity: 0.6;
    transform: scale(0.7) translate(-70%, -70%);
}
#myHeader.scrolled2{
    opacity: 0;
    display: none;
}
.MainImg{
    width: 100%;
    height: auto;
}
.Box1{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 83.3vw;
    max-width: 1800px;

    height: 46.4vw;
    max-height: 937px;
    min-height: 435px;

    border-radius: 3.4vw;
    margin: 8.2vw;

    background-color: #ffbb80;
    z-index: 10;

    border: solid 5px#373737;
    overflow: hidden;
}
.Box2{
    width: 40%;
    padding: 5%;
}
.Box3{
    display: flex;
    flex-direction: row;
    width: 83.3vw;
    max-width: 1800px;

    height: 46.4vw;
    max-height: 937px;
    min-height: 435px;

    border-radius: 3.4vw;
    margin: 8.2vw;

    background-color: #ffbb80;
    z-index: 10;

    border: solid 5px#373737;
    overflow: hidden;
}
.box4{
    width: 90%;
    padding: 5%;
    display: flex;
    flex-wrap: wrap;
}

.BoxImg1{
    width: 41.6vw;
    max-width: 1555px;
    height: 100%;
    overflow: hidden;
    display: inline-block;
    position: relative;
}
.ImgSize{
    display: block;
    margin: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}
.LastDiv{
    background-color: #ffbb80;
    width: 70%;
    margin: 0;
    padding: 0;
    padding: 20% 15% ;
    display: flex;
    flex-direction: row;
    gap: 20vw;
    justify-content: center;
}

.EventsArea{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    font-size: 24px;
    
}
.EventsMonth{
    margin: 0;

}
.EventsMonthFont{
    width: 50px;
    margin: 0;
}
.EventsClass{
    margin: 1vw;
    width: 20vw;
    height: 100%;
    
}
.Events_group{
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    
}
.Events_group::after {
    content: "";
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100%);
    background-color: #373737;
    z-index: 30;
}
.icon{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    font-family: "Agbalumo";
    font-size: 16px;
}
.iconBtn{
    color: #373737;
    text-decoration: none;
}
.iconimg{
    width: 20vw;
    
}
.imgclass{
    width: 33%;
    margin: 0;
}
.imgSize{
    width: 80%;
    margin: 10%;
}
@media screen and (max-width: 844px) {
    .bar{
        font-size: 16px;
    }
    
    .Box1{
        flex-direction: column;
    }
    .Box2{
        width: 100%;
        height: 100%;
        font-size: 16px;
    }
    .Box2 h2{
        font-size: 16px;
    }
    .Box2 p{
        font-size: 12px;
    }
    .Box3{
        flex-direction: column;
    }
    .BoxImg1{
        width:  100%;
        height: 100%;
        position: relative;
    }
    .imgclass{
        width: 50%;
    }
    .EventsArea{
        font-size: 16px;
    }
    .icon{
        font-size: 8px;
    }
}
@media screen and (max-width: 410px) {
    .imgclass{
        width: 100%;
    }
}