* {
    padding: 0;
    margin: 0;
}
body{
    overflow: auto;
}
section {
    margin: 1rem 15rem 0 15rem;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}
.headline {
    display: none;
}

.container {
    margin-top: 1rem;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0.5rem 1rem;
}

#courses {
    background-color: rgb(109, 109, 109);
    color: white;
    padding: 5px;
    border-radius: 3px;
}

.inner-container {
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    text-align: center;
    align-items: center;
    margin: 1rem;
    padding: 2rem;
    height: fit-content;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: transform 0.2s ease-in-out 0.1s;
}

.inner-container:hover {
    transform: scale(1.05);
}

.inner-container img {
    margin-top: -0.5rem;
    width: 50%;
    height: auto;
}

.inner-container h4 {
    color: rgb(21, 21, 21);
    margin-top: 0.7rem;
    font-weight: 200;
    font-size: 1.5rem;
    font-family: 'Roboto', sans-serif;
}

.inner-container p {
    margin-top: 0.9rem;
    color: rgb(21, 21, 21);
    line-height: 1.2;
    font-weight: 100;
    font-size: 0.8rem;
    font-family: 'Roboto', sans-serif;
}

/* tab design */
@media(max-width: 64rem) {
    body {
        overflow: auto;
    }

    section {
        margin: 1rem 8rem 0 8rem;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    #courses {
        background-color: rgb(109, 109, 109);
        color: white;
        padding: 2.2px;
        border-radius: 2px;
    }

    .container {
        margin-top: 1rem;
        background-color: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(5px);
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;

    }

    .inner-container {
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        text-align: center;
        align-items: center;
        margin: 1rem;
        padding: 2rem;
        height: fit-content;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        transition: transform 0.2s ease-in-out 0.1s;
    }

    .inner-container:hover {
        transform: scale(1.05);
    }

    .inner-container img {
        margin-top: -0.5rem;
        width: 50%;
        height: auto;
    }

    .inner-container h4 {
        color: rgb(21, 21, 21);
        margin-top: 0.7rem;
        font-weight: 200;
        font-size: 1.5rem;
        font-family: 'Roboto', sans-serif;
    }

    .inner-container p {
        margin-top: 0.9rem;
        color: rgb(21, 21, 21);
        line-height: 1.2;
        font-weight: 100;
        font-size: 0.8rem;
        font-family: 'Roboto', sans-serif;
    }
}

@media(max-width: 30rem) {
    body {
        overflow: auto;
    }

    section {
        margin: 1rem 4rem 0 4rem;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .headline {
        display: block;
        font-family: 'Roboto', sans-serif;
        font-size: 1rem;
        text-align: center;
        font-weight: 500;
        margin-top: -1.2rem;
    }
    .container {
        margin-top: 1rem;
        background-color: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(5px);
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;

    }

    .inner-container {
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        text-align: center;
        align-items: center;
        margin: 1rem;
        padding: 2rem;
        height: fit-content;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        transition: transform 0.2s ease-in-out 0.1s;
    }

    .inner-container:hover {
        transform: scale(1.05);
    }

    .inner-container img {
        margin-top: -0.5rem;
        width: 50%;
        height: auto;
    }

    .inner-container h4 {
        color: rgb(21, 21, 21);
        margin-top: 0.7rem;
        font-weight: 200;
        font-size: 1.5rem;
        font-family: 'Roboto', sans-serif;
    }

    .inner-container p {
        margin-top: 0.9rem;
        color: rgb(21, 21, 21);
        line-height: 1.2;
        font-weight: 100;
        font-size: 0.8rem;
        font-family: 'Roboto', sans-serif;
    }
    #courses {
        background-color: transparent;
        
      }
}