/**********Typos************/

@font-face {
  font-family: "OpenSans";
  src: url("./police/OpenSans-Regular.ttf") format("ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "OpenSans";
  src: url("./police/OpenSans-Semibold.ttf") format("ttf");
  font-weight: 600;
}

@font-face {
  font-family: "OpenSans";
  src: url("./police/OpenSans-Bold.ttf") format("ttf");
  font-weight: 700;
}

/**********Focus************/
*:focus {
  outline: 1px solid rgba(24, 21, 230, 0.8) !important;
  border: 2px solid white !important;
  border-radius: 4px !important;
}

.btn-success:focus {
  background-color: #6bc024;
}

.btn-primary:focus {
  background-color: #0274bb;
}

/**********Page************/

body {
  font-family: "OpenSans", sans-serif;
  color: #001931;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1 .fw-bold {
  font-family: "OpenSans", sans-serif;
  font-weight: 700;
  color: white;
  font-size: 3.5rem;
  margin: 0;
}

p .lead {
  color: white;
  font-weight: 300;
  margin-bottom: 0 !important;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-weight: 700;
}

header {
  background-image: url(./img/header.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

footer {
  background-color: #0274bb;
  padding-top: 0 !important;
}

/**********Specific elements************/

.header-title p {
  font-size: 1.6rem;
}

#welcome_message {
  margin: 50px 0 50px 0;
}

.container-footer-bottom a,
.container-footer-bottom p {
  color: white;
  font-size: 0.8125rem;
  font-weight: 700;
  margin: 0;
}

.container-footer-bottom img {
  padding-bottom: 10px;
}

.container-footer-bottom {
  padding: 30px 0;
  height: auto;
  align-items: center;
}

.vr {
  border: 0.5px solid white;
}

.bg-light {
  background-color: #e6f1f8 !important;
}

.card {
  height: 430px;
  border-radius: 20px;
  border: 1px solid #e6f1f8;
  box-shadow: 0 8px 14px -5px rgba(0, 0, 0, 0.12) !important;
}

.card-img-top {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.image-overlay {
  position: relative;
  display: inline-block;
}

.image-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.btn {
  font-weight: 700;
  padding: 14px 0 14px 0;
  border-radius: 8px;
}

.btn-primary {
  background-color: #0274bb;
  border: none;
}

.btn-primary:hover {
  background-color: #2391d4;
}

.btn-success {
  background-color: #6bc024;
  border: none;
}

.btn-success:hover {
  background-color: #74d425;
}

.card-body {
  margin: 0 30px 0 30px;
}

.picto-facebook {
  width: 30px;
}

/**********Breakpoint - Responsive Mobile ************/

@media (max-width: 992px) {
  .card-body {
    margin: 0;
  }
  .btn {
    padding: 10px 0 10px 0;
  }
}

@media (max-width: 767px) {
  .row {
    gap: 20px;
  }
  .card {
    height: auto;
  }
  .picto-card-top {
    width: 10%;
  }
  .picto-second {
    width: 20%;
  }
  .header-title p {
    font-size: 1.1rem !important;
  }
  .container-footer-bottom {
    display: block !important;
    height: auto;
    padding: 15px 0;
  }
  .container-footer-bottom .vr {
    visibility: hidden;
  }
}

/**********Breakpoint - Responsive pc************/

@media (max-width: 1200px) {
  .btn img {
    display: none;
  }
  .card {
    height: 500px;
  }
}

/**********Breakpoint - Responsive Tablet************/

@media (max-width: 1024px) {
  header .container {
    flex-direction: column;
    gap: 1rem !important;
    text-align: center;
  }

  .header-title p {
    font-size: 1.3rem;
  }

  .header-title {
    align-items: center !important;
  }

  header .container img {
    width: 60%;
  }
  .btn img {
    display: none;
  }
  .card {
    height: auto;
  }
}
