* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}


.container {
    display: grid;
    grid-template-columns: 100px 1fr;
    grid-template-rows: auto auto 1fr auto;
    gap: 10px;
    height: 100vh; 
    padding: 10px;
}


.logo {
    background: lightgray;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    grid-row: 1 / 2;
    height: 100px;
}


.header {
    background: lightgray;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-column: 2 / -1;
    height: 100px; 
}


.nav {
    display: flex;
    gap: 10px;
}

.nav a {
    background: lightblue;
    padding: 10px;
    text-decoration: none;
    color: black;
    display: inline-block;
}


.news {
    background: lightgray;
    padding: 50px;
    text-align: center;
    grid-column: 1 / -1;
}


.content {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 508px; 
    height: 100%; 
    width: 100%;
    display: flex;
    align-items: space-around;
}


.box {
    background: lightgray;
    padding: 100px; 
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    height: 100%; 
    width: 700px;
}


.footer {
    background: lightgray;
    padding: 20px;
    text-align: center;
    grid-column: 1 / -1;
    align-self: end;
}


@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto 1fr auto;
    }

    .logo {
        grid-row: auto;
        height: 50px;
    }

    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: auto;
    }

    .nav {
        flex-direction: column;
        align-items: center;
    }

    .content {
        grid-template-columns: 1fr; 
        gap: 10px;
    }
}
