@font-face {
    font-family: 'Relevant Normal';
    font-style: normal;
    font-weight: normal;
    src: local('fonts/Relevant Normal'), url('fonts/Relevant Normal.woff') format('woff');
}   

@font-face {
    font-family: 'Relevant Normal Italic';
    font-style: normal;
    font-weight: normal;
    src: local('fonts/Relevant Normal Italic'), url('fonts/Relevant Normal Italic.woff') format('woff');
}

@font-face {
    font-family: 'Relevant Thin';
    font-style: normal;
    font-weight: normal;
    src: local('fonts/Relevant Thin'), url('fonts/Relevant Thin.woff') format('woff');
}

@font-face {
    font-family: 'Relevant Thin Italic';
    font-style: normal;
    font-weight: normal;
    src: local('fonts/Relevant Thin Italic'), url('fonts/Relevant Thin Italic.woff') format('woff');
}

@font-face {
    font-family: 'Relevant Light';
    font-style: normal;
    font-weight: normal;
    src: local('fonts/Relevant Light'), url('fonts/Relevant Light.woff') format('woff');
}

@font-face {
    font-family: 'Relevant Light Italic';
    font-style: normal;
    font-weight: normal;
    src: local('fonts/Relevant Light Italic'), url('fonts/Relevant Light Italic.woff') format('woff');
}

@font-face {
    font-family: 'Relevant Medium';
    font-style: normal;
    font-weight: normal;
    src: local('fonts/Relevant Medium'), url('fonts/Relevant Medium.woff') format('woff');
}

@font-face {
    font-family: 'Relevant Medium Italic';
    font-style: normal;
    font-weight: normal;
    src: local('fonts/Relevant Medium Italic'), url('fonts/Relevant Medium Italic.woff') format('woff');
}

@font-face {
    font-family: 'Relevant Bold';
    font-style: normal;
    font-weight: normal;
    src: local('fonts/Relevant Bold'), url('fonts/Relevant Bold.woff') format('woff');
}

@font-face {
    font-family: 'Relevant Bold Italic';
    font-style: normal;
    font-weight: normal;
    src: local('fonts/Relevant Bold Italic'), url('fonts/Relevant Bold Italic.woff') format('woff');
}

@font-face {
    font-family: 'Relevant Black';
    font-style: normal;
    font-weight: normal;
    src: local('fonts/Relevant Black'), url('fonts/Relevant Black.woff') format('woff');
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    font-family: 'Relevant Normal', Arial, Helvetica, sans-serif;
    color: #313234;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
}

p,
a,
ul,
ol,
li {
    font-size: 17px;
    line-height: 23px;
    letter-spacing: 0.3px;
}

p {
    margin-bottom: 10px;
}

ul {
    margin: 10px 0;
}

li {
    margin-left: 20px;
}

h1 {
    font-family: 'Relevant Black', Arial, Helvetica, sans-serif;
    font-size: 30px;
    line-height: 37px;
    color: #0080B2;
    margin-bottom: 34px;
}

h2 {
    font-family: 'Relevant Bold', Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 15px;
    letter-spacing: 4px;
    color: #5D5D5D;
    text-transform: uppercase;
    margin-bottom: 17px;
}

a {
    color: #ffffff;
    text-decoration: none;
}

a:link,
a:visited,
a:hover,
a:active {
    color: #ffffff;
}

a img {
    display: block;
}

.content-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 65px 7%;
    width: 100%;
}

@media screen and (max-width: 1024px) {
    .content-row {
        flex-direction: column;
    }
    .content-row.mobile-reverse-order {
        flex-direction: column-reverse;
    }
}

.content-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.content-column > img {
    width: 100%;
}

@media screen and (max-width: 1024px) {
    .content-column > img {
        padding-bottom: 65px;
    }
}

.col15 {
    width: 100%;
}

.col8 {
    width: 53%;
}

.col7 {
    width: 47%;
}

.col6 {
    width: 40%;
}

.col4 {
    width: 27%;
}

.col2 {
    width: 13%;
}

@media screen and (max-width: 1024px) {
    .col15, .col8, .col7, .col6, .col4, .col2 {
        width: 100%;
    }
}

.start {
    align-items: flex-start;
}

.center {
    align-items: center;
}

.end {
    align-items: flex-end;
}

.top-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 9999;
    height: 140px;
    padding-top: 20px;
    padding-bottom: 20px;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1);
    transition-duration: 1s;
}

.mobile-menu-background {
    background-color: #313234;
}

.traveling-menu {
    background-color: #313234;
    height: 80px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.top-menu nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-end;
    justify-content: space-between;
    align-items: center;
    width: 50%;
    height: 50%;
}

@media screen and (max-width: 1200px) {
    .top-menu .desktop-menu {
        width: 70%;
    }
}

@media screen and (max-width: 1024px) {
    .top-menu .desktop-menu {
        display: none;
    }
}

.top-menu nav a {
    display: flex;
    align-items: center;
    height: 100%;
    padding-left: 1%;
    padding-right: 1%;
    font-family: 'Relevant Bold', Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo a {
    display: block;
    height: 100%;
}

.logo img {
    display: block;
    height: 100%;
}

.header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-end;
    background-image: url('img/mobile-wifi_5184x2916.png');
    background-size: cover;
    background-position: top;
    height: 750px;
    color: #ffffff;
}

.header:before {
    content: '';
    position: absolute;
    background-color: #0080B2;
    background-size: cover;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 750px;
    opacity: 0.3;
}

.header .content-row {
    z-index: 100;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-end;
    justify-content: flex-start;
    align-items: flex-start;
}

.header h1 {
    font-family: 'Relevant Bold', Arial, Helvetica, sans-serif;
    font-size: 100px;
    line-height: 121px;
    color: #ffffff;
}

@media screen and (max-width: 800px) {
    .header h1 {
        font-size: 60px;
        line-height: 85px;
    }
}

.header h2 {
    font-family: 'Relevant Normal', Arial, Helvetica, sans-serif;
    font-size: 30px;
    line-height: 36px;
    color: #ffffff;
    width: 50%;
    text-transform: none;
}

@media screen and (max-width: 1024px) {
    .header h2 {
        width: 100%;
    }
}

.list-block {
    display: flex;
    flex-wrap: nowrap;
    padding: 12px 0;
}

.half-col-right-padding {
    padding-right: 4%;
}

.half-col-left-padding {
    padding-left: 4%;
}

@media screen and (max-width: 1024px) {
    .half-col-right-padding, .half-col-left-padding {
        padding: 0;
    }
}

.list-icon {
    height: 60px;
}

.text-block {
    padding-left: 25px;
}

.text-block p:first-child {
    font-family: 'Relevant Bold', Arial, Helvetica, sans-serif;
}

.paragraph-block {
    margin: 10px 0;
}

.contact-section {
    justify-content: space-between;
    background-color: #F8F8F8;
}

.button {
    display: block;
    border-radius: 30px;
    border: solid 1px #0080B2;
    background-color: #0080B2;
    color: #ffffff;
    padding: 18px 25px;
    font-family: 'Relevant Bold', Arial, Helvetica, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 14px;
}

.contact-block {
    display: block;
    padding-right: 20%;
}

@media screen and (max-width: 1024px) {
    .contact-block {
        padding-right: 0%;
    }
}

.mail-link,
.mail-link:link,
.mail-link:visited,
.mail-link:hover,
.mail-link:active {
    color: #0080B2;
    text-decoration: underline;
}

form {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.3px;
}

input, textarea {
    background-color: #ffffff;
    border: 1px solid #B9B9B9;
    padding: 12px 16px;
    margin: 10px 0;
    width: 100%;
}

textarea {
    height: 150px;
}

input[type='submit'] {
    width: auto;
    margin-left: auto;
}

.success {
    color: #1d9431;
}

.note {
    color: #D13232;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.3px;
}

.footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 45px 7% 35px 7%;
    background-color: #313234;
}

.footer p {
    font-size: 13px;
    line-height: 23px;
    color: #ffffff;
}

.credits {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: space-between;
    align-items: flex-start;
}

@media screen and (max-width: 800px) {
    .credits {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .credits .content-column {
        align-items: center;
    }

    .credits .content-column:nth-child(2) {
        margin-top: 30px;
    }
}

.gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width: auto;
}

@media screen and (max-width: 800px) {
    .gallery {
        flex-direction: column;
        align-items: center;
        width: auto;
        height: auto;
    }

    .gallery a:nth-child(2) {
        margin-top: 30px;
    }
}

.gallery a {
    display: block;
    margin: 0 5vw;
}

.gallery a:first-child {
    margin-left: 0;
}

.gallery a:last-child {
    margin-right: 0;
}

@media screen and (max-width: 800px) {
    .gallery a {
        margin: 0;
    }
}

.quebec-numerique {
    height: 50px;
}

.ville-quebec {
    height: 80px;
}

.gouvernement-quebec {
    height: 30px;
}

.copyright {
    display: flex;
    align-content: center;
    text-align: center;
    margin-top: 40px
}

.copyright p {
    color: #7F7F7F;
}

.copyright p a {
    font-size: 13px;
    line-height: 23px;
}

#popup {
    position: fixed;
    z-index: 9999;
    left: 0;
    bottom: 0;
    width: 100%;
}

.popup-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    margin: 0 auto;
    background-color: #F8F8F8;
    padding: 40px 75px;
}

.popup-content h1 {
    margin-bottom: 17px;
}

.popup-message {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: space-between;
}

.popup-message p {
    margin: 0;
}

.popup-message a {
    white-space: nowrap;
    text-align: center;
    margin-left: 20px;
}

@media screen and (max-width: 767px) {
    .popup-message {
        flex-direction: column;
    }

    .popup-message p {
        margin-bottom: 25px;
    }
}

.close-button {
    position: absolute;
    cursor: pointer;
    width: 40px;
    height: 40px;
    top: 20px;
    right: 20px;
}

.close-button:before,
.close-button:after {
    content: '';
    position: absolute;
    width: 36px;
    height: 4px;
    background-color: #313234;
    border-radius: 2px;
    top: 16px;
}

.close-button:before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
    left: 2px;
}

.close-button:after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
    right: 2px;
}

.hidden {
    display: none!important;
}

.mobile-button {
    display: none;
}

@media screen and (max-width: 1024px) {
    .mobile-button {
        display: block;
    }
}

.mobile-button .lines,
.mobile-button .lines:before,
.mobile-button .lines:after,
.mobile-button .lines > span {
    background: #ffffff;
}

.mobile-button .lines:before {
    top: -19px;
}

.mobile-button .lines:before,
.mobile-button .lines:after,
.mobile-button .lines > span {
    content: '';
    left: 0;
    position: absolute;
    transition: top 0.3s 0.6s ease-in-out, transform 0.3s ease-in-out;
    transform-origin: 10px center;
}

.mobile-button .lines,
.mobile-button .lines:before,
.mobile-button .lines:after,
.mobile-button.lines > span {
    border-radius: 5px;
    background-clip: padding-box;
    display: inline-block;
}

.lines {
    position: relative;
}

.lines,
.lines:before,
.lines:after {
    width: 50px!important;
    height: 4px!important;
    margin: 9px 0;
}

.lines:before {
    margin: 10.5px 0;
}

.mobile-button.close .lines {
    transition: background 0.3s 0s ease-in-out;
    background: transparent !important;
}

.mobile-button.close .lines:before,
.mobile-button.close .lines:after {
    transition: top 0.3s ease-in-out, transform 0.3s 0.5s ease-in-out;
}

.mobile-button.close .lines:before {
    transform: rotate3d(0, 0, 1, 45deg);
    top: -21px;
}

.mobile-button.close .lines:after {
    transform: rotate3d(0, 0, 1, -45deg);
}

.mobile-menu {
    position: fixed;
    display: none;
}

@media screen and (max-width: 1024px) {
    .mobile-menu {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: start;
        align-content: flex-start;
        background-color: #0080B2;
        height: auto;
        margin-top: 140px
    }
}

.mobile-menu nav {
    flex-direction: column;
    justify-content: start;
    align-items: flex-start;
    width: 100%;
    height: auto;
}

.mobile-menu nav a {
    font-size: 17px;
    width: 100%;
    padding: 15px 0;
    margin: 10px 0;
}

.traveling-mobile-menu {
    margin-top: 80px;
}