/* Global variables */
:root {
  --light-primary: #fff;

  --blue-button: rgb(37, 72, 141);
  --blue-image: rgba(37, 72, 141, 0.9);
  --lblue-image: rgba(243, 248, 255, 0.87);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: #f1f1f1;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  padding: 10px;
  color: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1;
}

header ul {
  display: flex;
  list-style: none;
}

header ul li {
  margin-right: 30px;
}

header ul li a {
  color: var(--blue-button);
  text-decoration: none;
  font-weight: 600;
  font-size: large;
  transition: all 0.3s ease 0s;
}

header ul li a:hover {
  color: #000;
  transition: all 0.3s ease 0s;
}


main{
  background-color: var(--light-primary);
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.2em;
  line-height: 1.6;
  /* padding: clamp(10px, calc(20% - 100px), 100px); */
  width: clamp(400px, 100%, 1200px);
}

main section{
  scroll-margin-top: 80px;
  width: 100%;
  padding: 20px 0;
}
main section > *{
  padding: 0 clamp(10px, calc(100% - 1000px), 100px);
}

html {
  scroll-behavior: smooth;
}

h1{
  font-size: 2em;
}
h2{
  font-size: 1.25;
}

#about{
  margin-top: 100px;
}

.contact > * {
  /* border: 2px solid rgb(96 139 168); */
  /* border-radius: 5px; */
  padding: 20px;
  flex: 1 1 0;
}

.contact{
  /* border: 2px dotted rgb(96 139 168); */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* justify-content: left;
  align-items: center;
  width:100%; */
  /* gap: 24px; */
  padding-top: 40px;
  padding-bottom: 40px;
  background-image: url('./images/map.png');
}

.bluebackground{
  color: #fff;
  background-color: var(--blue-image);
}
.whitebackground{
  background-color: rgba(255,255,255,0.9);
}


.bgimage {
  padding-top: 20px;
  padding-bottom: 20px;
  background-blend-mode: normal;
  background-size: cover;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  color: #fff;
  /* filter: contrast(10%) brightness(1)saturate(10); */
}

.presentation{
  background-image: linear-gradient(var(--lblue-image),var(--lblue-image)), url('./images/scott-graham-OQMZwNd3ThU-unsplash.jpg');
  /* font-size: 20px; */
  /* line-height: 1.8; */
  color: #000000;
}

.expertise_apres_sinistre{
  background-image: linear-gradient(var(--blue-image),var(--blue-image)), url('./images/john-FlPc9_VocJ4-unsplash.jpg');
}

.pertes_exploitation{
  background-image: linear-gradient(var(--blue-image),var(--blue-image)), url('./images/sebastian-herrmann-O2o1hzDA7iE-unsplash.jpg');
  background-position: 50% 85%;
  background-attachment: scroll;
}
