*{
  box-sizing: border-box;
}
header{

  background-color: darkblue;
  padding-top: 1%;
  width: 100%;
  height: auto;



}



i{
  color: white;
  margin-right: 93%;



}

a{
  background: dimgrey;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align:center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin:4px 2px;
  cursor: pointer;
  height:auto;
  width: auto;


}


}
a#nav:link{
  color:white;

}
a#nav:visited{
  color:white;
}
a#nav:hover{
  color :darkgrey;
}

.image{
  display: flex;
  justify-content: center;
width: 100%;
height:1100px;
text-align: center;



}




  .image::before{
  content: '';
  position: absolute;
  height: 1100px;

  background-image: url(' ../shimon.jpg');
  background-repeat: no-repeat;
  background-position:center top;
  background-size:cover;
  background-attachment: fixed;

  opacity: 0.5;
  top: 150px;
  right: 0px;
  left: 0px;
  bottom: 30px;


}

h1{
  position:relative;
  text-align: center;
  font-size: 100px;
  margin-top: 200px;

}

h3{
  text-align: center;
}

h4{
  font-size: 70px;
  text-align: center;
}

div.section1{
display: flex;
flex-direction: column;
border-style: solid;
background-color: darkblue;
color: white;
width: 100%;
letter-spacing: 1px;
font-size: 25px;
margin-bottom: 50px;
margin-top: 50px;
border-radius: 20px;
box-shadow: 10px 5px 5px;
}

div.section1 > li{
  margin-bottom: 10px;
  margin-right: 10px;
}

div.section2{
display: flex;
flex-direction: column;
border-style: ridge;
background-color: darkblue;
color: white;
width: 100%;
letter-spacing: 1px;
font-size: 25px;
margin-bottom: 50px;
margin-top: 50px;
box-shadow: 5px 10px;
border-radius: 20px;
box-shadow: 10px 5px 5px;
}

div.section2 > li{
  margin-bottom: 10px;
  margin-right: 10px;
}

div.section3{
display: flex;
flex-direction: column;
border-style: ridge;
background-color: darkblue;
color: white;
width: 100%;
letter-spacing: 1px;
font-size: 25px;
margin-bottom: 50px;
margin-top: 50px;
border-radius: 20px;
box-shadow: 10px 5px 5px;
}

div.section3 > li{
  margin-bottom: 10px;
  margin-right: 10px;
}
div.section4{
display: flex;
flex-direction: column;
border-style: ridge;
background-color: darkblue;
color: white;
width: 100%;
letter-spacing: 1px;
font-size: 25px;
margin-bottom: 50px;
margin-top: 50px;
border-radius: 20px;
box-shadow: 10px 5px 5px;
}

div.section4 > p{
  margin-bottom: 10px;
  margin-right: 10px;
}


div.trainingprogram{
  display: flex;
  flex-direction: row;
  justify-content:space-around;
  align-items:baseline;
  flex-basis: 100%;
}

section.basketball{

  color: white;
  width:50%;
  font-size: 25px;
  margin-bottom: 50px;
  /*background-color:hsl(0, 0%, 96%);
    background-image:  linear-gradient(180deg, hsl(0, 0%, 96%), white);
  */box-sizing: border-box;
  margin:10px;
  transition: width 2s;
  border-style: double;
  border-radius: 1em;
  padding: 5px;
  background-color: darkblue;




}

section.basketball:hover{
  width: 52%;
  background-color: black;
}

section.athletics{

  color: white;
  width:50%;
  font-size: 25px;
  margin-bottom: 50px;
  background-color: darkblue;
  /*background-color:hsl(0, 0%, 55%);
background-image:  linear-gradient(180deg, hsl(0, 0%, 96%), white);
  */box-sizing: border-box;
  transition: width 2s;
  border-style: double;
  border-radius: 1em;
  padding: 5px;
}

section.athletics:hover{
width:51%;
background-color: black;


}

div.trainingprogram > li{
  margin: 10px;

}

::marker{
  content:' ✓ ';
  font-family: 'font awesome 5 free';
  font-weight: 700;
  margin: 30px;
  color: lightgreen;
}



.contact{
  display: flex;
  flex-direction: row;
  justify-content: space-between;


}

.contact > img{
  width: 300px;
  border-radius: 200px;
   margin-left: 10%
}

.contact > address{
  font-size: 50px;
}

footer{
  background-color: darkblue;
  height: 75px;
  margin-top: 50px;
}

@media only screen and (max-width: 600px){
    
   header{
       width:100%;
   }
    
  a{
    padding: 8px 10px 8px 10px;
    text-align: center;
  }
  
  i{
    margin-right: 78%;
  }

  h1{
    font-size: 450%;
    word-wrap: break-word;
  }
  
  .contact{
      display:flex;
      flex-direction:column;
  }
  .contact > img{
    width:50%;
    margin-right:70px;
  }

  .contact > address{
    font-size: 150%;
    margin-bottom:20px;
  }
  div.trainingprogram{
      flex-direction:column;
  }
  section.basketball{
      width:95%;
      letter-spacing:2px;
  }
  
  section.basketball:hover{
      width:95%;
  }
  
  section.athletics{
      width:95%;
      letter-spacing:2px;
      margin-right: 8px;
  }
  
 section.athletics:hover{
     width:95%;
 }

}