@charset "UTF-8";
/*
Theme Name: spielact
Theme URI: https://pompon.solutions
Author: Pompon Solutions
Author URI: https://pompon.solutions
Version: 666
Description: petit thème fait maison
*/
a {
  color: black;
  text-decoration: none;
}

a:hover {
  color: black;
}

button {
  transition: background-color 0.4s;
  font-weight: 500;
  font-size: 2em;
  border: 1px solid black;
  border-radius: 0.1em;
  font-family: 'Baikal';
}

button:hover {
  cursor: pointer;
  background-color: #FFF100;
}

.wp-block-button__link, .wp-element-button {
  border-radius: 0px !important;
  transition: background-color 0.4s;
  font-weight: 600;
  border: 1px solid black;
  border-radius: 0.1em;
  font-family: 'Baikal';
  background-color: #e3d9da;
  color: black;
  font-size: 1rem;
}

.wp-block-button__link:hover, .wp-element-button:hover {
  background-color: #FFF100;
}

.wpcf7-form input, .wpcf7-form textarea {
  font-family: 'Baikal';
  padding: 5px;
  border: 1px solid black;
  width: calc(100% - 15px);
}

.wpcf7-form input[type=submit] {
  background-color: #e3d9da;
  transition: background-color 0.4s;
  font-size: 1em;
  width: auto;
  margin-top: 5px;
  font-weight: 600;
}

.wpcf7-form input[type=submit]:hover {
  background-color: #FFF100;
  cursor: pointer;
}

p {
  line-height: 1.5em;
  font-size: 1.1em;
}

#overlay {
  background-color: rgba(227, 217, 218, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
}

#overlay #popup-wrapper {
  position: relative;
  top: 10%;
  height: 80vh;
  width: 60vw;
  display: none;
  border: 2px solid black;
  font-size: 1.2em;
  margin: auto;
  z-index: 100;
  background-color: white;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
}

#overlay #popup-wrapper .close {
  position: absolute;
  right: 0;
  top: 0;
  width: 45px;
  height: 45px;
  border-left: 2px solid black;
  border-bottom: 2px solid black;
  padding: 5px;
  text-align: center;
  font-size: 2em;
  background-color: white;
  transition: background-color 0.4s;
}

#overlay #popup-wrapper .close:hover {
  background-color: #FFF100;
  cursor: pointer;
}

#overlay #popup-wrapper #popup-inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: scroll;
  overflow-x: hidden;
}

#overlay #popup-wrapper #popup-inner .popup-thumbnail {
  object-fit: cover;
  aspect-ratio: 16/9;
  width: 100%;
}

#overlay #popup-wrapper .popup-main {
  padding: 15px;
}

#overlay #popup-wrapper .popup-main .popup-title {
  margin: 0;
}

#overlay #popup-wrapper.is-active {
  display: flex;
  opacity: 1;
}

#overlay.is-active {
  display: block;
  z-index: 2;
  opacity: 1;
}

#overlay.is-active.popup {
  z-index: 15;
}

.hidden-content {
  display: none;
}

.lien-inscription {
  padding: 0 5px;
  margin-top: -2px;
  background-color: #e3d9da;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
  transition: background-color 0.4s;
}

.lien-inscription:hover {
  background-color: #FFF100;
}

#inscriptions-wrapper {
  background-color: #FFF100;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
}

#inscriptions-wrapper p {
  display: flex;
  flex: 1;
  gap: 15px;
}

#inscriptions-wrapper p .wpcf7-form-control-wrap {
  display: flex;
  flex: 1;
}

#inscriptions-wrapper p label {
  font-weight: 600;
  font-size: 0.8em;
}

#inscriptions-wrapper p select {
  background-color: white;
  border: 1px solid black;
  font-family: 'Baikal';
  padding: 5px;
  flex: 1;
}

#inscriptions-wrapper p textarea {
  height: 60px;
}

#inscriptions-wrapper .titre-inscription-wrapper {
  width: 100%;
  background-color: white;
  padding: 0;
  padding: 5px 20px;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
  height: 45px;
}

#inscriptions-wrapper .titre-inscription-wrapper .titre-inscription {
  margin: 0;
  padding: 10px 15px;
}

#inscriptions-wrapper .titre-inscription-wrapper:first-of-type {
  border-top: 0;
}

#inscriptions-wrapper .inscription {
  max-width: 80%;
  flex: 1;
  align-content: center;
}

@font-face {
  font-family: 'Baikal';
  src: url("fonts/Baikal-Expanded.woff2") format("woff2"), url("fonts/Baikal-Expanded.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Baikal';
  src: url("fonts/Baikal-ExpandedBold.woff2") format("woff2"), url("fonts/Baikal-ExpandedBold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Baikal';
  src: url("fonts/Baikal-ExpandedSemiBold.woff2") format("woff2"), url("fonts/Baikal-ExpandedSemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Baikal';
  src: url("fonts/Baikal-ExpandedItalic.woff2") format("woff2"), url("fonts/Baikal-ExpandedItalic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Baikal';
  src: url("fonts/Baikal-ExpandedMedium.woff2") format("woff2"), url("fonts/Baikal-ExpandedMedium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
