@import url('https://fonts.googleapis.com/css?family=PT+Sans');

/* CSS Variables */
:root {
  --primary-color: #d94747;
  --primary-color-hover: #d3071b;
  --secondary-color: #3D5975;
  --secondary-color-hover: #143f85;
  --light-color:#ffffff;
  --title-color: #000000;
}
@font-face {
  font-family: 'Avenir';
  font-style: normal;
  font-weight: normal;
  src: url('AvenirLTStd-Medium.woff') format('woff');
  }
  
body {
  font-family: 'Avenir','Helvetica','PT Sans', sans-serif;
  background-color: #252529;
  margin: 0;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

img {
  width: 100%;
}

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

/* Section */
.section {
  padding: 2rem 0;
  width: 100%
}

.section-main h1{
  text-align: center;
  padding-top: 250px; 
}
.section-main i {
  font-size: 4rem;
  color: var(--primary-color);
}
.section-main i:hover {
  font-size: 6rem;
  transition: font-size 0.5s ease-in-out;
}

.section-head {
  font-size: 2.5rem;
  margin: 0;
}

.section h3 {
  font-size: 2rem;
}

section#entertainment {
  background: url(../img/bateau-avion.jpg) no-repeat bottom/cover;
  background-attachment: fixed;
  position: relative;
  padding: 10rem 0;
  height: 150vh;
}

.gift-cards {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  text-align: left;
}

/* Showcase */
#showcase {
  margin: 0;
  padding: 0;
  background: url('../img/bateau.jpg') no-repeat center/cover;
  background-attachment: fixed;
  width: 100%;
  height: 100vh;
  position: relative;
  overflow-y: hidden;
}

#showcase .container {
  margin-top: 25vh;
}

#showcase h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 0;
  color: #ffffff;
  font-weight: bold;
  top: 100px;
}

/* Footer */
footer .footer-cols {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  padding: 2rem;
  text-align: left;
  font-size: 14px;
}

footer .footer-cols ul {
  list-style: none;
}

footer .footer-cols ul li:first-child {
  font-size: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: #ffffff solid 1px;
  margin-bottom: 1rem;
}

footer .footer-bottom {
  background: #ffffff;
  padding: 1rem;
}

/* Utility Classes */
.container {
  max-width: 1180px;
  text-align: center;
  margin: 0 auto;
  padding: 0 3rem;
}

.lead {
  font-size: 1.3rem;
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  padding: 1rem;
  color: #ffffff;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-color);
}

.btn-primary:hover {
  background: var(--primary-color-hover);
}

.btn-secondary {
  background: var(--secondary-color);
}

.btn-secondary:hover {
  background: var(--secondary-color-hover);
}

/* Text colors */
.title-primary {
  position: relative;
  display: inline-block;
  font-size: 4em;
  font-weight: 300;
  margin: 0 0 30px 0;
  color: var(--title-color);
  z-index: 0;
}
.title-primary:after {
  transition: 500ms;
    -webkit-transition: 0.5s;
    position: absolute;
    content: '';
    top: 100%;
    height: 10px;
    width: 50px;
    left: 0;
    right: 0;
    margin: 30px auto;
    background: var(--primary-color);
}

.title-primary:hover::after {
  width: 100%;
  transition-duration: 500ms;
  
}

.title-secondary {
  color: var(--secondary-color);
  font-size: 1rem;
  padding: 20px 20px;
  text-align: start;
}

.text-light {
  color: var(--light-color);
}

.bg-light {
  background: #ffffff;
  color: #ffffff;
}
.bg-grey  {
  background: rgba(247, 247, 247, 1);
}
.mb {
  margin-bottom: 1rem;
}

.mt {
  margin-top: 1rem;
}

/* Navigation */

nav {
  height: 100px;
  width: 100%;
  background-color: var(--light-color);
  color: #333;
  position: fixed;
  padding: 0 0;
  z-index: 2;
  box-shadow: 0px 5px 6px black;
}

nav ul{
  
  padding: 0;
  margin: 0;
}
nav ul .li{
  padding: 0px;
  margin: 0;
}
nav li {
  display: inline;
  float: right;
  padding-right: 10px; 
}
.logo {
  height: 100px;
  width: 300px;
  background-color: var(--primary-color);
  float: left;
  color: var(--light-color);
  text-align: center;
  
}

.logo img{
  float: left;
  width: 47px; height: 49px; object-fit: contain;
}
.logo p {
  font-size: 23px;
}
nav a {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  padding: 10px 0;
  color: #333;
  text-decoration: none;
  border-top: 2px solid #333;
  text-decoration: none;
  text-decoration-style: none;
  font-size: 14px;
  font-weight: lighter;
}

nav a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}
nav a:focus {
  color: #d94747;
  border-top-color: #d94747;
}

nav a#openup {
  display: none;
}
#mdr {
  display: inline-block;
  width: 40px;
  text-align: center;
  text-decoration: none;
  padding: 10px 0;
  color: #333;
  text-decoration: none;
  text-decoration: none;
  text-decoration-style: none;
  border-top: none;
}


#mdr a {
  text-decoration: none;
  color: #000000;
}

#mdr a:hover {
  color: #222222
}

/* Dropdown */

.dropdown {
  display: inline-block;
  position: relative;
}

.dd-button {
  display: inline-block;
  border-bottom: 1px solid gray;
  border-radius: 4px;
  padding: 10px 30px 10px 20px;
  background-color: #ffffff;
  cursor: pointer;
  white-space: nowrap;
}

.dd-button:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid black;
}

.dd-button:hover {
  background-color: #eeeeee;
}


.dd-input {
  display: none;
}

.dd-menu {
  position: absolute;
  top: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0;
  margin: 2px 0 0 0;
  box-shadow: 0 0 6px 0 rgba(0,0,0,0.1);
  background-color: #ffffff;
  list-style-type: none;
}

.dd-input + .dd-menu {
  display: none;
} 

.dd-input:checked + .dd-menu {
  display: block;
} 

.dd-menu li {
  padding: 10px 20px;
  cursor: pointer;
  white-space: nowrap;
}


.dd-menu li a {
  display: block;
  padding: 10px 20px;
}

.dd-menu li.divider{
  padding: 0;
  border-bottom: 1px solid #cccccc;
}

/* Cards Section */
.card-title {
  text-align: left;
  font-size: 1rem;
  padding: 30px 0 30px 0; 
}

/* after cards section */
.container-bottom-right{
  width: 800px;
  height: 800px;
  background-color: rgba(255, 255, 255, 0.6);
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 50px 0 50px 200px;
  color: #000000
}
.container-bottom-right h2{
  font-weight: bold;
  font-size: 2rem;
}
.container-bottom-right p{
  font-weight: 100;
}

.container-bottom-left {
  width: 408px;
  height: 482px;
  background-color: var(--primary-color);
  position: absolute;
  bottom: 0;
  left: -40%;
  padding: 100px 0px 50px 50px;
}
.container-bottom-left div {
  position: absolute;
  color: #ffffff;
}
.container-bottom-left div h1 {
  float: left;
  width: 50px;
  font-size: 9rem
}
.container-bottom-left div h3 {
  bottom: 0;
  margin-top: 100px;
}

/* Confiance section */
.confiance {
  padding: 70px 0;
}
.confiance-p {
  padding: 50px 0;
  color: #333;
  font-size: 22px;
  line-height: 1.9;
}
section.confiance-next {
  background: url(../img/camion.jpg) no-repeat bottom/cover;
  background-attachment: fixed;
  position: relative;
  height: 150vh;
}

.confiance-container-bottom-right{
  width: 1000px;
  height: 600px;
  background-color: rgba(255, 255, 255, 0.6);
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 50px 200px 50px 50px;
  color: #000000;
  font-size: 22px;
}
.confiance-container-bottom-right h2{
  font-weight: bold;
  font-size: 2rem;
}
.confiance-container-bottom-right p{
  font-weight: 100;
  font-size: 22px;
}

.confiance-container-bottom-left {
  width: 350px;
  height: 382px;
  background-color: var(--primary-color);
  position: absolute;
  bottom: 0;
  right: -25%;
  padding: 20px 20px;
  z-index: 1;
}
.confiance-container-bottom-left {
  position: absolute;
  color: #ffffff;
  font-size: 22px;
}
.confiance-container-bottom-left div h1 {
  float: left;
  width: 50px;
  font-size: 9rem
}
.confiance-container-bottom-left div h3 {
  bottom: 0;
  margin-top: 100px;
  overflow-x:hidden;
}
.confiance-container-bottom-left ul {
  padding: 50px 20px; 
  font-size: 22px;
}
.confiance-container-bottom {
  position: absolute;
  
  left: 20px;
  padding: 50px 50px;
  color: #5B86B0;
  font-size: 22px;
}
.row.justify-content-center{
  margin-left: 80px;
}
.hide-on-big{
  display: none;
}

#Contact {
  padding: 100px 0px 100px 0px;
  height: 120vh;
  width: 100%;
  background-color: #d94747;
}
#contact-div {
  padding: 30px 15px;
  text-align: center;
  display: block;
  
}

#contact-form {
  max-width: 500px;
  margin: auto;
  padding-top: 50px;
  
}
#contact-form input, #contact-form textarea {
  display: block;
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: none;
  margin-bottom: 10px;
  background: #ffffff;
  color: #333;
  transition: .5s ease all;
}
#contact-form button {
  display: block;
  width: 100%;
  background: #ffffff;
  border-radius: 4px;
  padding: 5px 10px;
  border: none;
  color: #d94747;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: .5s ease all;
}
.info {
  text-align: start;
  padding: 15px 60px;
}
.contact-local{
  padding: 30px 30px;
  border-left:5px solid #ffffff;
}
.pad-image {
  padding: 50px 50px;
}

.cf:before,
.cf:after {
  content: '';
  display: table;
}

.cf:after {
  clear: both;
}

.cf {
  zoom: 1;
}

#ctt {
  width: 120px;
}
.card {
  width:20rem;
  margin:60px 0 24px 0;
  height: 95%;
}
@media screen and (max-width: 580px) {
  body, html { overflow-x:hidden; }
  .hide-on-small {
    display: none;
  }

  #showcase {
    height: 50vh;
  }

  #showcase .container {
    margin-top: 15vh;
  }

  #showcase h1 {
    font-size: 3rem;
  }

  #showcase h2 {
    font-size: 1.5rem;
  }

  nav {
    height: auto;
    border-bottom: 0;
  }
  nav ul {
    display: none;
    height: auto;
  }
  nav li {
    width: 100%;
    float: left;
    position: relative;
  }
  nav a {
    text-align: left;
    width: 100%;
    text-indent: 25px;
    background: var(--light-color);
    border-bottom: 1px solid #555;
    border-top: none;
  }
  nav a:hover {
    background: #444;
  }
  nav a#openup:after {
    content: '|||';
    transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    /* IE 9 */
    -webkit-transform: rotate(-90deg);
    /* Safari and Chrome */
    width: 30px;
    height: 30px;
    display: inline-block;
    position: absolute;
    right: 5px;
    top: 20px;
  }
  nav a#openup {
    margin: 10px 0;
    display: block;
    background-color: var(--light-color);
    width: 100%;
    position: relative;
  }


  .logo {
    margin-bottom: 10px;
    width: 100%;
  }
  #ptdr {
    width: 200px;
  }
  #acceuil h1 {
    position: absolute;
    top: 50%;
    padding: 0;
    left: 10%;
    font-size: 2rem;
  }
  .title-primary{
    padding: 0;
    font-size: 2rem;
    font-weight: bold;
  }
  #Transport .container{
    padding: 0;
  }
  .row.justify-content-center{
    margin-left: 0;
  }

  .container-bottom-right{
    width: 60%;
    height: 50%;
  }
  .container-bottom-left{
    width: 80%;
  }
  .hide-on-big{
    display: block;
  }
  .confiance-p {
    font-size: 1rem;
  }
  .white{
    color: #ffffff;
  }
  .confiance-container-bottom-left{
    position: absolute;
    bottom: 30%;
    right: 10%;
    padding: 10px 20px;
    margin: 0;
    height: 400px;
    width: 80%;
  }
  #Contact {
    padding: 0;
  }
  
  .contact-local{
    margin: auto;
    padding: 0 50px;;
  }
  .contact-local iframe {
    height: 400px;
    width: 350px;
    padding: 0;
  }
  #contact-div {
    
    margin: 0 50px;
  }
  .card {
    margin: 30px 30px;
  }
  #logo {
    margin-bottom: 10px;
    width: 500px;
  }
}




@media screen and (max-width: 780px) {
  body, html { overflow-x:hidden; }
  .gift-cards {
    grid-template-columns: 1fr;
  }

  footer .footer-cols {
    display: none;
  }
  #ptdr {
    width: 200px;
  }
}

@media screen and (max-height: 580px) {
  #showcase p.lead {
    display: none;
  }
}
