/*
Theme Name: Amelie Barbier
Author: Alexandre BECAVIN
Author URI: https://www.linkedin.com/in/alexandre-becavin/
Description: Theme custom pour la société de thérapie d'Amelie Barbier
Version: 1.0
*/

:root {
  --background: #ffffff;
  --background-secondary: #f4fafb;
  --background-tertiary: #f3f3f3;
  --primary: #017679;
  --primary-light: #008588;
  --primary-very-light: #88c7bc;
  --secondary: #e3997e;
  --secondary-light: #ffe4db;
  --text-primary: #000000;
  --text-secondary: #ffffff;
}

* {
  box-sizing: border-box;
  color: var(--text-primary);
}

html {
  overflow-x: hidden;
}

body {
  background-color: var(--background);
  font-family: Helvetica;
  padding: 0;
  margin: 0;
  /* overflow-x: hidden; */
}

section {
  width: 80%;
  margin: auto;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 3rem;
  background-color: var(--secondary);
  border: 2px solid var(--secondary);
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: bold;
}

.btn-secondary {
  background-color: var(--background);
  border: 2px solid var(--secondary);
  color: var(--secondary);
}

.bg-black {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.container-title {
  min-height: 20rem;
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-title img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container-title .title {
  max-width: 60rem;
  padding: 2rem;
  width: auto;
  position: relative;
}

.container-title h1 {
  color: white;
  margin-bottom: 0.8rem;
}

.container-title hr {
  width: 3rem;
  background: var(--secondary);
  margin-left: 0;
  height: 2px;
  border: none;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.badges .badge {
  margin: 1rem 0rem;
  background-color: var(--background-tertiary);
  border-radius: 1rem;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  width: calc(50% - 1rem);
}

.badges .badge .bg-icon {
  width: 5rem;
  height: 5rem;
  background-color: var(--secondary-light);
  border-radius: 1rem;
  display: inline-flex;
  padding: 1rem;
  margin-right: 2rem;
}

.badges .badge p {
  text-align: justify;
}

.default-template {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.end-section {
  margin-top: 5rem;
  margin-bottom: 4rem;
}

.single_page, .article_blog {
  padding-top: 4rem;
  min-height: calc(100dvh - 20rem - 84px - 260px);
}

@media screen and (max-width: 1500px) {
  section {
    width: 85%;
    margin: auto;
  }
}

@media screen and (max-width: 1200px) {
  .badges .badge {
    padding: 0.5rem 1rem;
  }

  .badges .badge .bg-icon {
    width: 4rem;
    height: 4rem;
    padding: 0.8rem;
    margin-right: 1rem;
  }
}

@media screen and (max-width: 800px) {
  section {
    width: 90%;
    margin: auto;
  }

  .badges .badge {
    width: 100%;
  }

  .single_page, .article_blog {
    min-height: calc(100dvh - 48.4rem);
  }
}
