@font-face {
  font-family: GOtham_Light;
  src: url("Gotham_Light.otf") format("opentype");
}
@font-face {
  font-family: GOtham_Bold;
  src: url("Gotham_Bold.otf") format("opentype");
}


html{
  height: 100%;
  margin: 0;
  padding: 0;
}
.connexion
{

  display: flex;
  background-size: cover;
  background-repeat: no-repeat;
}
body {
  margin: 0;
  margin-top: 15vh;
  padding: 0;
  font-family:GOtham_Light;
}

.contact_button
{
  display: block;
  margin-top: 5%;
  margin-bottom: 5%;
  background-color: #c29139;
  font-size: 20px;
  font-family: Courgette;
  padding: 1% 2%;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

a
{
  text-decoration: none;
}
a:hover
{
  color:white;
}

.main.aide .gauche a:hover
{
  color:rgb(55, 65, 81)!important;
}
.main.aide .gauche a,
.main.aide .gauche a:visited
{
  color:blue;
}

.login-box {
  margin: auto;
  width: 40%;
  padding: 40px;
  background: rgba(255, 255, 255, 0.5);
  ;
}

.login-box h2 {
  margin: 0 0 30px;
  padding: 0;
  color: #c29139;
  text-align: center;
  font-weight: bold;
}

.login-box .user-box {
  position: relative;
}

.login-box .user-box input {
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  color: #F1EEE6;
  margin-bottom: 30px;
  border: none;
  border-bottom: 1px solid #F1EEE6;
  outline: none;
  background: transparent;
}

.login-box .user-box label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 0;
  font-size: 16px;
  color: black;
  pointer-events: none;
  transition: .5s;
  font-weight: bold;
}

.login-box .user-box input:focus ~ label, .login-box .user-box input:valid ~ label {
  top: -20px;
  left: 0px;
  color: #c29139;
  font-size: 12px;
}


.login-box button {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  color: white;
  font-size: 16px;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  transition: .5s;
  margin-top: 40px;
  letter-spacing: 4px;
  width: 100%;
  background-color: #c29139;
  border: none;
  font-weight: bold;
}

.login-box button:hover {
  background: #c29139;
  color: #F1EEE6;
  border-radius: 5px;
  box-shadow: 0 0 5px #c29139, 0 0 25px #c29139, 0 0 50px #c29139, 0 0 100px #c29139;
}

.login-box button span {
  position: absolute;
  display: block;
}

.login-box button span:nth-child(1) {
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, white);
  animation: btn-anim1 1s linear infinite;
}

@keyframes btn-anim1 {
  0% {
    left: -100%;
  }
  50%,100% {
    left: 100%;
  }
}

.login-box span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, white);
  animation: btn-anim2 1s linear infinite;
  animation-delay: .25s;
}

@keyframes btn-anim2 {
  0%{
    top: -100%;
  }
  50%,100% {
    top: 100%;
  }
}

.login-box span:nth-child(3){
  bottom: 0;
  tight: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, white);
  animation: btn-anim3 1s linear infinite;
  animation-delay: .5s;
}

@keyframes btn-anim3 {
  0%{
    right: -100%;
  }
  50%,100% {
    right: 100%;
  }
}

.login-box span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, white);
  animation: btn-anim4 1s linear infinite;
  animation-dealy: .75s;
}

@keyframes btn-anim4 {
  0% {
    bottom: -100%;
  }
  50%,100% {
    bottom: 100%;
  }
}

.main,
.connexion
{
  width: 100%;
  min-height: 60vh;
  background-color: #E8E8E8;
  position: relative;
  z-index: 4;
}
.aide
{
  display:flex;
}
.gauche,
.droite
{
  width:50%;
  padding: 2% 5%;
}
.gauche h3,
.droite h3
{
  font-size:40px;
}
.gauche p,
.droite p
{
  font-size:20px;
}
.connexion
{
  position: relative;
}

h1,
h2,
h3,
h4
{
  font-family:GOtham_bold;
}


@media screen and (orientation: portrait) and (max-width:1365px) {
  .connexion,
  .main
  {
    min-height: 35vh;
  }
  .login-box
  {
    width:85%;
  }
  .login-box,
  .login-box .user-box input,
  .login-box button,
  .login-box .user-box label
  {
    font-size:25px;
  }
  .login-box .user-box input:focus ~ label, .login-box .user-box input:valid ~ label {
    top: -30px;
    left: 0px;
    color: #c29139;
    font-size: 20px;
}
.gauche p, .droite p {
    font-size: 27px;
}
.contact_button
{
  font-size: 35px;
}

}
