
/* HERO SECTION */
#hero{
  margin-top: 100px;
}
#logo{
  height: 100%;
  max-height: 200px;
  width: auto;
  margin-top: 10px;
}
#hero .caption {
      position:relative;
      z-index:20;
      text-align:center;
      color:var(--bg_contenuti);
      padding-left: 5%;
      padding-right: 5%;
}
#hero .caption h1 {
  color: var(--sfondi);
  text-transform: uppercase;
}
#hero .caption h2 {
  color: var(--sfondi);
  font-weight:400;
}
#logo{
  height: 100%;
  max-height: 230px;
  width: auto;
}

/* CORSI SECTION */
.corsi{
  width: 50%;
  margin:auto;
  padding: 0;
  list-style-type: none;
  text-align: left;
}
.corsi li a{
  text-decoration: none;
  color: var(--titoli);
}
.corsi li a:hover{
  text-decoration: none;
  color: var(--hover);
}
.età{
  float: right;
}

.toggle {
  display: none;
}
.label {
  display: block;
	text-align: left;
  border-bottom: 1px solid;
	margin-top:10px;
}
.label h2{
  margin-top: 30px;
  margin-bottom: 5px;
  color: var(--titoli);
}

.corso {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0s linear; /* nascondi */
}
.toggle:checked + .label + .corso {
   max-height: 200vmax;
   height: fit-content;
   transition: max-height 0.7s linear;
}
#corsi{
  height: fit-content;
  text-align: center;
  width: 80%;
  margin-left: 10%;
}
#corsi h1{
  color: var(--titoli);

}

#corsi h4{
  font-weight: normal;
}
.alert{
  font-style: italic;
}
#corsi .corso h4{
  font-weight: bold;
  margin-top: 0px;
}
#corsi p{

}
#corsi .caption{
  position:relative;
}
#corsi .info{
  font-weight: bold;
  color: var(--titoli);
  margin-bottom: 20px;
}
.subtitle{
  text-align: left;
  color: var(--titoli);
}
.consigli{
  text-align: left;
  font-size: 16px;
}
#contatti-info {
  margin-top:50px;
  text-decoration: none;
}
#contatti-info a{
  color: var(--titoli);
}
#contatti-info a:hover{
  color: var(--hover);
}
#corsi .btn{
  margin-top: 20px;
  margin-bottom: 50px;
}

/* FILOSOFIA e DIDATTICA */
#filosofia{
  height: fit-content;
  text-align: center;
  width: 80%;
  margin-left: 10%;
  margin-bottom: 50px;
}
#filosofia .caption{
  position:relative;
}
#filosofia h1{
  color: var(--titoli);
}
#filosofia h2{
  font-weight: normal;
}
#filosofia h4{
  font-weight: normal;
}
#aikido {
  display: inline-flex;
  flex-direction: column;
  text-align: left;
  margin: 0;
  margin-bottom: 50px;
  list-style-type: none;

}
#aikido li{
  padding-top: 5px;
}
#filosofia img{
  float: right;
  height: 120px;
	width: 120px;
}

/* STAFF e MAESTRO */
#staff-ref{
  margin-bottom: 150px;
}

#staff{
  height: fit-content;
  text-align: center;
  width: 80%;
  margin-left: 10%;
  margin-bottom: 60px;
}
#staff h1{
  color: var(--titoli);
}
#staff h4{
  font-weight: normal;
}
#staff .caption{
  position: relative;
}
#curriculum{
  padding-left: 0;
  text-align: center;
  list-style-type: none;
}
#curriculum li{
  margin-bottom: 15px;
}
.container {
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
  margin-bottom: 50px;
}
.wrapper {
	width: 75%;
	display: flex;
	flex-direction: column;
}
.album {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}
.foto {
	height: 300px;
	width: 200px;
	background-size:cover;
  background-repeat: no-repeat;
	border: 5px solid #fff;
	box-shadow: 0 3px 6px rgba(0,0,0,0.3), 0 2px 3px rgba(0,0,0,0.1);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	position: relative;
	margin-right: 10px;
	margin-bottom: 10px;
}
.hide-smartphone{
  display: none;
}

/* RESPONSIVE */
/* smartphone */
@media screen and (min-width: 320px) {
  .hide-smartphone{
    display: none;
  }
  h1{
    font-size: 34px;
  }
  h2{
    font-size: 24px;
  }
  h3{
    font-size: 20px;
  }
  h4{
    font-size: 18px;
  }
  p , #aikido{
    font-size: 18px;
  }
  #hero .caption h1 , #hero .caption h2 , #corsi h1 , #corsi h4 , #corsi p , .consigli , #filosofia h2 , #filosofia h4 , #staff h4{

  }
  #corsi .corso h4 , #aikido {

  }
  #curriculum , .alert{

  }
  .corsi{
    width: 80%;
  }
}
/* tablet */
@media screen and (min-width: 500px) {
  .hide-smartphone{
    display: none;
  }
  h1{
    font-size: 38px;
  }
  h2{
    font-size: 32px;
  }
  h3{
    font-size: 24px;
  }
  h4{
    font-size: 20px;
  }
  p , #aikido{
    font-size: 20px;
  }
    #corsi h4, #filosofia h4, #staff h4{

    }
    .alert{
      font-size: 18px;
    }
    #corsi p, #filosofia p, #staff p {

    }
    #logo{
      max-height: 230px;
    }
    #filosofia img{
      height: 150px;
    	width: 150px;
    }
}
/* netbook */
@media screen and (min-width: 1024px) {
.hide-smartphone{
  display: flex;
}
  h1{
    font-size: 42px;
  }
  h2{
    font-size: 36px;
  }
  h3{
    font-size: 30px;
  }
  h4{
    font-size: 24px;
  }
  p , #aikido{
    font-size: 24px;
  }
   #hero .caption h1 , #corsi h1 , #filosofia h1 , #staff h1{

  }
  #corsi h4, #filosofia h4 , #staff h4{

  }
  #corsi p, #filosofia p, #staff p{
    margin-bottom: 40px;
  }
  #prenota-btn {
    margin-bottom: 30px;
  }
  #curriculum{

  }
  #logo{
    max-height: 230px;
  }

  #filosofia img{
    height: 170px;
    width: 170px;
  }
  #curriculum {

  }
}
/* desktop */
@media screen and (min-width: 1397px) {
.hide-smartphone{
  display: flex;
}
  h1{
    font-size: 48px;
  }
  h2{
    font-size: 40px;
  }
  h3{
    font-size: 30px;
  }
  h4{
    font-size: 24px;
  }
  p , #aikido{
    font-size: 24px;
  }
  #hero .caption h1 , #corsi h1 , #filosofia h1 , #staff h1{

  }
  #corsi p , #filosofia p , #staff p{

  }
  #prenota-btn {
    margin-bottom: 50px;
    margin-top: 30px;
  }
  .label{
    width: 80%;
    margin-left: 10%;
  }
  .corso{
    width: 80%;
    margin-left: 10%;
  }
  #curriculum {
    
  }
  #logo{
    max-height: 350px;
  }
  #filosofia img{
    height: 200px;
    width: 200px;
  }
  #staff .foto{
    height: 350px;
    width: 250px;
  }
}
