@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  background: #062f83;
  color: #fff;
}

h1 {
  text-align: center;
  text-transform: uppercase;
  margin: 50px 0;
}

#coupes {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
}
#coupes div {
  flex: 0 0 48%;
}

.coupeContainer {
  display: flex;
  padding-bottom: 50px;
  border-bottom: 2px solid white;
}
.coupeContainer .first {
  width: 50%;
}
.coupeContainer .second {
  display: flex;
  flex-direction: column;
  width: 50%;
}

table {
  width: 75%;
  margin: 0 auto;
}
table td {
  padding: 15px 0;
  background: #fff;
  color: #062f83;
  border: 5px solid #062f83;
  text-transform: uppercase;
  font-weight: bold;
  width: 47.5%;
}
table td:nth-child(2) {
  width: 5%;
  background-color: #062f83;
  color: #fff;
}

#sponso {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}
#sponso div.gauche {
  text-align: left;
  flex: 0 0 50%;
}
#sponso div.droite {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  flex: 0 0 50%;
}
#sponso div.droite figure {
  flex: 0 0 25%;
  margin: 0;
  text-align: center;
}

#sponso div.droite figure img {
  max-width: 100%;
  max-height: 150px;
}

body#admin table td {
  padding: 0px;
}
body#admin input {
  color: #062f83;
  padding: 15px;
  border: 0;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  margin: auto;
  width: 100%;
}
body#admin input[type='submit'] {
  width: 20%;
  margin: 50px auto;
  cursor: pointer;
  display: block;
}

@media (max-width:768px) {
  .coupeContainer {
    display: flex!important;
    flex-direction: column!important;
  }
  .first {
      width: 100%!important;
  }

  .second {
      display: flex;
      flex-direction: column!important;
      width: 100%!important;
  }


  #sponso div.gauche, #sponso div.droite {
    flex: 0 0 95%;
    text-align: center;
  }
  #sponso div.gauche figure, #sponso div.droite figure {
    margin: 15px 0;
    flex: 0 0 100%;
  }
}
