/*
Theme Name: Twenty Twenty Child
Theme URI: https://example.com/twenty-twenty-child
Description: Thème enfant de Twenty Twenty
Author: Levy
Author URI: https://example.com
Template: twentytwenty
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwenty-child
*/

@import url("https://fonts.googleapis.com/css2?family=Capriola&display=swap");
:root {
  --orange: rgba(255, 102, 0, 1);
  --yellow: rgba(252, 201, 69, 1);
}

div
  .entry-content
  > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(
    .is-style-wide
  ) {
  max-width: 100%;
  width: 100%;
}

h2 {
  font-weight: 300;
  text-transform: uppercase;
  margin-left: 10px;
}

h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 5px;
  background: rgb(0 0 0 / 15%);
  margin: 30px auto 0;
  position: absolute;
  left: 0px;
}
.menu-modal h2::after {
  display: none;
}
body:not(.overlay-header) .primary-menu ul {
  background-color: rgba(255, 102, 0, 0.2) !important;
}
#site-content .post-inner {
  padding-top: 0%;
}
body > div:nth-child(3) {
  z-index: 1000;
}
.section-inner {
  width: 100%;
}
.e-con > .e-con-inner {
  gap: 20px !important;
}
.e-con.e-flex > .e-con-inner {
  padding: 0 5%;
}
/* HEADER */

.menu-modal {
  z-index: 10000;
}

.modal-menu a:focus,
.modal-menu a:hover,
.modal-menu li.current-menu-item > .ancestor-wrapper > a,
.modal-menu li.current_page_ancestor > .ancestor-wrapper > a {
  text-decoration: none;
}

.modal-menu li {
  border-color: #dcd7ca66;
  text-decoration: none !important;
}

.modal-menu li:last-child {
  border-bottom: none;
}

.modal-menu li a {
  color: var(--orange);
}

.menu-section {
  display: flex;
  align-items: stretch;
  padding: 20px;
}

.menu-title {
  width: 100%;
  margin: 0%;
}

button.close-nav-toggle {
  padding: 0% !important;
}

.header-inner .toggle {
  justify-content: flex-end;
}

.toggle-inner {
  width: 16px;
  filter: invert(1);
}

.toggle-inner .toggle-text {
  color: black !important;
  text-decoration: none;
}

#site-header {
  background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 90%);
}

/* #site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 90%);
  z-index: 1;
}
#site-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.281);
  z-index: 1;
} */
.header-inner {
  position: relative;
  max-width: 95%;
}

#site-header a {
  color: white;
  text-decoration: none;
}
#site-header .icon {
  color: white;
}
#site-header .site-title a {
  font-family: "Capriola";
  letter-spacing: 1px;
  font-weight: normal;
  font-size: 12px;
}
#site-header .custom-logo-link img {
  border: 2px solid #ffffffa8;
  border-radius: 50%;
}
ul.post-meta {
  display: none;
}
body:not(.overlay-header) .primary-menu ul {
  background-color: #e06c2f !important;
}

/* FOOTER */
#site-footer {
  padding-top: 20px;
  padding-bottom: 20px;
  border: 1px solid #ededed;
  margin-top: 0 !important;
}

#site-footer .section-inner {
  display: flex;
  justify-content: center;
}

.footer-credits {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 40px;
}
.footer-credits p {
  margin-bottom: 5px;
  text-align: center;
}
.footer-credits a {
  color: var(--orange);
}
.footer-credits p.footer-legal {
  margin-bottom: 20px;
}

#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 10px 13px;
  font-size: 16px;
  background-color: rgba(255, 102, 0, 1);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  z-index: 9999;
  display: none;
  transition: opacity 0.3s;
}

#back-to-top:hover {
  background-color: rgba(255, 102, 0, 1);
}

/* COMMON CLASSES */

.separator {
  height: 80px !important;
  transform: rotate(-1.7deg) scaleX(1.2) translateY(-35px);
  background: white;
  z-index: 100 !important;
  margin-bottom: -90px !important;
  position: relative;
  top: -5vw;
  left: -5px;
  max-width: unset !important;
  width: 110vw !important;
}

.orange-background {
  background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 90%);
}
.orange-background,
.regular-container {
  padding: 30px 0;
}

.orange-background h2,
.orange-background p,
.orange-background li {
  color: white;
}
.orange-background h2::after {
  background: white;
}
@media (min-width: 700px) {
  .modal-menu li a {
    margin: 0px 20px;
  }
}

@media (min-width: 768px) {
  .section-inner {
    width: 100%;
  }
  .separator {
    height: 110px !important;
    margin-bottom: -110px !important;
    top: -55px;
  }
  #site-header .site-title a {
    letter-spacing: 3px;
    font-weight: normal;
    font-size: 30px;
  }
  .footer-credits p.footer-legal {
    margin-bottom: 5px;
  }
}

@media (min-width: 1024px) {
  .separator {
    top: -45px;
  }
}
