@font-face {
  font-family: 'PPMonumentExtended';
  src: url('assets/fonts/PPMonumentExtended-Regular.otf') format('opentype'),
       url('assets/fonts/PPMonumentExtended-Regular.ttf') format('truetype'),
       url('assets/fonts/PPMonumentExtended-Regular.woff') format('woff'),
       url('assets/fonts/PPMonumentExtended-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'PPMonumentExtended';
  src: url('assets/fonts/PPMonumentExtended-Bold.otf') format('opentype'),
       url('assets/fonts/PPMonumentExtended-Bold.ttf') format('truetype'),
       url('assets/fonts/PPMonumentExtended-Bold.woff') format('woff'),
       url('assets/fonts/PPMonumentExtended-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}


@font-face {
  font-family: 'PPMonumentExtended';
  src: url('assets/fonts/PPMonumentExtended-Black.otf') format('opentype'),
       url('assets/fonts/PPMonumentExtended-Black.ttf') format('truetype'),
       url('assets/fonts/PPMonumentExtended-Black.woff') format('woff'),
       url('assets/fonts/PPMonumentExtended-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}


@font-face {
  font-family: 'PPMonumentExtended';
  src: url('assets/fonts/PPMonumentExtended-Light.otf') format('opentype'),
       url('assets/fonts/PPMonumentExtended-Light.ttf') format('truetype'),
       url('assets/fonts/PPMonumentExtended-Light.woff') format('woff'),
       url('assets/fonts/PPMonumentExtended-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'PPMonumentExtended';
  src: url('assets/fonts/PPMonumentExtended-Thin.otf') format('opentype'),
       url('assets/fonts/PPMonumentExtended-Thin.ttf') format('truetype'),
       url('assets/fonts/PPMonumentExtended-Thin.woff') format('woff'),
       url('assets/fonts/PPMonumentExtended-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'PPAgandir';
  src: url('assets/fonts/PPAgrandir-Regular.otf') format('opentype'),
       url('assets/fonts/PPAgrandir-Regular.ttf') format('truetype'),
       url('assets/fonts/PPAgrandir-Regular.woff') format('woff'),
       url('assets/fonts/PPAgrandir-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}


html {
  scroll-behavior: smooth;
}

html, body{
  max-width: 100vw;
  overflow-x: hidden !important;
}

body {
  background-color: #232323;
  color: #f4f4f4;
  font-family: 'PPMonumentExtended', sans-serif;
}

.elementor-default, .page{
  --e-global-typography-text-font-family: 'PPMonumentExtended', sans-serif;
}

.custom-font, .custom-font *{
  font-family: 'PPMonumentExtended', sans-serif !important;
}

.custom-font-agandir, .custom-font-agandir *{
  font-family: 'PPAgandir', sans-serif !important;
}

.headline-underlined
.headline-with-zigzag-line{
  position: relative;
}

.headline-underlined .elementor-widget-container,
.headline-with-zigzag-line .elementor-widget-container{
  display: inline-block;
  width: fit-content;
}

.headline-underlined .elementor-widget-container h2{
  position: relative;
  z-index: 2;
}

.headline-underlined .elementor-widget-container h2:before{
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  top: 20px;  
  width: calc(100% + 15px);
  z-index: -1;
  background: linear-gradient(94.3deg, #FFEC8E 0%, #E94F73 30%, #FFDB29 70%, #1BB2A0 100%);
}

.headline-with-zigzag-line .elementor-widget-container h2:after{
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  top: 13px;
  left: auto;
  right: -90px;
  width: 66px;
  height: 17px;
  background-image: url('./assets/images/linea-zigrinata-headline.png');
  background-repeat: no-repeat;
}

.form-group p{
  margin-bottom: 30px;
}


.wpcf7-form-control.form-control{
  background-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 1px solid #f4f4f4;
  color: #fff !important;
  font-weight: 300;
  font-size: 14px;
  padding: 8px 12px;
}

.wpcf7-form-control.form-control::placeholder {
  color: #fff !important;
  opacity: .5;
}

.wpcf7-form-control-wrap[data-name="acceptance"] .wpcf7-list-item{
  margin: 0;
}

.wpcf7-form-control-wrap[data-name="acceptance"] input[type="checkbox"]{
   background-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 1px solid #f4f4f4;
  display: inline-block;
  width: 20px;
  height: 20px;
  padding: 0;
  position: relative;
  top: 4px;
  margin-right: 5px;
}

.wpcf7-submit{
  border: 1px solid #f60;
  line-height: 42px;
  padding: 0 80px;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  position: relative;
  display: inline-block;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  background-color: transparent;
  color: #fff;
}
.wpcf7-submit[disabled]{
  opacity: .5;
}

.wpcf7-not-valid-tip{
  font-weight: 400;
  font-size: 15px;
  display: block;
  margin-top: 5px;
}

.acceptance-box p{
  font-family: 'PPMonumentExtended', sans-serif !important;
  font-weight: 300;
  font-size: 13px;
}

.course-cover:after{
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  inset: 0;
  background: linear-gradient(94.3deg, rgba(255, 236, 142, 0.5) 0%, rgba(233, 79, 115, 0.5) 30%, rgba(255, 219, 41, 0.5) 70%, rgba(27, 178, 160, 0.5) 100%);
}

#course-categories a,
#course-categories a:visited,
#course-categories a:active,
#course-categories a:link,
#course-categories a:hover{
  font-weight: 300;
  font-size: 17px;
  line-height: 120%;
  color: #FFFFFF;
  border: 2px solid;
  border-image-slice: 1;
  border-width: 2px;
  border-image-source: linear-gradient(184deg, rgba(255, 236, 142, 0.5) 0%, rgba(233, 79, 115, 0.5) 30%, rgba(255, 219, 41, 0.5) 70%, rgba(27, 178, 160, 0.5) 100%);
  padding: 12px 17px;
  position: relative;
  display: inline-block;
  margin: 0 30px 30px 0;
}

#course-categories a:after{
  content: '';
  position: absolute;
  display: block;
  inset: 0;
  background: linear-gradient(94.3deg, #FFEC8E 0%, #E94F73 30%, #FFDB29 70%, #1BB2A0 100%);
  transition: all .75s;
  z-index: -1;
  opacity: 0;
}

#course-categories a.current:after,
#course-categories a:hover:after{
  opacity: 1;
}


#courses-list{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  row-gap: 60px;
}

#courses-list .course figure{
  aspect-ratio: 1/1;
  margin-bottom: 30px;
  position: relative;
}

#courses-list .course figure:after{
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  inset: 0;
  background: linear-gradient(94.3deg, rgba(255, 236, 142, 0.5) 0%, rgba(233, 79, 115, 0.5) 30%, rgba(255, 219, 41, 0.5) 70%, rgba(27, 178, 160, 0.5) 100%);
  transition: all .5s;
  opacity: 0;
}
#courses-list .course figure:hover:after{
  opacity: 1;
}
#courses-list .course figure img{
  object-fit: cover;
  object-position: center;
  height: 100%;
  width: 100%;
}
#courses-list .course h3{
  font-weight: 500;
  font-size: 28px;
  line-height: 135%;
}
#courses-list .course .duration{
  font-size: 18px;
    font-weight: 300;
    text-transform: uppercase;
    margin: 30px 0;
}
#courses-list .course a,
#courses-list .course a:visited,
#courses-list .course a:active,
#courses-list .course a:link{
  color: #fff;
  border-color: #fff;
  transition: all .5s;
}
#courses-list .course a:hover{
  color: #f60;
  border-color: #f60;
}

.single-corso #course-hero{
  height: 90vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
}

.single-corso #course-hero figure{
  position: absolute;
  z-index: 1;
  inset: 0;
}

.single-corso #course-hero figure:after{
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  inset: 0;
  background: linear-gradient(94.3deg, rgba(255, 236, 142, 0.5) 0%, rgba(233, 79, 115, 0.5) 30%, rgba(255, 219, 41, 0.5) 70%, rgba(27, 178, 160, 0.5) 100%);
}

.single-corso #course-hero figure img{
  object-fit: cover;
  object-position: center;
  height: 100%;
  width: 100%;
}

.single-corso #course-hero h1{
  position: relative;
  z-index: 2;
  font-weight: 500;
  font-size: 48px;
  margin: 0;
  width: 50vw;
  text-align: center;
}

.single-corso #course-content h2,
.single-corso #course-description h2{
  font-weight: 500;
  font-size: 32px;
  line-height: 135%;
  margin-bottom: 30px;
}

.single-corso .text-box{
  font-weight: 300;
  font-size: 24px;
  line-height: 40px;
  font-family: 'PPAgandir', sans-serif;
}

.single-corso #course-content{
  margin-top: 90px;
}

@media screen and (max-width: 500px) { 
  .headline-underlined .elementor-widget-container h2{
    width: fit-content;
  }

  .headline-underlined .elementor-widget-container h2:before{
    bottom: 0;
    width: calc(100vw - 115px);
    height: 10px;
    top: auto;
  }

  .headline-with-zigzag-line .elementor-widget-container h2:after{
    top: 50px;
    right: 20px;
  }

  #courses-list{
    grid-template-columns: 1fr;
    column-gap: 30px;
    row-gap: 90px;
  }

  #course-categories a, #course-categories a:visited, #course-categories a:active, #course-categories a:link, #course-categories a:hover{
    font-size: 16px;
    margin: 0 0 15px 0;
    padding: 10px 15px;
    line-height: 26px;
  }

  #courses-list .course h3{
    font-size: 22px;
    line-height: 30px;
  }

  #courses-list .course .duration{
    font-size: 16px;
    margin: 20px 0;    
  }

  .single-corso #course-hero h1{
    font-size: 29px;
    width: 100%;
  }

  .single-corso #course-content h2, .single-corso #course-description h2{
    font-size: 28px;
    line-height: 34px;
  }

  .single-corso .text-box{
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 15px;
  }

  #course-content .col-md-6.col-12 + .col-md-6.col-12{
    margin-top: 60px;
  }
 }