
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f8f8f8;
    background-image:url("images/bg1.png"); /* Optional */
    background-size:cover;
    background-position:center;
    min-height:100vh;
}

/*---------------- Header ----------------*/

.header{
    width:100%;
    padding:45px 35px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:relative;
	flex-direction: column-reverse;
}

.logo img{
    height:55px;
	margin-left:-20px;
}

.title{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
}

.title img{
    max-width:420px;
    width:100%;
}

.home img{
    width:55px;
    cursor:pointer;
}

/*---------------- Menu ----------------*/
.row img{
	display:flex;
	justify-content:center;
}
.menu{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:70px;
    margin-top:120px;
    flex-wrap:wrap;
}

.card{
    width:210px;
    height:210px;
    border-radius:18px;
    color:#fff;
    text-align:center;
    text-decoration:none;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    box-shadow:0 8px 15px rgba(0,0,0,.18);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card img{
    width:90px;
    margin-bottom:20px;
}

.card h2{
    font-size:18px;
    font-weight:normal;
}

/* Colors */

.slide{
    background:#14968c;
}

.worksheet{
    background:#808080;
}

.games{
    background:#3f6fd5;
}

/*---------------- Footer ----------------*/

.footer{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    background:#777;
    color:#fff;
    text-align:center;
    padding:12px;
    font-size:14px;
}

/*--------------- Responsive ---------------*/

@media(max-width:900px){

.title img{
    max-width:300px;
}

.menu{
    gap:30px;
}

.card{
    width:170px;
    height:170px;
}

.card img{
    width:70px;
}

}

body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    min-height:100vh;

    /* Background Image */
    background: url("images/bg1.png") no-repeat center center fixed;

    /* Make image cover the whole screen */
    background-size: cover;

    /* Optional background color while image loads */
    background-color: #f7f7f7;
}

@media(max-width:600px){

.header{
    padding:15px;
}

.logo img{
    height:40px;
}

.title{
    position:static;
    transform:none;
}

.title img{
    width:220px;
}

.header{
    flex-wrap:wrap;
    justify-content:space-between;
}

.menu{
    margin-top:50px;
    flex-direction:column;
}

.card{
    width:85%;
    max-width:250px;
}

.home img{
    width:45px;
}

.footer{
    font-size:12px;
}




}

img{max-width:100%;height:auto}
.container,.row,[class*="col-"]{max-width:100%}
@media (max-width:768px){
body{overflow-x:hidden}
}
