*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    /* border: 1px solid red; */
}

a{
    color: white;
}

.mainContainer{
    width: 1270px;
    margin: 0 auto;
    overflow-x: hidden;
}
@media screen and (max-width:1270px){
    .mainContainer{
        width: 100%;
        padding: 0 5%;
    }
}


/* CONTENT SECTION*/
.contentMenu{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}
.sloganBox{
    padding: 10px 30px;
    font-family: "Brgada 1918", serif;
    font-weight: 700;
    font-size: 1.25rem;
    font-style: italic;
    color: #808080;
    background-color: white;
    margin-bottom: -22px;
    z-index: 1;
    text-align: center;
}

.contentMenuContainer{
    width: 100%;
    display: flex;
    flex-direction: row;
}
.contentBoxes{
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    width: 254px;
    height: calc(100vh - 330px);
    padding: 23px 13px;
    color: white;
    font-family: "oswald", sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    user-select: none;
    text-shadow: 2px 50px 5px rgba(0, 0, 0, 0.0);
    transition: all 0.6s;
    cursor: pointer;
}
@media screen and (min-width:900px) {
    .contentBoxes{
        min-height: 350px;
        max-height: 500px;
    }
}
@media screen and (min-width:900px) and (max-width:1100px){
    .contentBoxes{
        height: calc(100vh - 387px);
    }
}
@media screen and (min-width:650px) {
    
    .contentBoxes:hover{
        background-color: transparent;
        padding-bottom: 164px;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
        
    }
}
.contentBoxes::after{
    position: absolute;
    content: "";
    top: 0;
    left: 0;   
    width: 100%;
    height: 100%;
    background-image: url(./assests/border.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 0.6s;
    opacity: 0;
}
@media screen and (min-width:650px) {
    
    .contentBoxes:hover::after{
        opacity: 1;
    }
}
.contentBoxes {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.CBOX1{
    background-image: url(./assests/BOX1C.jpg);
}
@media screen and (min-width:650px) {
    
    .CBOX1:hover{
        background-image: url(./assests/BOX1.jpg);
    }
}
.CBOX2{
    background-image: url(./assests/BOX2C.jpg);
}
@media screen and (min-width:650px) {
    
    .CBOX2:hover{
        background-image: url(./assests/BOX2.jpg);
    }
}
.CBOX3{
    background-image: url(./assests/BOX3C.jpg);
}
@media screen and (min-width:650px) {
    
    .CBOX3:hover{
        background-image: url(./assests/BOX3.jpg);
    }
}
.CBOX4{
    background-image: url(./assests/BOX4C.jpg);
}
@media screen and (min-width:650px) {
    
    .CBOX4:hover{
        background-image: url(./assests/BOX4.jpg);
    }
}
.CBOX5{
    background-image: url(./assests/BOX5C.jpg);
}
@media screen and (min-width:650px) {
    
    .CBOX5:hover{
        background-image: url(./assests/BOX5.jpeg);
    }
}

@media screen and (max-width: 1270px){
    .contentBoxes{
        width: 20%;
    }
    
}
@media screen and (max-width: 900px){
    .contentMenuContainer{
        flex-wrap: wrap;
    }
    .contentBoxes{
        width: 49%;
        height: 270px;
        margin-bottom: 0.5%;
    }
    .contentBoxes:nth-of-type(3){
        width: 98.5%;
    }
    .contentMenuContainer{
        gap: 0.5%;
    }
    .sloganBox{
        margin-bottom: 10px;
    }

    @media  screen and (max-width:425px) {
        .contentBoxes{
            height: 150px;
            font-size: 1rem;
        }
    }
}@media screen and (max-width: 320px){
   *{
         word-break: break-word;
   }
}