html {
    font-size: 100%;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    position: relative;
    background-color: #f7f8fb;
    color: #535a62;
    font-family: Roboto, sans-serif;
    margin: 0;
    width: 100%;
    height: 100%;

    max-width: 2500px;
    margin: 0 auto;

    text-align: center;
}

.page {
    height: auto;
}

.wrapper {
    /* height: 100%; */
    width: 100%;

    position: relative;

    padding: 0 15px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.header {
    width: 100%;
    padding-top: 40px;
    padding-bottom: 100px;
}

.logo {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 200px;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;

    margin: 0 auto;
}

.main > * + * {
    margin-top: 20px;
}

.mobile {
    display: block;
    max-width: 50px;
}

.desktop {
    display: none;
}

.heading {
    font-size: 40px;
    font-weight: 300;

    margin: 0;
    padding: 0;

    color: #b59e64;
}

.copy {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.62;

    padding-bottom: 60px;
}

.links > a {
    color: #535a62;
    font-family: inherit;
}

.links > a:hover {
    transition: all ease-in-out 0.2s;
    opacity: 0.8;
}

.logolist_title {
    margin-bottom: 40px;

    font-weight: 700;
}

.logolist {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;

    padding: 0;
    margin: 0;
    list-style: none;

    padding-left: 60px;
    padding-right: 60px;

    margin: -32px;
}

.logolist-item {
    flex: 1 0 100%;

    padding: 32px;
}

.logolist-item + .logolist-item {
    border-top: 0.5px solid #535a62;
    height: 100%;
    min-height: 100%;
}

.logolink {
    display: block;
    padding: 0;
    margin: 0;
    text-decoration: none;
}

.logolink:hover {
    transition: all ease-in-out 0.2s;
    opacity: 0.8;
}

.category {
    font-size: 18px;

    margin-bottom: 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.category > img {
    display: block;
    width: 34px;
    height: 34px;

    margin-bottom: 20px;
}

.grouplogos {
    padding: 0;
    margin: 0;
    list-style: none;

    margin: -8px;
}

.grouplogo {
    margin: 0 auto;
    /*padding: 8px;

    margin-top: 24px;
    margin-bottom: 24px;*/
}

.logolink > img {
    display: block;
    margin: 0 auto;

    /*width: 100%;

    height: 30px;
    max-height: 30px;*/
    max-width: 100%;
}

.footer {
    padding: 20px 0 calc(20px + env(safe-area-inset-bottom)) 0;

    margin-top: 150px;

    width: 100%;
    height: 60px;
}

.footer-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.footer-links > a {
    display: block;

    font-size: 14px;
    text-decoration: underline;
}

.footer-links > img {
    display: block;
    height: 15px;
    width: 15px;
}

.footer-links > * + * {
    margin-left: 32px;
}

.decorator {
    background-image: url("../images/mobileDecorator.svg");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;

    width: 100%;
    height: auto;

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    z-index: -1;
}

@media (orientation: landscape) {
    .logolist {
        padding: 0;
        margin: -8px;

        position: relative;
        height: 100%;
    }

    .logolist-item {
        flex: 1 0 25%;
        max-width: 25%;
        padding: 8px;

        height: 100%;
    }

    .logolist-item + .logolist-item {
        border-top: none;
        min-height: 350px;
        border-left: 0.5px solid #535a62;
    }

    .wrapper {
        padding: 0 40px;
    }

    .main {
        max-width: 880px;
        height: 100%;
    }

    .mobile {
        display: none;
    }

    .desktop {
        display: block;
    }

    .decorator {
        background-image: url("../images/Decorator.svg");
        background-position: center right;
        transform: scaleX(1);
    }
}
