/*
Theme Name: wild-nature
Theme URI: https://wild-nature.fr
Author: Ronan Blanchard
Author URI: https://ronanblanchard.fr
Description: My first theme !
Requires at least: WordPress 5.0
Version: 1.0
*/

@font-face {
 font-family: 'Andada';
 src: url('fonts/Andada-Regular.eot');
 src: url('fonts/Andada-Regular.eot?#iefix') format('embedded-opentype'),
  url('fonts/Andada-Regular.woff2') format('woff2'),
  url('fonts/Andada-Regular.woff') format('woff'),
  url('fonts/Andada-Regular.ttf') format('truetype'),
  url('fonts/Andada-Regular.svg#Andada-Regular') format('svg');
 font-weight: normal;
 font-style: normal;
}

@font-face {
 font-family: 'Piazzolla';
 src: url('fonts/Piazzolla-Bold.eot');
 src: url('fonts/Piazzolla-Bold.eot?#iefix') format('embedded-opentype'),
  url('fonts/Piazzolla-Bold.woff2') format('woff2'),
  url('fonts/Piazzolla-Bold.woff') format('woff'),
  url('fonts/Piazzolla-Bold.ttf') format('truetype'),
  url('fonts/Piazzolla-Bold.svg#Piazzolla-Bold') format('svg');
 font-weight: bold;
 font-style: normal;
 font-display: swap;
}

@font-face {
 font-family: 'Piazzolla Regular';
 src: url('fonts/Piazzolla-Regular.eot');
 src: url('fonts/Piazzolla-Regular.eot?#iefix') format('embedded-opentype'),
  url('fonts/Piazzolla-Regular.woff2') format('woff2'),
  url('fonts/Piazzolla-Regular.woff') format('woff'),
  url('fonts/Piazzolla-Regular.ttf') format('truetype'),
  url('fonts/Piazzolla-Regular.svg#Piazzolla-Regular') format('svg');
 font-weight: normal;
 font-style: normal;
 font-display: swap;
}

@font-face {
 font-family: 'Hey August';
 src: url('fonts/HeyAugust.woff2') format('woff2'),
  url('fonts/HeyAugust.woff') format('woff'),
  url('fonts/HeyAugust.svg#HeyAugust') format('svg'),
  url('fonts/HeyAugust.ttf') format('truetype'),
  url('fonts/Hey\ August.otf') format('otf'),
  url('fonts/HeyAugust.eot'),
  url('fonts/HeyAugust.eot?#iefix') format('embedded-opentype');
 font-weight: normal;
 font-style: normal;
}

/* reset css */

body,
html {
 margin: 0;
 padding: 0;
}

* {
 box-sizing: border-box;
}

/* reset wordpress */

.wp-block-columns {
 padding: 0 50px;
}

.grey-font .contact-section {
 padding-bottom: 0;
}

figure {
 margin: 0;
}

/* titles and fonts */

h1 {
 font-family: 'Hey August';
 font-size: 3.5em;
 text-align: center;
 font-weight: normal;
}

header h2 {
 font-size: 2.5em;
 margin-top: 0;
 margin-bottom: auto;
}

article {
 padding: 1em;
}

.content h2,
article h1 {
 font-family: 'Piazzolla';
 font-size: 4.5em;
 text-align: left;
 color: #333333;
 font-weight: 500;
 align-self: center;
}

p {
 font-size: 18px;
 line-height: 2em;
}

* {
 font-family: 'Andada';
 color: #333333;
}

.connexion,
.footer-content {
 font-family: 'Piazzolla';
}

/* body */

body {
 background-color: #f6f6f6;
 overflow: scroll;
 overflow-x: hidden;
 max-width: 1920px;
 margin: auto;
 display: flex;
 flex-direction: column;
 min-height: 100vh;
}

.content {
 flex: 1 0 auto;
}

.container {
 margin-left: 20px;
 margin-right: 20px;
}

/* header */

header {
 background-size: cover;
 background-repeat: no-repeat;
}

/* news */

.news {
 margin: 5em 0 0 0;
 box-shadow: 0px 8px 12px 0px rgba(51, 51, 51, 0.16);
 border-radius: 5px;
}

.news figure {
 display: inline-block;
 position: relative;
}

.news figure:after {
 position: absolute;
 top: 0;
 left: 0;
 background-color: #B7B5B0;
 content: "";
 width: 100%;
 height: 100%;
 transform: rotate(3deg);
 border-radius: 5px;
 z-index: -1;
 box-shadow: 0px 4px 6px 0px rgba(51, 51, 51, 0.16);
}

/* logo, quotation, h1 and site name arrengement */

.logo {
 width: 4em;
}

.home-link {
 display: flex;
 margin-top: 1em;
 margin-bottom: 1em;
 align-items: center;
 justify-content: space-between;
 margin-left: 20px;
 margin-right: 20px;
}

.home .content h1,
.privacy-policy .content h1,
.page-id-349 .content h1 {
 display: none;
}

/* home insert */

body:not(.home) .home-insert {
 display: none;
}

.sticky .home-insert {
 display: none;
}

.sticky {
 height: auto !important;
}

.home-insert {
 display: flex;
 background: #F6F6F6;
 padding: 1em;
 margin: auto;
}

.insert-content {
 display: flex;
 overflow: hidden;
 padding: 0 20px;
}

.mountain {
 width: 822px;
 margin: auto;
}

.text-insert {
 margin: auto;
}

.text-insert {
 width: 50%;
 display: inline-table;
}

/*header background changes following the page visited */

.category-portraits header {
 background: url(img/portraits.png);
 background-repeat: no-repeat;
 background-size: cover;
 background-position: center;
}

.category-graphique header {
 background: url(img/graphique.png);
 background-repeat: no-repeat;
 background-size: cover;
}

.category-paysages header {
 background: url(img/paysages.png);
 background-repeat: no-repeat;
 background-size: cover;
}

.category-treks header {
 background: url(img/treks.png);
 background-repeat: no-repeat;
 background-size: cover;
}

.category-animaux header {
 background: url(img/animaux.jpg);
 background-repeat: no-repeat;
 background-size: cover;
 background-position: 50% 50%;
}

.privacy-policy header {
 background-image: url(img/NH3A9676.jpg);
}

.home header {
 background-image: url(img/NH3A3083.jpg);
 background-position: top;
}

header {
 background-image: url(img/NH3A3298.jpg);
}

.archive header {
 background-image: url(img/NH3A3337.jpg);
 background-position: center;
}

.page-id-361 header {
 background-image: url(img/NH3A9976.jpg);
 background-position: center left;
}

/* header */

.site-name {
 font-family: 'Hey August';
 font-size: 5em;
 margin-bottom: -1rem;
 margin-top: -1rem;
 font-weight: initial;
}

.quote,
.site-name {
 color: white;
 text-decoration: none;
}

.quote {
 font-family: 'Piazzolla';
 font-size: 35px;
}

header {
 box-shadow: 0px 8px 12px 0px rgba(51, 51, 51, 0.16);
 z-index: 1;
 background-position: center;
 background-size: cover;
}

body:not(.home) header {
 height: auto;
}

header a {
 text-decoration: none;
}

.quote img {
 margin: 0 1em 0 1em;
}

/* header menu */

#menu-header {
 list-style: none;
 padding-right: 50px;
 text-align: right;
}

.connexion a {
 padding: 0 0 0 30px;
 color: white;
 text-decoration: underline;
 font-size: 1.2em;
}

.sub-menu li a{
    padding: 0 20px;
}

#menu-item-801{
    position: relative;
}

.sub-menu li{
    line-height: 2em;
}

.sub-menu{
    position: absolute;
}

.connexion p {
 margin: 0;
}

.connexion {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding-top: 10px;
 padding-bottom: 10px;
 background-color: rgba(255, 255, 255, 0.4);
 z-index: 2;
}

.menu-header-container {
 display: flex;
}

.menu-header-container ul {
 margin: 0;
}

header .menu {
 display: flex;
 flex-flow: row wrap;
 justify-content: flex-end;
}

header .menu li a {
 white-space: nowrap;
}

header .menu ul {
 margin-top: 0;
 padding: 0;
}

header .menu li a:hover,
.connexion a:hover {
 transition: 0.5s;
 color: #333333;
}

#burger-shower,
.hamburger {
 display: none;
}

.searchform {
 padding-left: 1em;
 z-index: 1;
 display: inherit;
}

.searchform input {
 margin-top: 0;
 height: auto;
 background-color: white;
 font-weight: bold;
 border: none;
}

.searchform input[type="image"] {
 border-radius: 5px;
 width: 25px;
 vertical-align: bottom;
 margin: auto 5px;
}

.main-nav {
 padding: 0;
 position: relative;
 z-index: 2;
}

.main-nav ul {
 margin: 0;
 font-family: 'Roboto', sans-serif;
 font-weight: 500;
}

.toggle-bar {
 display: none;
}

li.current-menu-item a {
 font-weight: bolder;
 -webkit-text-decoration-line: none;
 text-decoration-line: none;
}

/* menu when user scroll */

.header-top {
 position: relative;
 height: 45em;
}

.sticky {
 position: -webkit-sticky;
 position: sticky;
 z-index: 103;
 top: 0;
 right: 0;
 left: 0;
 -webkit-animation: appear ease 0.5s;
 animation: appear ease 0.5s;
}

.sticky {
 height: auto;
 -webkit-animation: appear 0.5s ease;
 animation: appear 0.5s ease;
 min-height: unset;
}

.sticky .home-link {
 display: none;
}

.home .sticky+.content {
 margin-top: 33em;
}

.sticky+.content {
 margin-top: 14em;
}

/* dropdown if menu has children */

.menu-item-has-children ul {
 display: none;
 opacity: 0;
}

.menu-item-has-children:hover>ul {
 margin: 0 -2em;
 transition: 0.5s;
 display: flex;
 opacity: 1;
 z-index: 3;
 box-shadow: 0px 4px 6px 0px rgba(51, 51, 51, 0.16);
 width: auto;
 flex-direction: column;
 -webkit-animation: appear;
 animation: appear;
 -webkit-animation-duration: 0.5s;
 animation-duration: 0.5s;
 padding: 0 0 0 30px;
 width: fit-content;
}

.menu-item-has-children ul li {
 display: inline;
 background: rgba(255, 255, 255, 0.5);
}

.menu-item-has-children li {
 position: relative;
}

.menu-item-has-children li a {
 color: #333333;
}

.sub-menu {
 height: 0;
 margin-left: auto;
 margin-right: auto;
 left: 0;
 right: 0;
 text-align: center;
}

.sub-menu li:hover {
 transition: 0.5s;
 outline: inset 1px white;
}

.sub-menu li:hover a {
 transition: 0.5s;
 color: white;
}

/* images */


.wp-post-image {
 border-radius: 10px;
}

/* photo galery and about sections */

.about {
 padding-top: 1em;
}

.about figure {
 display: inline-block;
 position: relative;
}

.about figure::after {
 position: absolute;
 top: 0;
 left: 0;
 background-color: white;
 content: "";
 width: 100%;
 height: 100%;
 transform: rotate(3deg);
 border-radius: 5px;
 z-index: -1;
 box-shadow: 0px 4px 6px 0px rgba(51, 51, 51, 0.16);
}

.galery-img img {
 box-shadow: 0px 8px 12px 0px rgba(51, 51, 51, 0.16);
}

.galery-img figure {
 margin: auto;
}

.grey-font {
 background: linear-gradient(#f6f6f6 25%, #E0DFDD 25%, #E0DFDD 75%, #f6f6f6 75%);
 padding-top: 1em;
 left: 0;
 margin: -20px;
}

.right-forest,
.left-forest {
 position: relative;
}

.right-forest img {
 position: absolute;
 opacity: 60%;
 right: 0;
}

.left-forest img {
 position: absolute;
 opacity: 60%;
 transform: rotateY(180deg);
 left: 0;
}

.column-wild .wp-block-image {
 margin: auto;
}

.galery-icon figure {
 margin-bottom: -21px;
}

.gallery-photos {
 display: flex !important;
 margin-right: -10px;
}

.gallery-photos img {
 height: 480px !important;
 -o-object-fit: cover;
 object-fit: cover;
 padding: 10px;

 transition: ease 0.5s;
 cursor: pointer;
}

.gallery-photos .wp-block-image img {
 border-radius: 15px !important;
}

.gallery-photos img:hover {
 width: 100em;
 transition: ease 0.5s;
}

.gallery-photos figure {
 display: flex;
 flex-flow: column;
 justify-content: center;
 align-items: center;
}

.gallery-photos figcaption {
 position: absolute;
 pointer-events: none;
 color: #F6F6F6;
 font-size: x-large;
 opacity: 0;
}

.gallery-photos a:hover,
.gallery-photos a:hover+figcaption,
.gallery-photos figcaption:hover {
 opacity: 1;
 transition: 0.5s ease;
 left: auto;
}

/* gallery page */

.bwg-item0 {
 border-radius: 5px !important;
}

.page-id-349 h2 {
 width: 1504px;
 margin: 1em auto;
}

/* form */

.contact-title {
 align-self: center;
}

.contact {
 padding: 2em;
 margin: 4em auto 0 auto;
 background-color: #E1F4F3;
 background-position: center;
 max-width: 100%;
 border-radius: 5px;
 z-index: 0;
 box-shadow: 0px 4px 6px 0px rgba(51, 51, 51, 0.16);
 border: #707070 1px solid;
}

.mandatory {
 margin-top: 0px;
 margin-bottom: 2em;
}

.submit {
 text-align: center;
}

.wpcf7-form {
 display: flex;

}

input {
 margin-top: 5px;
 font-size: 16px;
 border-radius: 5px;
}

.wpcf7-acceptance {
 white-space: nowrap;
 line-height: normal;
}

.wpcf7-acceptance {
 border: none !important;
}

input.acceptance {
 margin-top: 0;
 height: 0;
}

textarea {
 padding-top: 1em !important;
 font-size: 16px !important;
 border-radius: 5px;
}

.wpcf7-form textarea {
 width: 100%;
 width: -moz-available;
 width: -webkit-fill-available;
 width: fill-available;
 border-radius: 5px;
}

.wpcf7-form-control,
.wpcf7-form textarea {
 width: 100%;
 width: -moz-available;
 width: -webkit-fill-available;
 width: fill-available;
 padding: 0.5em;
 border: 1px solid #707070;
}

input.wpcf7-submit {
 background: linear-gradient(to right, #f6f6f6 50%, #333333 50%);
 background-size: 201% 100%;
 border-radius: 5px;
 padding: 10px;
 transition: .5s ease-out;
 vertical-align: middle;
 margin: auto;
 flex: 1 1 auto;
 text-align: center;
 font-family: 'Andada';
 border: #333333 1px solid;
 color: #333333 !important;
 cursor: pointer;
}

input.wpcf7-submit:enabled:hover {
 background-position: right center;
 color: #f6f6f6 !important;
 border: #707070 1px solid;
}

input[type="submit"] {
 width: 8rem;
 font-weight: bold;
}

/* animations */

.home-link,
.logo,
.site-name {
 -webkit-animation-duration: 0.5s;
 animation-duration: 0.5s;
 -webkit-animation-name: zoom;
 animation-name: zoom;
}

@-webkit-keyframes zoom {
 0% {
  transform: scale(0.9);
 }

 100% {
  transform: scale(1);
 }
}


@keyframes zoom {
 0% {
  transform: scale(0.9);
 }

 100% {
  transform: scale(1);
 }
}
@-webkit-keyframes appear {
 0% {
  display: none;
  opacity: 0%;
 }
 100% {
  opacity: 100%;
 }
}
@keyframes appear {
 0% {
  display: none;
  opacity: 0%;
 }
 100% {
  opacity: 100%;
 }
}

/* buttons & button animations */

.arrow {
 display: inline-block;
 vertical-align: middle;
 padding-bottom: 8px;
}

header .button {
 display: inline;
}

header .button:hover .arrow {
 -webkit-filter: contrast(0%) brightness(70%);
 filter: contrast(0%) brightness(70%);
}

header .wp-block-buttons {
 white-space: nowrap;
}

header .button a {
 background: linear-gradient(to right, #333333 50%, #f6f6f6 50%);
 background-size: 200% 100%;
 border-radius: 5px;
 padding: 10px;
 transition: .5s ease-out;
}

.wild-buttons a {
 background: linear-gradient(to right, #f6f6f6 50%, #333333 50%);
 background-size: 201% 100%;
 border-radius: 5px;
 padding: 10px;
 transition: .5s ease-out;
 vertical-align: middle;
 margin: auto;
 flex: 1 1 auto;
 text-align: center;
 font-family: 'Andada';
 border: #333333 1px solid;
 color: #333333 !important;
}

.wild-buttons a:hover {
 background-position: right;
 transition: .5s ease-out;
 color: #f6f6f6 !important;
 border: #f6f6f6 1px solid;
}

header .button a span {
 color: #F6F6F6;
}

header .button a:hover span {
 color: #333333;
}

header .button {
 margin: 20px 0;
}

header .button a:hover {
 background-position: right;
 transition: .5s ease-out;
 color: #333333;
 border: #333333 1px solid;
}

/* footer */

footer {
 text-align: center;
 box-shadow: 0px 4px 15px 0px rgba(51, 51, 51, 0.16);
 background: url(img/mountain_bg.png);
 background-size: 100%;
 background-position: center;
 background-repeat: no-repeat;
 margin-top: 3em;
}

.footer-content {
 display: flex;
 justify-content: space-between;
 margin: 0 20px;
 flex-flow: row wrap;
 margin: auto;
 align-items: center;
 height: 10em;
 text-align: left;
}

#menu-pied-de-page-2 {
 margin-top: -1em;
}

.wp-block-image img {
 margin: auto;
 height: auto;
 display: block;
 border-radius: 5px !important;
}

.footer-text p {
 margin-bottom: 0;
}

/* footer menu */
.wilderness {
 max-height: 100%;
 padding-top: 0;
 margin-left: 20px;
}

#menu-pied-de-page a:hover {
 transition: 0.5s;
 color: #706C61;
}

#menu-pied-de-page,
#menu-pied-de-page-2 {
 list-style-type: none;
 font-size: 1.2em;
 line-height: 2em;
 padding-left: 0;
}

.menu-pied-de-page-2-container {
 text-align: right;
}

#secondary {
 margin-right: 20px;
}

.menu-pied-de-page-container {
 text-align: center;
}

/* about page settings*/
.page-id-361 .wp-block-columns {
 margin-left: 0;
 padding: 0;
}

.page-id-361 .container {
 margin: 20px;
 margin-bottom: 0;
}

.page-id-361 footer {
 margin-top: 0;
}

.about_top_text {
 margin-top: 0;
 font-size: 1.8em;
}

.about-list li img {
 height: auto;
 margin: auto 1em auto auto;
}

.about-list li {
 line-height: 2em;
}

.top-about img {
 width: 50vw;
 min-width: 100%;
}

.top-about figure {
 margin: auto;
}

.top-right-column,
.informations-left-column {
 align-self: center;
}

.page-id-361 .content h1 {
 display: none;
}

.page-id-361 .content {
 background: linear-gradient(#f6f6f6 50%, #E1F4F3 50%);
}

.archive article h2 {
 margin-left: 0;
}

.post__thumbnail img {
 margin-bottom: 2em;
 max-width: 100%;
 height: auto;
}

.about-list {
 list-style: none;
 padding-left: 0
}

.leaflet-map {
 border-radius: 5px;
}

.map {
 padding-bottom: 5em;
}

.map p {
 display: none;
}

.about-list li {
 margin: 0.5em;
}

.wp-image-366 {
 box-shadow: 0px 8px 12px 0px rgba(51, 51, 51, 0.16);
}

/* articles and other pages settings */

.post__meta,
.blog .content p {
 max-width: 1024px;
 margin-bottom: 1em;
}

.single-post .post__content,
.single-post .post__meta {
 max-width: 1024px;
}

.skip-lazy {
 height: auto !important;
 width: 100%;
}

.pagination {
 display: flow-root;
 margin: auto;
 font-size: 1.2em;
}

.nav-next a,
.nav-previous a {
 margin-bottom: 1em;
 font-weight: bold;
}

.nav-next a {
 float: right;
 margin-right: 1em;
}

.nav-previous a {
 float: left;
 margin-left: 1em;
}

article {
 margin: auto;
 max-width: 1024px;
}

article img {
 vertical-align: middle;
 box-shadow: 0px 8px 12px 0px rgba(51, 51, 51, 0.16);
}

.content-404 {
 display: flex;
 flex-direction: column;
}

.grecaptcha-badge {
 visibility: hidden;
}

/* comments */

#comments * {
 color: #333333;
 font-size: 16px;
 text-align: left;
 margin: 0;
}

#comments h1,
#comments h2,
#comments h3,
#comments h4,
#comments h5,
#comments h6,
#commentform p,
.reply {
 font-family: 'Andada';
 margin: 1em 0;
}

.form-submit input {
 width: auto;
}

.comment-form .submit:hover {
 cursor: pointer;
}

.comment-form p label {
 display: block;
}

/*responsif */

@media screen and (max-width: 1133px) {
 .site-name {
  font-size: 4.5em;
 }
}

@media screen and (max-width: 992px) {
 .quote {
  display: none;
 }

 .about_top_text {
  display: inline-block;
 }
 
}

@media screen and (max-width: 768px) {

 .footer-content {
  flex-flow: column;
  height: auto;
 }

 .menu-pied-de-page-2-container {
  text-align: center;
 }

 #secondary {
  margin-right: 0;
 }

 .wilderness {
  order: 2;
  width: 15em;
 }

 .column-wild .wp-block-image {
  width: auto !important;
 }

 .gallery-photos img {
  height: 350px !important;
 }

 .content h2 {
  font-size: 3em;
 }

 h1 {
  font-size: 3em;
  text-align: center;
 }

 h2 {
  font-size: 2em;
 }

 p {
  font-size: 16px;
 }

 input {
  font-size: 14px;
 }

 * {
  font-size: 100%;
 }

 .sticky+.content {
  margin-top: 20em;
 }

 .contact label {
  line-height: 2em;
 }

 .home-link {
  top: 5em
 }

 .burger-shower {
  display: none;
 }

 .burger-shower:checked~.main-nav {
  display: flex;
  flex-flow: column nowrap;
  line-height: 2em;
 }

 #menu-header {
  display: flex;
  text-align: center;
  overflow: hidden;
  justify-content: space-around;
  height: 95vh;
 }

 .burger-shower:checked~.main-nav ul {
  transition: ease 0.5s both;
  background: rgba(51, 51, 51, 0.7);
  right: 1em;
  position: fixed;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 100vw;
  padding: 0;
  top: 0;
  -webkit-animation: appear ease 0.5s;
  animation: appear ease 0.5s;
 }

 .hamburger {
  display: block;
  font-size: 25px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  margin-right: 20px;
  margin-left: auto;
 }

 .burger-shower:checked+.hamburger {
  visibility: hidden;
  position: inherit;
 }

 .burger-shower:checked+.hamburger:after {
  color: white;
  content: "✗";
  visibility: initial;
  z-index: 7;
  position: absolute;
  right: 2em;
 }

 .main-nav {
  display: none;
  z-index: 4;
  font-size: 1.2em;
 }

 header .menu li a:hover,
 .main-nav a:hover {
  transition: ease-in 0.5s;
  color: #e1f4f3;
  outline: inset 1px white;
  display: block;
 }

 .sub-menu a {
  display: none;
 }

 .main-nav {
  font-size: 1em;
 }

 .logo {
  margin-top: 0;
 }

}

@media screen and (max-width: 599px) {

 .content h2 {
  font-size: 4em;
 }

 .gallery-photos img {
  height: 200px !important;
 }

 .gallery-photos img:hover {
  transform: scale(1.1);
 }

 .gallery-photos {
  margin-top: 1em;
 }

 .about .wp-block-column,
 .news-left-column {
  order: 2;
  margin-top: 20px;
  padding: 1em;
 }

}

@media screen and (max-width: 576px) {

 .policy {
  margin: 0 1em;
 }

 .page-id-361 .content img {
  width: 100%;
 }

 .about .contact {
  margin: 1em 1em 0 1em
 }

 .gallery-photos img {
  height: 200px !important;
 }

 .content h2 {
  font-size: 2.5em;
 }

 .mountain {
  display: none;
 }

 .text-insert {
  width: auto;
 }

 .contact {
  width: 100%;
  margin: 1em auto;
  box-shadow: none;
  padding: 1em;
 }

 .contact div {
  margin: 0;
 }

 .logo {
  width: 3em;
 }

 .sticky+.content {
  margin-top: 19em;
 }

}

@media screen and (max-width: 495px) {

 .site-name {
  font-size: 4em;
 }

}

@media screen and (max-width: 450px) {

 .sticky+.content {
  margin-top: 14em;
 }

 .footer-content {
  padding-top: 0;
 }

 footer {
  padding-top: 1em;
 }

 .connexion {
  align-content: flex-start;
  flex-flow: row wrap;
 }

}
@media screen and (max-width: 290px) {

 .logo {
  margin-top: 1em;
  width: 3.5em;
 }

}