/*
Theme Name: Sensei X
Theme URI: https://www.simonebaldassin.com/senseis2-theme/
Author: Simone Baldassin
Author URI: https://simonebaldassin.com
Description: Sensei X - A starter theme for WordPress
Version: 1.0.0
Tested up to: 6.8
Requires PHP: 8.2
Text Domain: sensei-x
*/

/* WordPress core */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.wp-block-button.aligncenter {
  display: inline-block;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid var(--grey);
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important; 
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Accessibility act reader */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Gutenberg */
.wp-block-button {
  display: inline-block;
}

.img-after {
  position: relative;
}

.img-after::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: -20px;
  right: -20px;
  background-color: var(--hover);
  border-radius: 30px;
  z-index: -1;
}

.bg-line .wp-block-cover__background,
.wp-block-group.bg-line {
  background-image: url(img/bg-line.png);
  background-repeat: no-repeat;
}

.wp-block-group.bg-line {
  background-position: 0 -50px;
}

.border-dash {
  border: 1px dashed var(--light);
}

.border-rounded img {
  padding: 20px;
  border: 1px dashed var(--light);
  border-radius: 50%;
}

.lightbox-trigger {
  display: none !important;
}

/* CSS Starter */
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/poppins-v23-latin-regular.woff2') format('woff2'); 
}

@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/poppins-v23-latin-700.woff2') format('woff2'); 
}

:root {
  --primary: #055F5F;
  --secondary: #1A8E8E; 
  --light: #FFFFFF;
  --dark: #333333;
  --grey: #EDE6DE;
  --p: #333333; 
  --hover: #CCBB9F;
  --input: #BBBBBB;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

:focus {
  outline: 2px solid var(--hover);
  border-radius: 6px;
  transition: outline 0.2s ease-in-out;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--hover);
  border-radius: 6px;
}

img {
  border: none;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-radius: 30px;
}

a:not(.brand) img {
  margin-bottom: 20px;
}

input:-webkit-autofill {
  box-shadow: inset 0 0 0 9999px white;
  -webkit-box-shadow: inset 0 0 0 9999px white;
}

input:-webkit-autofill:focus {
  box-shadow: 0 0 0 50px white inset;
  -webkit-box-shadow: 0 0 0 50px white inset;
}

body,
input,
textarea,
select,
button {
  font-family: 'Poppins', sans-serif;
}

.content {
  width: 1160px;
  margin: 0 auto;
}

.wrapper {
  max-width: 40%;
  margin: 0 auto;
}

.divider {
  padding: 20px 0;
}

.spacer {
  padding: 70px 0;
}

.responsive {
  width: 100%;
  height: auto;
}

.center {
  text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  word-wrap: break-word;
}

a {
  text-decoration: none;
  -webkit-transition: .3s all ease-out;
  transition: .3s all ease-out;
}

main a:not(header a, .wp-block-cover a) {
  color: var(--primary);
}

main a:not(header a, .wp-block-cover a):hover {
  color: var(--dark);
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: var(--primary) !important;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
  color: var(--secondary) !important;
}

.shadow img {
  box-shadow: 0 3rem 2rem -1rem rgb(0 0 0 / 25%);
}

.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

.p20 {
  padding: 20px;
}

.p40 {
  padding: 40px;
}

.pt70 {
  padding-top: 70px;
}

.pt120 {
  padding-top: 120px;
}

/* Grid System */
.flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.col-1 {
  width: 8.33333%;
}

.col-2 {
  width: 16.6666%;
}

.col-3 {
  width: 25%;
}

.col-4 {
  width: 33.33333%;
}

.col-6 {
  width: 50%;
}

.col-8 {
  width: 66.666666%;
}

.col-10 {
  width: 83.3333%;
}

/* Button */
.button,
[type=submit],
[type=reset],
[type=button],
.wp-block-button__link,
.is-style-outline > .wp-block-button__link {
  display: inline-block;
  padding: 14px 50px !important;
  font-size: 15px;
  text-decoration: none !important;
  color: var(--light);
  font-weight: 700;
  border: 1px solid var(--primary) !important;
  border-radius: 30px !important;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  background-color: var(--primary);
}

[type=submit] {
  color: var(--light);
  cursor: pointer;
}

input[type=submit] {
  -webkit-appearance: button;
  appearance: button;
}

.button:hover,
[type=submit]:hover {
  color: var(--light);
  background-color: var(--dark);
  border-color: var(--dark);
}

.wp-block-button__link,
.is-style-outline .wp-block-button__link {
  color: var(--light) !important;
}

.wp-block-cover .wp-block-button__link,
.wp-block-cover .is-style-outline .wp-block-button__link {
  color: var(--light) !important;
}

.wp-block-button__link:hover,
.is-style-outline .wp-block-button__link:hover {
  color: var(--light) !important;
  background-color: var(--dark);
  border-color: var(--dark);
}

/* Whatsapp */
.whatsapp {
  width: 52px;
  height: 52px;
  font-size: 24px;
  background-color: var(--secondary);
  color: var(--light);
  text-align: center;
  line-height: 52px;
  border-radius: 50%;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99997;
}

.whatsapp a {
  color: var(--light);
  text-decoration: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 20px;
}

h1 {
  font-size: 60px;
  line-height: 72px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 14px;
}

h5 {
  font-size: 14px;
}

h6 {
  font-size: 13px;
}

p {
  color: var(--p);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 20px;
}

ul,
ol:not(.wp-block-latest-comments) {
  color: var(--p);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  padding-bottom: 20px;
  padding-left: 1rem;
}

label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

blockquote {
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  color: var(--p);
  border-left: 5px solid var(--grey) !important;
  padding-left: 30px;
  line-height: 28px;
  margin-bottom: 20px;
}

.wp-block-pullquote blockquote {
  border-left: none;
  border-top: 5px solid var(--grey);
  border-bottom: 5px solid var(--grey);
  padding: 30px;
}

figcaption {
  color: var(--p) !important;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 28px;
  font-style: italic;
}

.blocks-gallery-item__caption {
  color: var(--light) !important;
}

fieldset {
  border: 1px solid var(--primary);
  padding: 15px;
}

legend {
  color: var(--dark);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

th,
td {
  border: none !important;
  padding: 14px !important;
}

td {
  font-weight: 400;
  font-size: 16px;
}

tbody th {
  font-weight: 400;
  text-align: left;
  color: var(--light);
}

tr:nth-child(even) {
  background: var(--light);
}

tr:nth-child(odd) {
  background: var(--grey);
}

dl {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  color: var(--p);
}

dt {
  font-size: 16px;
  font-weight: 400;
}

dd {
  padding-left: 16px;
}

address,
kbd {
  font-size: 16px;
  font-weight: 400;
  color: var(--p);
}

address {
  margin-bottom: 20px;
}

code {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-style: italic;
}

pre {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  margin-bottom: 20px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Header */
header {
  width: 96%;
  position: absolute;
  top: 25px;
  left: 0;
  z-index: 99998;
  padding: 10px 30px;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  background: var(--light);
  margin: 0 2%;
  box-shadow: 0 7px 10px rgba(0, 0, 0, .12);
  border-radius: 20px;
}

.sticky-menu {
  position: fixed;
  padding: 5px 30px;
}

.brand img {
  width: 140px;
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 99998;
  border-radius: 0;
}

/* Nav */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu {
  list-style: none;
  display: flex;
  flex-direction: row;
  padding-bottom: 0;
}

.menu li {
  font-size: 13px;
  font-weight: 700;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.menu li .fa-brands {
  font-size: 18px;
}

.menu .menu-item-has-children > a::after {
  content: ' \f0d7';
  font-family: FontAwesome;
}

.menu .sub-menu .menu-item-has-children > a::after {
  content: '' !important;
}

.menu a {
  display: inline-block;
  padding: 10px 12px;
  font-weight: 700;
  text-decoration: none;
  color: var(--dark);
}

.menu a:hover {
  color: var(--hover);
}

.current-menu-item > a::after {
  position: absolute;
  content: "";
  width: 70%;
  height: 20px;
  top: 13px;
  left: 15px;
  bottom: 28px;
  background-color: var(--hover);
  opacity: 0.35;
  border-radius: 30px;
  z-index: -1;
}

.menu .menu-item-has-children .sub-menu {
  list-style: none;
  flex-direction: column !important;
  position: absolute;
  top: 60px;
  left: 0;
  z-index: 99998;
  background: var(--light);
  visibility: hidden;
  opacity: 0;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  -webkit-transition: .5s;
  transition: .5s;
}

.menu .menu-item-has-children:hover .sub-menu,
.menu .menu-item-has-children:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  top: 50px;
}

.sub-menu li {
  width: 200px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.sub-menu a {
  padding: 14px 18px;
  color: var(--dark);
  width: 100%;
}

.sub-menu a:hover {
  color: var(--dark);
  background: var(--grey);
}

.sub-menu .current-menu-item > a {
  color: var(--primary);
}

.navbar {
  cursor: pointer;
  margin-right: 10px;
  position: relative;
  width: 25px;
  height: 25px;
  display: none;
  z-index: 99998;
  background-color: transparent;
  border: none;
}

.icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  position: absolute;
  transition: all .3s cubic-bezier(.26, .1, .27, 1.55);
}

.first-icon {
  top: 7px;
  left: calc(50% - 11px);
}

.second-icon {
  top: 14px;
  left: calc(50% - 11px);
}

.navbar.close .first-icon {
  transform: rotate(45deg);
  top: 10px;
}

.navbar.close .second-icon {
  transform: rotate(-45deg);
  top: 10px;
}

/* Breadcrumbs */
.breadcrumbs p {
  font-size: 13px !important;
  color: var(--light);
  word-spacing: 2px;
}

.breadcrumbs a {
  color: var(--hover) !important;
}

.breadcrumbs a:hover {
  color: var(--light) !important;
}

/* Page */
.wp-post-image {
  margin-bottom: 20px;
}

.main {
  width: 98%;
  margin: 50px auto 0;
  border-radius: 20px;
  padding: 350px 0 50px 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.main h1 {
  color: var(--light);
}

.search-result-null {
  height: 768px;
}

/* Sidebar */
aside h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

aside ul {
  list-style: none;
  padding-left: 0;
}

aside li {
  margin-bottom: 12px;
  line-height: 28px;
}

aside a {
  color: var(--p);
}

aside a:hover {
  color: var(--primary);
}

.widget {
  margin-bottom: 20px;
}

.wp-block-latest-comments footer {
  background-color: transparent;
  padding: 0;
}

/* Footer */
footer {
  width: 100%;
  padding: 100px 0 0;
  background: var(--primary);
}
footer ul {
  padding-left: 0;
  list-style: none;
}

footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
  color: var(--light);
}

footer p,
footer li {
  font-size: 14px;
  color: var(--light);
  line-height: 28px;
}

footer a {
  color: var(--light);
}

footer a:hover {
  color: var(--hover);
}

.footer-column {
  padding-right: 40px;
}

.footer .wp-image-28 {
  border-radius: 0;
}

.footer .fa-brands {
  font-size: 18px;
}

.social {
  display: flex;
  list-style-type: none;
  gap: 15px;
}

.credits {
  margin-top: 100px;
  background-color: #014E4E;
  padding: 10px 30px;
  text-align: center;
}

.credits p {
  margin-bottom: 0;
  font-size: 12px;
}

/* Blog */
.flex-gap {
  gap: 5%;
}

.card {
  width: 30%;
  margin-bottom: 20px;
}

.card h2 {
  font-size: 22px;
}

.card-img {
  aspect-ratio: 16 / 9;
  object-fit: cover;  
  margin-bottom: 20px;
  border-radius: 20px;
}

.view {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.view img {
  display: block;
  position: relative;
  transition: all .2s linear;
  transform: scale(1);
}

.view img:hover {
  transform: scale(1.1);
}

span.post-date {
  display: block;
  font-size: 14px;
  margin-bottom: 20px;
}

.post-cat {
  margin-top: 60px;
}

.post-categories {
  padding-left: 0;
  list-style-type: none;
  display: flex;
  gap: 15px;
}

.post-categories li {
  position: relative;
}

.post-categories li::before {
  position: absolute;
  content: "";
  width: 70%;
  height: 20px;
  top: 4px;
  left: -5px;
  bottom: 28px;
  background-color: var(--hover);
  opacity: 0.35;
  border-radius: 30px;
  z-index: -1;
}

/* Pagination */
.pagination {
  padding: 70px 0;
  display: flex;
  justify-content: center;
}

.pagination-list {
  list-style-type: none;
  display: flex;
  gap: 5px;
  padding-left: 0;
}

.page-numbers {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--primary);
  text-decoration: none !important;
  color: var(--dark) !important;
  font-size: 14px;
  text-transform: uppercase;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  margin-bottom: 5px;
  border-radius: 6px;
}

a.page-numbers:hover {
  background: var(--primary);
  color: var(--light) !important;
}

.current {
  background: var(--primary);
  color: var(--light) !important;
}

.dots {
  border: none;
}

/* 404 */
.error404 main {
  min-height: 1200px;
}

/* Form */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: var(--dark);
  background: var(--light);
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
  border: 1px solid var(--input);
  display: block;
  border-radius: 30px;
  padding: 1em;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

input[type="number"] {
  -webkit-appearance: initial;
  appearance: initial;
}

select {
  color: var(--dark);
  background: var(--light);
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
  border: 1px solid var(--input);
  display: block;
  border-radius: 0;
  padding: 1em;
  width: 100%;
}

textarea {
  padding-top: 0.75rem;
  padding-bottom: 07.5rem;
  height: 180px;
  resize: none;
  border-radius: 12px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: var(--primary);
}

.wpcf7-list-item.first,
.wpcf7-acceptance span.wpcf7-list-item {
  margin-left: 0;
}

.wpcf7-quiz {
  width: 200px !important;
}

.wpcf7-not-valid-tip {
  font-size: 12px;
  color: var(--p);
}

/* Media queries */
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .content {
    width: 90%;
    margin: 0 5%;
  }
}

@media only screen and (max-width: 1024px) {
  .content {
    width: 90%;
    margin: 0 5%;
  }

  .wrapper {
    max-width: 60%;
  }

  .brand {
    margin-left: 10px;
  }

  .navbar {
    display: block;
  }

  .menu {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    z-index: 99997;
    padding: 50px;
    overflow-y: scroll !important;
    background: rgba(255, 255, 255, .98);
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
  }

  .wide {
    -webkit-transform: translate(100%, 0);
    transform: translate(100%, 0);
  }

  .menu > li:first-child {
    padding-top: 90px;
  }

  .menu .menu-item-has-children .sub-menu {
    position: relative;
    display: block;
    visibility: visible !important;
    opacity: 1;
    top: 0;
    background: transparent;
    border: none;
  }

  .menu .menu-item-has-children:hover .sub-menu,
  .menu .menu-item-has-children:focus-within > .sub-menu {
    -webkit-transition-duration: 0s;
    transition-duration: 0s;
    top: 0;
  }

  .menu li,
  .menu a {
    width: 100%;
    border: none;
  }

  .menu a {
    padding: 13px;
  }

  .sub-menu li:last-child {
    border-bottom: 1px solid #2a2f36;
  }

  .sub-menu a {
    color: var(--light);
  }

  .sub-menu a:hover {
    background: transparent;
    color: var(--primary);
  }

  .current-menu-item > a::after {
    width: 0;
  }

  h1 {
    font-size: 48px;
    line-height: 50px;
  }
}

@media only screen and (max-width: 768px) {
  .wrapper {
    max-width: 85%;
  }

  .flex-container {
    flex-direction: column;
  }

  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-6,
  .col-8,
  .col-10 {
    width: 100%;
  }

  aside {
    padding-left: 0;
    padding-top: 70px;
  }

  h1 {
    font-size: 36px;
    line-height: 42px;
  }
}

@media only screen and (max-width: 320px) {
  h1 {
    font-size: 28px;
    line-height: 32px;
  }
}


















































