:root{
    --primary-dark-blue: rgba(0,109,119,0.2);
    --primary-brown: rgba(226,149,120,0.2);
    --primary-blue:rgba(131,197,190,0.2);
    --primary-blue-solid:rgb(131,197,190);
}
body{

}

td{
    vertical-align: middle !important;
}

 .lesson-area {
    position: relative;
    margin:50px 0 0;
}

.beginner-section::before {
    content: '';
    position: absolute;
    top: 200;
    left: 0;
    background-color:var(--primary-dark-blue); 	
    transform: skewY(55deg);
    height:150px;
    width: 100%;
}
.beginner-section::after {
    content: '';
    position: absolute;
    top: 300;
    left:0;
    background-color:var(--primary-brown); 	
    transform: skewY(145deg);
    height:200px;
    width: 100%;
    margin-top:100px;
}
.intermediate-section::after {
    content: '';
    position: absolute;
    top: 300;
    left:0;
    background-color:var(--primary-blue); 	
    transform: skewY(70deg);
    height:700px;
    width: 100%;
    margin-top:100px;
}
.offsite-section::before {
    content: '';
    position: absolute;
    top: 200;
    left: 0;
    background-color:#edf6f9; 	
    transform: skewY(160deg);
    height:150px;
    width: 100%;
}

.lesson-box {
    margin: 0 auto;
    position: relative;
    z-index: 10;
    background-color:white;
    width:90%;
    max-width:500px;
    padding:20px;
    border-radius: 10px;
    border: 1px solid #006D77;
    transition: 0.1s ease-in;
}
.lesson-box:hover {
    transform:scale(1.02);
    box-shadow: 1px 1px 20px lightgray;
}
.lesson-box h2{
    text-align:center;
    font-size: 2rem;
}
.lesson-section{

}
.price{
    padding:10px 0 5px 0;
    font-size:22px;
    color:black;
}
.small-price{
    font-size:20px;
}

.alert-message{
    border-radius: 20px;
    border:2px solid var(--primary-blue);
    background-color:var(--primary-blue-solid);
    padding:10px 10px 0;
    margin-bottom:20px;
    display: none;
}
.alert-message p{
    font-weight:bold;
    color:white;
}

/* Flag Style */
.spots-flag{
    position: relative;
    width:150px;
    margin-left:-20px;
    background: var(--primary-blue-solid);
    display:inline-block;
}

.flag-text{
    text-align:center;
    font-size: 20px;
    padding: 10px 0 3px;
    color:white;
    font-weight:bold;
}
.spots-flag:before,
.spots-flag:after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 50px;
  height: 50%;
  background-image: linear-gradient(to left top, transparent 50%,var(--primary-blue-solid) 50%);
}

.spots-flag:after {
    top: 50%;
    transform: scaleY(-1);
  }