@font-face {
    font-family: 'Telenor-regular';
    src: url('fonts/telenor-webfont.woff');
}
@font-face {
    font-family: 'Telenor-light';
    src: url('fonts/telenorlight-webfont.woff');
}
body {
    font-family: 'Telenor-light', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 100%;
}
main {
    padding: 0 32px;
    box-sizing: border-box;
    flex: 1;
    width: 1024px;
    max-width: 100%;
    margin: 0 auto;
}

header {
    width: 1024px;
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 16px 0 16px;
    box-sizing: border-box;
}
#logo img {
    margin-right: 8px;
    height: 56px;
    width: auto;
}
h1 {
   font-weight: normal;
}
.button {
    background-color: #4173CE;
    min-width: 100px;
    padding: 10px 20px;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin: 16px;
    text-transform: uppercase;
    font-family: 'Telenor-regular', sans-serif;
    letter-spacing: 0.5px;
}

.reverse-row-order {
    flex-direction: row-reverse;
}

footer {
    background: #0c1026;
    padding: 56px 16px 32px;
    box-sizing: border-box;
}
.footer-content {
    max-width: 940px;
    margin: 0 auto;
    color: #767676;
    font-size: 0.875rem;
}
.footer-line {
    width: 100%;
    height: 1px;
    margin-top: 12px;
    margin-bottom: 8px;
    background-color: #ffffff33;
}
.footer-text {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
#companyName {
    font-size: 0.75rem;
}
.ToS a {
    text-decoration: none;
    color: #c3c3c3;
    padding: 12px 0;
    text-align: center;
}
.ToS a:first-child {
    margin-right: 24px;
}

@media screen and (max-width: 700px){
    body {
        font-size: 16px;
    }
    main {
        padding: 0 16px;
    }
    #logo img {
        height: 40px;
    }
}

@media screen and (max-width: 450px) {
    footer {
        padding-top: 32px;
        padding-bottom: 24px;
    }
    .footer-content {
        font-size: 0.75rem;
    }
    .footer-content img {
        width: 32px;
        height: 32px;
    }
    #companyName {
        font-size: 0.625rem;
    }
}