body {
    margin: 0;
    padding: 0;
    font-family: 'Sora', sans-serif;
    background-color: #f2f2f2;
}

.wrapper {
    padding: 30px;
    position: relative;
    z-index: 1;
}
.allover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    display: block;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
}

header.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

main.main {
    display: grid;
    grid-template-columns: min-content 1fr;
    grid-template-rows: 1fr min-content;
    background-color: #e3e3e2;

    .visual {
        grid-row: 1 / span 2;

        img {
            display: block;
        }
    }

    .content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        color: #0062ae;
        padding: 30px;
        position: relative;
        z-index: 3;

        a {
            color: #0062ae;
        }

        h1 {
            font-size: 50px;
            font-weight: 800;
            margin: 0;
            z-index: 4;
        }

        h2 {
            margin: 0;
            font-size: 45px;
            font-weight: 400;
            z-index: 4;
        }

        .bean {
            position: absolute;
            bottom: -20px;
            left: -20px;
            z-index: 1;
        }
    }

    .content:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #e3e3e2;
        z-index: 2;
    }

    .logos {
        background-color: #868686;
        padding: 30px;
        max-height: fit-content;
        margin-top: auto;

        ul {
            margin: 0;
            padding: 0;
            list-style: none;
            display: flex;
            justify-content: space-around;
            align-items: center;
            a {
                display: flex;
            }
        }
    }
}

@media (max-width: 1439px) {
    .wrapper {
        padding: 20px;
    }

    .container {
        width: 100%;
        max-width: 700px;
    }

    main.main {
        grid-template-columns: 1fr 1fr;
        .visual {
            grid-row: 1 ;

            img {
                max-width: 100%;
                width: 100%;
                min-height: 500px;
                object-fit: cover;
            }
        }

        .content {
            grid-row: 1 ;
            h1 {
                font-size: 30px;
            }

            h2 {
                font-size: 25px;
            }
        }

        .logos {
            padding:30px 10px;
            grid-row: 2;
            grid-column: 1 / span 2;
            ul {
                gap: 10px;
                li {
                    img {
                        max-width: 100%;
                        height: auto;
                    }
                }
            }
        }
    }
}

@media (max-width: 768px){

    main.main {
        .visual {
            img {
                min-height: 400px;
                max-height: 400px;
            }
        }
        .content {
            padding: 10px;
            grid-row: 1 ;
            h1 {
                font-size: 23px;
            }

            h2 {
                font-size: 21px;
            }
        }
    }
}