@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Edu+AU+VIC+WA+NT+Hand:wght@400..700&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}
body{
    display: flex;
    flex-direction: column;
    justify-content: center;
   
    min-height: 100vh;
    /* background: url("https://cdnl.iconscout.com/lottie/premium/preview-watermark/waves-background-6550227-5526347.mp4"); */
    background: linear-gradient(45deg,white,gold,green);
    background: -moz-linear-gradient(45deg,white,gold,green);
    background: -o-linear-gradient(45deg,white,gold,green);
    background: -webkit-linear-gradient(45deg,white,gold,green);
    background: -ms-linear-gradient(45deg,white,gold,green);
    animation: coloro 12s ease-in-out infinite;
    -moz-animation: coloro 12s ease-in-out infinite;
    -o-animation: coloro 12s ease-in-out infinite;
    -webkit-animation: coloro 12s ease-in-out infinite;
    -ms-animation: coloro 12s ease-in-out infinite;

    
}

header{
    background: gold;
    color: black;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0px;
    z-index: 10;
    height: fit-content;
}

.logo {
    background: url("images/mmlogo-bg-hq.png") no-repeat;
    background-size: auto;
  background-size: contain;
  height: 39px;
  width: 68px;
  margin: 0;
  padding: 0;
}
nav {
    display: flex;
}
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-links li {
    margin-right: 20px;
}
.nav-links li a {
    color: black;
    text-decoration: none;
}
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5em;
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: gold;
        backdrop-filter: blur(20px);
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 10px 20px;
        box-sizing: border-box;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .nav-links li:last-child {
        margin-bottom: 0;
    }
    .menu-toggle {
        display: block;
    }
}

/* main */
main{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* container */
.containerA{
    display: flex;
    padding-left: 40px;
    height: 44.5vw;
    align-items: center;
    /* background: linear-gradient(90deg,white,gold,green);
    background: -moz-linear-gradient(90deg,white,gold,green);
    background: -o-linear-gradient(90deg,white,gold,green);
    background: -webkit-linear-gradient(90deg,white,gold,green);
    background: -ms-linear-gradient(90deg,white,gold,green);
    animation: coloro 12s ease-in-out infinite;
    -moz-animation: coloro 12s ease-in-out infinite;
    -o-animation: coloro 12s ease-in-out infinite;
    -webkit-animation: coloro 12s ease-in-out infinite;
    -ms-animation: coloro 12s ease-in-out infinite; */
}
.containerA h2{
    font-family: "Edu AU VIC WA NT Hand", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 4rem;
}
.containerA h2 span{
    color: gold;
}
@keyframes coloro{
    0%{
        background-position: 0% 50%;
    }
    50%{
        background-position: 50% 100%;
    }
    100%{
        background-position: 0% 50%;
    }
}


/* flex containerB */
.containerB{
    display: flex;
    /* height: 28vw; */
    background: grey;
    flex: row; 

}
.containerB .column {
    background: silver;
}
.containerB #c1,#c3{
    background: rgb(245, 245, 245);
}
.containerB #c2{
    background: white;
}
#c2 h2,#c3 h2{
    padding: 10px;
    font-size: 30px;
    text-decoration: underline;
}
#c2 , #c3{
    padding: 50px;
}
#c1{
    padding: 60px;
}
#c1 h2{
    font-size: 80px;
    line-height: 0.8;
    padding: 30px;
}
.containerB i p{
    font-family: cursive;
    color: rgb(83, 82, 82);
}
.containerB p{
    font-family: "Lato", sans-serif;
    /* font-weight: 100; */
    font-style: normal;
    margin: 20px;
    color: rgb(103, 103, 103);
    padding: 6px 12px;
    padding-bottom: 12px;
}
.containerB big{
    margin-top: 20px;
}
.containerB big a{
    text-decoration: none;
    font-style: bold;
    color: black;
    font-weight: 100;
    color: red;
}


/* containerC flex */
/* .containerB{
    display: flex;

    background: grey;
    flex: row; 

} */
.containerC{
    display: flex;
    flex: row;
}
.containerC span{
    color: green;
}
.boxA{
    height: 45vw;
    width: 50vw;
    background: url("images/gridC-1.jpg") no-repeat center;
    background-size: cover;
    color: white; 
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
}

.boxA img{
    height: 45vw;
    width: 50vw;
}
.boxB{
    display: grid;
    grid-template-columns: auto auto;
}
.boxB img{
    width: 25vw;
    height: 22.5vw;
}
#pE{
    text-align: center;
}
#I{
    background: url("images/gridC-2.jpg") no-repeat center;
}
#II{
    background: url("images/gridC-3.jpg") no-repeat center;
}
#III{
    background: url("images/gridC-4.jpg") no-repeat center;
}
#IV{
    background: url("images/gridC-5.webp") no-repeat center;
}
#I,#II,#III,#IV{
    width: 25vw;
    height: 22.5vw;
    background-size: cover;
    color: white; 
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
}
.boxA:hover{
    background:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-1.jpg")  no-repeat center;
    background:-moz-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-1.jpg")  no-repeat center;
    background:-o-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-1.jpg")  no-repeat center;
    background:-webkit-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-1.jpg")  no-repeat center;
    background: -ms-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-1.jpg")  no-repeat center;
    background-size: cover;

}
#I:hover{
    background:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-2.jpg")  no-repeat center;
    background: -moz-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-2.jpg")  no-repeat center;
    background: -o-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-2.jpg")  no-repeat center;
    background: -webkit-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-2.jpg")  no-repeat center;
    background: -ms-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-2.jpg")  no-repeat center;

    background-size: cover;
}
#II:hover{
    background:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-3.jpg")  no-repeat center;
    background: -moz-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-3.jpg")  no-repeat center;   
    background: -o-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-3.jpg")  no-repeat center;
    background: -webkit-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-3.jpg")  no-repeat center;
    background: -ms-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-3.jpg")  no-repeat center;
    background-size: cover;
    
}
#III:hover{
    background:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-4.jpg")  no-repeat center;
    background: -moz-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-4.jpg")  no-repeat center;
    background: -o-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-4.jpg")  no-repeat center;
    background: -webkit-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-4.jpg")  no-repeat center;
    background: -ms-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-4.jpg")  no-repeat center;
    background-size: cover;
    
}
#IV:hover{
    background:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-5.webp")  no-repeat center;
    background: -moz-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-5.webp")  no-repeat center;
    background: -o-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-5.webp")  no-repeat center;
    background: -webkit-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-5.webp")  no-repeat center;
    background: -ms-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-5.webp")  no-repeat center;
    background-size: cover;

}

.containerC p{
    opacity: 0;
    transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    -webkit-transition: opacity 0.5s;
    -ms-transition: opacity 0.5s;
}

.boxA:hover > #pA, #I:hover > #pB, #II:hover > #pC, #III:hover > #pD, #IV:hover > #pE{
    opacity: 1;
}






@media screen and (max-width: 769px){
    main{
        flex-direction: column;
    }
    .containerA{
        height: 250px;
        font-size: 20px; 
    }
    .containerA h2{
        font-size: 2rem;
    }

    .containerB{
        display: flex;
        flex-wrap: wrap;
        clear: both;
    }

    #c1{
        padding: 30px;
        width: 100%;
    }
    #c1 h2{
        font-size: 50px;
        line-height: 0.8;
        padding: 30px;
        
    }
    .containerC{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        clear: both;
    }
    .boxA{
        height: 60vw;
        width: 100%;
        background:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-1.jpg")  no-repeat center;
        background:-moz-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-1.jpg")  no-repeat center;
        background:-o-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-1.jpg")  no-repeat center;
        background:-webkit-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-1.jpg")  no-repeat center;
        background: -ms-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-1.jpg")  no-repeat center;
        background-size: cover;
    }
    #I{
        background:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-2.jpg")  no-repeat center;
        background: -moz-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-2.jpg")  no-repeat center;
        background: -o-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-2.jpg")  no-repeat center;
        background: -webkit-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-2.jpg")  no-repeat center;
        background: -ms-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-2.jpg")  no-repeat center;
    
        background-size: cover;
    }
    #II{
        background:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-3.jpg")  no-repeat center;
        background: -moz-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-3.jpg")  no-repeat center;   
        background: -o-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-3.jpg")  no-repeat center;
        background: -webkit-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-3.jpg")  no-repeat center;
        background: -ms-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-3.jpg")  no-repeat center;
        background-size: cover;
        
    }
    #III{
        background:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-4.jpg")  no-repeat center;
        background: -moz-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-4.jpg")  no-repeat center;
        background: -o-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-4.jpg")  no-repeat center;
        background: -webkit-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-4.jpg")  no-repeat center;
        background: -ms-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-4.jpg")  no-repeat center;
        background-size: cover;
        
    }
    #IV{
        background:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-5.webp")  no-repeat center;
        background: -moz-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-5.webp")  no-repeat center;
        background: -o-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-5.webp")  no-repeat center;
        background: -webkit-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-5.webp")  no-repeat center;
        background: -ms-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("images/gridC-5.webp")  no-repeat center;
        background-size: cover;
    
    }
    .boxA img {
        height: 60vw;
        width: 100%;
    }
    .boxB{
        width: 100%;
        /* height: 60vw; */
    }
    #I,#II,#III,#IV{
        width: 100%;
        height: 42.5vw;
    }
    .boxB img {
        width: 100%;
        height: 42.5vw;
      }
    #pA, #pB, #pC, #pD, #pE{
        opacity: 1;
    }
}

@media screen and (max-width: 600px){
    .boxB{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    #I,#II,#III,#IV{
        width: 100%;
        height: 47.5vw;
    }
    .boxB img {
        width: 100%;
        height: 47.5vw;
    }
    footer{
        flex-wrap: wrap;
    }

}
.containerA,.containerB,.containerC{
    overflow: hidden;
}


