/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#f4f7fb;
    color:#222;
}


header{
    background:#003366;
    color:white;
    text-align:center;
    padding:30px;
}

header h1{
    font-size:40px;
}

nav{
    margin-top:20px;
}

nav a{
    color:white;
    text-decoration:none;
    margin:15px;
    font-weight:bold;
}


.hero{
    background:linear-gradient(120deg,#0077b6,#00b4d8);
    color:white;
    text-align:center;
    padding:80px 20px;
}

.hero h2{
    font-size:45px;
}

.hero p{
    font-size:20px;
    margin-top:15px;
}


button{
    margin-top:25px;
    padding:15px 35px;
    border:none;
    border-radius:25px;
    cursor:pointer;
    font-size:18px;
}


section{
    padding:50px;
}


h2{
    text-align:center;
    margin-bottom:30px;
    font-size:35px;
}


.container{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}


.card{
    background:white;
    width:320px;
    padding:25px;
    border-radius:15px;
    box-shadow:0 5px 15px #bbb;
    transition:0.3s;
}


.card:hover{
    transform:translateY(-10px);
}


.card h3{
    color:#0077b6;
    margin-bottom:15px;
}


.card li{
    margin:10px;
}


.safety-box{
    background:#fff3cd;
    padding:30px;
    border-radius:15px;
    text-align:center;
    font-size:18px;
}


.quiz{
    text-align:center;
    background:#e8f5ff;
}


footer{
    background:#003366;
    color:white;
    text-align:center;
    padding:20px;
}


@media(max-width:700px){

.hero h2{
    font-size:30px;
}

.container{
    flex-direction:column;
    align-items:center;
}

}
.resources-buttons{
    text-align:center;
    margin:40px auto;
}

.resources-buttons .card{
    display:inline-block;
    vertical-align:top;
    margin:15px;
}

