header {
    background-color: black;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.branding {
    display: flex;
    align-items: center;
    padding-left: 10px;
}

p {
    font-family: 'Lato', sans-serif;
    line-height: 1.65;
}

.logo {
    margin-left: 10px; 
    height: 150px;
    width: 150%;
}

.pic {
    height: 1000px;
    width: 500;
}

nav {
    flex: 1; 
    background-color: #313b72;
    display: flex;
    align-items: center;
    border-radius: 20px;
    padding: 5px;
}

nav ul {
    display: flex;
    justify-content: space-between;
    width: 100%;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav li {
    flex: 1; 
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 0;
    display: block;
}

nav a:hover {
    background-color: #555;
}

main {
    display: flex;
    justify-content: space-between;
}

.welcome-message {
    width: 50%;
    padding: 20px;
}

.safety-message {
    width: 70%;
    padding: 20px;
}

article {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

article img {
    max-width: 100%;
    height: 200px;
}

footer {
    background-color: lightblue;
    text-align: center;
    padding: 10px 0;
}

#video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    grid-gap: 20px; 
    padding: 20px;
}

#video-grid iframe {
    width: 100%;
    height: 450px; 
}


@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
    }
    
    nav li {
        width: 100%;
    }

    main {
        flex-direction: column;
    }

    .welcome-message, article {
        width: 100%;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

caption {
    font-size: larger;
    margin-bottom: 10px;
    font-weight: bold;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}
