:root {
    --bg: #ececec;
    --black: #000;
    --white: #fff;
    --underline: #939393;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

#root,
#__next {
    isolation: isolate;
}

body {
    background: var(--bg);
    font-family: 'MgXAvantG';
    font-size: 18px;
}

header {
    padding: 21px 0;
}

header .container {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1425px;
    margin: 0 auto;
    gap: 20px;
    padding: 0 20px;
}

header span {
    display: inline-block;
}

header ul {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
    padding: 0;
    margin-left: auto;
}

header ul img {
    min-width: 20px;
}

.slogo {
    margin: 0 auto;
}

main {
    margin-bottom: 30px;
}

main .container {
    width: 100%;
    max-width: 1030px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 20px;
}

main h2 {
    font-size: 30px;
    line-height: 36px;
    width: 100%;
    max-width: 100%;
    margin-top: 60px;
    margin-bottom: 30px;
}

main h2 br {
    display: none;
}

main p + p {
    margin-top: 20px;
}

main p em {
    font-family: 'SamsungOne 600';
}

main p a {
    color: var(--black);
    text-decoration: none;
    position: relative;
}

main p a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--underline);
    transition: all 0.3s ease-in-out;
}

main p a:hover::after {
    background: var(--black);
}

main img {
    max-width: 100%;
    margin: 0 auto;
}

.flex {
    display: flex;
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-center {
    align-items: center;
}

.align-start {
    align-items: flex-start;
}

.t--90 {
    position: relative;
    top: 0;
}

.gap {
    gap: 80px;
}

.mt {
    margin-top: 65px;
}

.mb {
    margin-bottom: 65px;
}

.ms-0 {
    margin-left: 0;
}

.sponsored {
    text-align: center;
    margin: 35px auto 50px;
}

.sim {
    font-size: 13px;
    margin: 20px auto 0;
    width: 83%;
}

footer {
    font-family: 'SamsungOne 600';
    background: var(--black);
    color: var(--white);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.qlogo {
    max-height: 36px;
}

@media screen and (min-width: 768px) {
    
    body {
        font-size: 21px;
    }

    .qlogo {
        max-height: 100%;
    }

    .flex {
        flex-direction: row;
    }

    header ul {
        gap:34px;
    }

    header ul img {
        min-width: 23px;
    }

    main p + p {
        margin-top: 50px;
    }

    .sponsored {
        margin: 35px auto 100px;
    }

    main h2 {
        font-size: 42px;
        line-height: 46px;
        font-weight: 500;
        margin-top: 140px;
        margin-bottom: 50px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    main h2 br {
        display: block;
    }

    .t--90 {
        top: -90px;
    }

    footer {
        font-size: 21px;
    }

}

@media screen and (min-width: 1480px) {

    header .container,
    main .container {
        padding: 0;
    }

}