* {
  box-sizing: border-box;
}

body {
  background: linear-gradient(rgba(121, 125, 114, 0.20), rgba(46, 13, 62, 0.30));
  color: rgba(125, 119, 114, 0.8);
  font-family: 'Catamaran', sans-serif;
  font-size: 100%;
  margin: 0;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
}

li {
  list-style-type: none;
}

a {
  color: rgba(125, 119, 114, 0.8);
  text-decoration: none;
}
/* Même règle de hover parceque les liens dans le footer ne sont pas pris en compte par la première */
a:hover {
  color: #c080c0;
}

footer .links:hover a {
  color: #c080c0;
}

a {
  transition: 300ms;
}

a svg {
  fill: rgba(125, 119, 114, 0.8);
  width: 30px;
}

a:hover svg {
  fill: #c080c0;
}

ul {
  padding-left: 0;
}

/*************** TYPO ***************/
h1, h2, h3, h4 {
  font-family: 'Rhodium Libre', serif;
  margin: 0;
  margin-bottom: 20px;
}

p {
  margin: 0;
  margin-bottom: 20px;
}

h1 {
  font-weight: bold;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* UTILITAIRES */
.d-flex {
  display: flex;
  flex-wrap: wrap;
}

.container {
  margin-left: auto;
  margin-right: auto;
  width: 1240px;
}

/*************** NAVIGATION ***************/
.navhead {
  background-color: rgba(223, 223, 223, 1);
  box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, .15);
  display: flex;
  justify-content: space-between;
  position: fixed;
  padding: 10px 0;
  top: 0px;
  width: 100%;
  z-index: 5;
}

.nav-links, .icon-nav {
  align-items: center;
  display: flex;
}

nav a {
  font-size: 1.3rem;
}


#logo-site {
  width: 150px;
}

.menu-nav {
  display: inline-block;
  margin: 0 40px;
}

#logo-nav {
  margin-right: 20px;
}

nav div.container {
  display: flex;
  justify-content: space-between;
}

/*************** FOOTER ***************/
footer {
  background-color: #604060;
}

footer div.container {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

footer div.container a, footer div.container p {
  color: white;
  display: flex;
  flex-direction: row;
}

#logo-footer {
  display: flex;
  width: 170px;
}

.links {
  display: flex;
  flex-direction: row;
  margin-top: 15px;
}

.s-links {
  display: flex;
  flex-direction: row;
}

#social-media ul {
  justify-content: center;
  display: flex;
  margin: 0;
}

#social-media a {
  margin-right: 25px;
}

#social-media a.twitter {
  margin-right: 0;
}

/*************** HEADER ***************/
header {
  background-image: url(../images/bg-header.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 450px;
  margin-top: 70px;
  margin-bottom: 40px;
  position: relative;
  text-align: center;
  z-index: 1;
}

#header-text {
  left: 32%;
  position: absolute;
  top: 15%;
}

a.fav svg.rempli {
  display: none;
}

a.fav:hover svg.pasrempli {
  display: none;
}

a.fav:hover svg.rempli {
  display: inline-block;
}


/*************** PRODUITS ***************/
#mventes {
  text-align: center;
  margin: 0 auto;
}

section#produit {
  justify-content: space-between;
  margin-bottom: 50px;
}

.col:hover {
  box-shadow: 0px 1px 1px 1px #c080c0b0;
  transform: scale(1.06);
}

.col {
  border: 1px solid rgba(125, 119, 114, 0.1);
  border-radius: 0% 0% 10% 10%;
  text-align: center;
  transition: 1.1s;
  width: 24%;
}

.price {
  font-size: 1.5rem;
}

.col:last-child {
  padding right: 0;
}

div h3 {
  width: 80%
}

.fav a {
  width: 20%;
}

.btn-panier:hover {
  background-color: rgba(196, 196, 196, 0.4);
}

.img-produit {
  border-radius: 0% 0% 30% 30%;
  width: 100%;
}

.btn-fproduit {
  border-radius: 20px;
  border: 2px solid rgba(125, 119, 114, 0.8);
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  text-align: center;
}

.btn-panier {
  background-color: rgba(36, 40, 52, 0.3);
  border-radius: 20px;
  border: 2px solid rgba(125, 119, 114, 0.8);
  color: rgba(229, 229, 229, 0.70);
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  transition: 700ms;
  text-align: center;
}

#anchor {
  background-color: white;
  border-radius: 50%;
  bottom: 5%;
  font-size: 2.5rem;
  height: 60px;
  position: fixed;
  right: 1%;
  text-align: center;
  width: 60px;
}

/*************** CATEGORIES ***************/
#equip {
  text-align: right;
  margin-bottom: 40px;
}

#categorie {
  display: flex;
}

#cat-equip, #cat-services {
  align-items: center;
  border: 1px solid rgba(125, 119, 114, 0.9);
  height: 400px;
  position: relative;
  text-align: center;
  width: 50%;
}

#cat-equip {
  background-image: url(../images/equipment2-min.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  margin-right: 20px;
}

#cat-services {
  background-image: url(../images/services-min.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.overlay {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  font-size: 2rem;
  height: 100%;
  justify-content: center;
  left: 0;
  opacity: 0.7;
  position: absolute;
  top: 0;
  width: 100.1%;
}

a:hover .overlay {
  color: white;
}

#cat-equip:hover .overlay, #cat-services:hover .overlay {
  display: flex;
}

/*************** BANDEAU PROMOTIONNEL ***************/
#promo {
  height: 300px;
  margin-top: 60px;
}

.promo-band {
  background-image: url(../images/drone-10-min_auto_x2.jpg);
  background-position: 0 53%;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  filter: opacity(0.5);
}

#newsletter {
  align-items: center;
  color: #e6e7ea;
  display: flex;
  font-size: 1.5rem;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

#newsletter p, .services-logo p {
  margin-bottom: 0;
}

#mail {
  font-size: 1.2rem;
  margin-top: 30px;
}

#mail-field {
  height: 25px;
  margin-bottom: 20px;
  width: 250px;
}

/*************** SERVICES ***************/
#services {
  align-items: center;
  border-top: 1px solid purple;
  border-bottom: 1px solid purple;
  display: flex;
  margin-top: 60px;
  margin-bottom: 60px;
  padding: 20px 0;
}

#services div.container {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

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

.services-logo svg {
  width: 30%;
}
