body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-size: 20px;
}
.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

header {
    background: url('images/bg.jpg');
    background-repeat: no-repeat;
    padding: 30px 0  10px 0;
    text-align: center;
}

main {
    display: flex;
    align-items: center;
    padding: 3%;

}

footer {
    background-color: blanchedalmond;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    text-align: center;
}


.content {
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1{
    font-size: 2rem;
    
}

.button {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 10rem;
  color: #fff;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: .15rem;
  transition: all .3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
  margin: 40px;
  
}
.button:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0cf;
  border-radius: 10rem;
  z-index: -2;
}
.button:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #008fb3;
  transition: all .3s;
  border-radius: 10rem;
  z-index: -1;
}
.button:hover {
  color: #fff;
}
.button:hover:before {
  width: 100%;
}

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

    
    main {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .logo-gm {
       width: 50%;
    }
    .titre {
        width: 80%;
    }
    h1, h2 {
        font-size: 1.3rem;
        text-align: left;
    }
    
    p {
        text-align: left;
    }
    footer p {
        font-size: 0.8rem;
    }
    .button {
        font-size: 0.8rem;
    }
}