html, body {
    background-color: #fefefe;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
  }

span {
    display: inline-block;
}

span.closebtn {
    color: rgb(0, 0, 0);
    font-weight: bold;
    text-align:right;
    float: right;
    height: 100%;
    cursor: pointer;
    transition: 0.3s;
}

span.closebtn:hover {
    color: white;
}

nav.hidden {
    display:none;
}

nav{
    background:#ffffff;
    opacity: 100%;
    z-index: 100;
    position: sticky;
    top: 0px;
    opacity: 0;
    margin: 0;
    padding: 0;
}

nav.header {
    padding: 20px 0;
    width: 100%;
    margin: 0;
}


nav a:hover {
    text-decoration: underline;
}

footer.footer {
    text-align: center;
    padding: 20px 0 20px 0;
    background-color: #e2dbd17c;
}

ul.trained{
    list-style: none;
}

ul.footer-links {
    display: block;
    width: 100%;
    text-align: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.header-links {
    display: inline-flex;
    list-style: none;
    justify-content: space-around;
    width: 100%;
    margin:0;
    padding:0;
}

ul.therapy-list{
    list-style: none;
    padding: 0;
    opacity: 0;
}

li.therapy{
    padding-top: 10px;
    font-size: 18px;
}

li.train-itm{
    padding: 2% 0;
    font-size: 18px;
    color: #0e0d0d;
}

li.footer-item{
    padding: 2% 0%;
}

li.header-item {
    list-style-type: none;
}

table{
    width: 90%;
    margin:0 auto;
    border-collapse: collapse;
    table-layout: fixed;
}

input{
    font-size: 18px;
    width: 70%;
    display:block;
    height:auto;
    text-align: center;
    margin: 3% auto;
    padding: 10px 0;
    box-sizing:border-box;
}

input.submit{
    width:50%;
    margin:3% auto;
    padding: 10px 0;
}

.hide-element {
    border: 0;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip; rect(1px, 1px, 1px, 1px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px; 
} 

select{
    height:auto;
    display: block;
    width: 70%;
    font-size: 18px;
    text-align: center;
    margin: 3% auto;
    padding: 10px 2px;
    box-sizing:border-box;
}

option {
    text-align: center;
    margin: 5%;
}

textarea {
    display:block;
    font-family: 'Playfair Display';
    height: auto;
    width: 70%;
    margin: 0 auto;
    padding: 12px 20px;
    box-sizing: border-box;
    border-radius: 4px;
    font-size: 16px;
    resize: none;
  }

th {
    max-width: 30%;
    font-size: 24px;
    text-align: center;
    background-color: #e2dbd17c;
    color: #0e0d0d;
}

tr{
    font-size: 18px;
}

td {
    max-width: 30%;
    text-align: center;
    white-space: nowrap;
}

th, td{
    padding: 5% 2%;
    border-bottom: 1px solid #ddd;
}


tr:nth-child(even) {
    background-color: #f2f2f2;
}

button.btn{
    position: absolute;
    opacity: 0;
    top: 50%;
    left: 20%;
    right: 20%;
    z-index: 1;
    background-color: transparent;
    outline: none;
    padding: 12px 24px;
    border: none;
    width: 60%;
    cursor: pointer;
    border-radius: 5px;
}

button.btn:hover{
    color:#ffffff;
}

h2.title {
    color: #0e0d0d;
    font-family: 'Playfair Display';
    font-style:italic;
    text-align: center;
    font-size: 45px;
    margin: 0;
    padding: 50px 0;
}

h3{
    color: #0e0d0d;
    font-family: 'Playfair Display';
    text-align: center;
    font-size: 35px;
    margin: 0;
    padding-top: 5%;
}


h3.title-lg {
    display: none;
}

h3:hover{
    color:rgb(92, 91, 91);
}

div {
    width: 100%;
    display: inline-block;
    position: relative;
}

div.form-container{
    display:block;
    width: 100%;
}

div.head {
    width: 100%;
    height: auto;
    position: absolute;
    z-index: 1;
    top: 0;
}

div.content{
    position: relative;
    text-align: center;
    max-width: 100%;
    height: 100%;
    padding: 5% 0%;
    background-color: #e2dbd1;
    opacity: 0;
}

div.bottom{
    max-width: 100%;
    height: 20%;
    background-color: #e2dbd17c;
    opacity: 0;
}

p.alert {
    position: absolute;
    z-index: 1;
    top: 15%;
    left: 25%;
    text-align: center;
    font-size: 1.2rem;
    background-color: #e7a49f;
    color: black;
    width: 50%;
    padding: 1%;
    margin: 0 auto;
    border-radius: 5px;
}

p.success {
    position: absolute;
    z-index: 1;
    top: 15%;
    left: 25%;
    text-align: center;
    font-size: 1.2rem;
    background-color: #d3efd2;
    color: black;
    width: 50%;
    padding: 1%;
    margin:0 auto;
    border-radius: 5px;
}

p {
    font-size: 24px;
    font-size-adjust: initial;
    color: #0e0d0d;
    max-width: 90%;
    margin: 0 auto;
}

p.about{
    padding: 5%;
}

p.quote{
    max-width: 60%;
    vertical-align: middle;
    display: inline-block;
    margin: 0 auto;
    font-size: 18px;
    padding:5%;
}

p.info{
    margin-top: 0;
    display: none;
    position: relative;
}

p.info-sm{
    margin-top: 0;
    display: block;
    position: relative;
}

p.location-description{
    opacity: 0;
    padding: 5% 5%;
    margin: 0
}

p.text-static{
    display:block;
    z-index: 1;
    text-align: center;
    color:#ececec;
    font-family:'Playful Display';
    font-size: 24px;
    opacity: 0;
    position: absolute;
    top: 25%;
    left:13%;
    right:13%;
    padding: 12px 24px;
    margin: 0 auto;
    border: none;
    width: 60%;
}

p.text-change{
    display:block;
    text-align: center;
    z-index: 1;
    opacity: 0;
    color:#ececec;
    font-family:'Playful Display';
    font-size: 24px;
    position: absolute;
    top: 35%;
    left:5%;
    right:5%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    padding: 12px 24px;
    margin: 0 auto;
    border: none;
    width: 70%;
}

p.text{
    vertical-align: middle;
    display: inline-block;
    margin: 0 auto;
    padding: 5% 0;
    max-width: 90%;
}

a {
    text-decoration: none;
    font-size: 1rem;
    text-align: center;
    font-family: 'Playfair Display';
    color:#0e0d0d;
}

a.btn{
    color:#ececec;
    font-family:'Playfair Display';
    font-size: 35px;
}

a.ext{
    padding: 2% 0;
    width: 100%;
    margin: 0 auto;
}

img {
    display:block;
    max-width: 100%;
    height: auto;
    opacity: 0;
    margin: 0;
}

img.full {
    height:100vh;
    width: 100vw;
    object-fit: cover;
}

img.first{
    vertical-align: middle;
    display: inline-block;
    max-height: auto;
    max-width: 100%;
    border-radius: 50%;
}
img.second{
    vertical-align: middle;
    max-height: auto;
    max-width: 100%;
    padding: 2% 0;
}
img.third{
    vertical-align: middle;
    max-height: auto;
    max-width: 100%;
    padding: 2% 0;
}

@media only screen and (min-width: 769px) and (min-height: 415px) {

    html, body{
        min-width: 550px;
    }

    main{
        overflow-x: visible;
    }

    div.col-2{
        max-width: 40%;
        padding: 0 2%;
        vertical-align: middle;
    }

    div.col-3{
        max-width: 30%;
        vertical-align: middle;
    }

    div.content{
        position: relative;
        text-align: center;
        max-width: 100%;
        height: 100%;
        padding: 3% 0%;
        background-color: #e2dbd1;
        opacity: 0;
    }

    a {
        text-decoration: none;
        font-size: 2rem;
        text-align: center;
        font-family: 'Playfair Display';
        color:#0e0d0d;
    }

    h3.title-lg {
        display: block;
    }

    h3.title-sm {
        display:none
    }

    p {
        font-size: 24px;
    }
    
    p.about{
        padding: 5%;
        vertical-align: middle;
    }
    
    p.quote{
        display: block;
        font-size: 18px;
        padding:2% 0;
    }
    
    p.info{
        display: block;
    }
    
    p.info-sm{
        display: none;
    }
    
    p.location-description{
        opacity: 0;
        padding: 5% 5%;
        margin: 0
    }
    
    p.text{
        vertical-align: middle;
        display: inline-block;
        margin: 0 auto;
        padding: 5% 0;
        max-width: 90%;
    }
    
    p.therapy-description{
        text-align: center;
        padding: 10% 5% 2%;
        opacity: 0;
    }
    
    p.text-static{
        font-size: 45px;
    }
    
    p.text-change{
        font-size: 45px;
    }
    
    img {
        display:block;
        max-width: 100%;
        height: auto;
        opacity: 0;
    }
    
    img.full {
        height:100vh;
        width: 100%;
    }
    
    img.first{
        vertical-align: middle;
        display: inline-block;
        max-height: 100%;
        width: 40%;
        border-radius: 50%;
        min-width: 410px;
        height:auto;
    }
    img.second{
        vertical-align: middle;
        display: inline-block;
        max-height: 100%;
        max-width: 100%;
        padding: 2% 0;
    }
    img.third{
        vertical-align: middle;
        display: inline-block;
        max-height: 100%;
        max-width: 100%;
        padding: 2% 0;
    }
    
    input{
        width: 40%;
        display:block;
        margin: 0.5% auto;
    }
    
    input.submit{
        width:10%;
        display:block;
        margin: 0.5% auto;
    }
    
    select{
        width: 40%;
        display:block;
        margin: 0.5% auto;
    }
    
    textarea {
        width: 40%;
        display:block;
        margin: 0.5% auto;
      }
     
    th {
        white-space: nowrap;
    }

    th, td{
        padding: 1% 11%;
        border-bottom: 1px solid #ddd;
    }
    
}

.gone {
    display: none;
    -webkit-animation: fadeout 1.2s both;
    -moz-animation: fadeout 1.2s both;
    -o-animation: fadeout 1.2s both;
    animation: fadeout 1.2s both;
}

.fadeinTop{
    -webkit-animation: fadeinTop 1.2s both;
    -moz-animation: fadeinTop 1.2s both;
    -o-animation: fadeinTop 1.2s both;
    animation: fadeinTop 1.2s both;
  }

.fadeinTopdelayed{
    -webkit-animation: fadeinTop 1.2s  both;
    -moz-animation: fadeinTop 1.2s both;
    -o-animation: fadeinTop 1.2s both;
    animation: fadeinTop 1.2s both;
    animation-delay: 1.1s;
  }

.fadeinTopdelayedmore{
    -webkit-animation: fadeinTop 1.2s  both;
    -moz-animation: fadeinTop 1.2s both;
    -o-animation: fadeinTop 1.2s both;
    animation: fadeinTop 1.2s both;
    animation-delay: 2.1s;
  }
  
.fadeinTopdelayedevenmore{
    -webkit-animation: fadeinTop 1.2s  both;
    -moz-animation: fadeinTop 1.2s both;
    -o-animation: fadeinTop 1.2s both;
    animation: fadeinTop 1.2s both;
    animation-delay: 3s;
  }
  .fadeinLeft{
    -webkit-animation: fadeinLeft 1.2s both;
    -moz-animation: fadeinLeft 1.2s both;
    -o-animation: fadeinLeft 1.2s both;
    animation: fadeinLeft 1.2s both;
    animation-delay: 2.1s;
  }

  .fadeinRight{
    -webkit-animation: fadeinRight 1.2s both;
    -moz-animation: fadeinRight 1.2s both;
    -o-animation: fadeinRight 1.2s both;
    animation: fadeinRight 1.2s both;
    animation-delay: 2.1s;
  }

  .fadeinLeftfast{
    -webkit-animation: fadeinLeft 1.2s both;
    -moz-animation: fadeinLeft 1.2s both;
    -o-animation: fadeinLeft 1.2s both;
    animation: fadeinLeft 1.2s both;
  }

  .fadeinRightfast{
    -webkit-animation: fadeinRight 1.2s both;
    -moz-animation: fadeinRight 1.2s both;
    -o-animation: fadeinRight 1.2s both;
    animation: fadeinRight 1.2s both;
  }

  .fadeinBottom{
    -webkit-animation: fadeinBottom 1.2s both;
    -moz-animation: fadeinBottom 1.2s both;
    -o-animation: fadeinBottom 1.2s both;
    animation: fadeinBottom 1.2s both;
    animation-delay: 1.1s;
  }

  .fadeinBottomdelayed{
    -webkit-animation: fadeinBottom 1.2s both;
    -moz-animation: fadeinBottom 1.2s both;
    -o-animation: fadeinBottom 1.2s both;
    animation: fadeinBottom 1.2s both;
    animation-delay: 2.1s;
  }

  .fadeinBottomdelayedmore{
    -webkit-animation: fadeinBottom 1.2s both;
    -moz-animation: fadeinBottom 1.2s both;
    -o-animation: fadeinBottom 1.2s both;
    animation: fadeinBottom 1.2s both;
    animation-delay: 3s;
  }

  .fadeinBottomfast{
    -webkit-animation: fadeinBottom 1.2s both;
    -moz-animation: fadeinBottom 1.2s both;
    -o-animation: fadeinBottom 1.2s both;
    animation: fadeinBottom 1.2s both;
  }

  .fadeout{
    -webkit-animation: fadeout 1.2s both;
    -moz-animation: fadeout 1.2s both;
    -o-animation: fadeout 1.2s both;
    animation: fadeout 1.2s both;
  }

  .hidden{
    -webkit-animation: hidden 0s both;
    -moz-animation: hidden  0s both;
    -o-animation: hidden  0s both;
    animation: hidden  0s both;
  }


@-webkit-keyframes fadeinTop {
    0%{opacity: 0;
    -webkit-transform: translateY(-50px);}
    100%{opacity: 1;
    -webkit-transform: translateY(0);}
  }
@-moz-keyframes fadeinTop {
    0%{opacity: 0;
        -moz-transform: translateY(-50px);}
    100%{opacity: 1;
        -moz-transform: translateY(0);}
  }
@-o-keyframes fadeinTop {
    0%{opacity: 0;
        -o-transform: translateY(-50px);}
    100%{opacity: 1;
        -o-transform: translateY(0);}
  }
@keyframes fadeinTop {
    0%{opacity: 0;
        transform: translateY(-50px);}
    100%{opacity: 1;
        transform: translateY(0);}
  }

  @-webkit-keyframes fadeinBottom {
    0%{opacity: 0;
    -webkit-transform: translateY(+50px);}
    100%{opacity: 1;
    -webkit-transform: translateY(0);}
  }
@-moz-keyframes fadeinBottom {
    0%{opacity: 0;
        -moz-transform: translateY(+50px);}
    100%{opacity: 1;
        -moz-transform: translateY(0);}
  }
@-o-keyframes fadeinBottom {
    0%{opacity: 0;
        -o-transform: translateY(+50px);}
    100%{opacity: 1;
        -o-transform: translateY(0);}
  }
@keyframes fadeinBottom {
    0%{opacity: 0;
        transform: translateY(+50px);}
    100%{opacity: 1;
        transform: translateY(0);}
  }

  @-webkit-keyframes fadeinLeft {
    0%{opacity: 0;
    -webkit-transform: translateX(-50px);}
    100%{opacity: 1;
    -webkit-transform: translateX(0);}
  }
@-moz-keyframes fadeinLeft{
    0%{opacity: 0;
        -moz-transform: translateX(-50px);}
    100%{opacity: 1;
        -moz-transform: translateX(0);}
  }
@-o-keyframes fadeinLeft{
    0%{opacity: 0;
        -o-transform: translateX(-50px);}
    100%{opacity: 1;
        -o-transform: translateX(0);}
  }
@keyframes fadeinLeft {
    0%{opacity: 0;
        transform: translateX(-50px);}
    100%{opacity: 1;
        transform: translateX(0);}
  }

  @-webkit-keyframes fadeinRight {
    0%{opacity: 0;
    -webkit-transform: translateX(+50px);}
    100%{opacity: 1;
    -webkit-transform: translateX(0);}
  }
@-moz-keyframes fadeinRight{
    0%{opacity: 0;
        -moz-transform: translateX(+50px);}
    100%{opacity: 1;
        -moz-transform: translateX(0);}
  }
@-o-keyframes fadeinRight{
    0%{opacity: 0;
        -o-transform: translateX(+50px);}
    100%{opacity: 1;
        -o-transform: translateX(0);}
  }
@keyframes fadeinRight {
    0%{opacity: 0;
        transform: translateX(+50px);}
    100%{opacity: 1;
        transform: translateX(0);}
  }

 @-webkit-keyframes fadeout {
    0%{opacity: 1;}
    100%{opacity: 0;}
  }
@-moz-keyframes fadeout{
    0%{opacity: 1;}
    100%{opacity: 0;}
  }
@-o-keyframes fadeout{
    0%{opacity: 1;}
    100%{opacity: 0;}
  }
@keyframes fadeout{
    0%{opacity: 1;}
    100%{opacity: 0;}
  }

  @-webkit-keyframes hidden {
    0%{Height:100%;
        Width:100%;}
    100%{Height:0%;
        Width:0%;}
  }
@-moz-keyframes hidden{
    0%{Height:100%;
        Width:100%;
        transform: translateY(0);}
    100%{Height:0%;
        Width:0%;}
  }
@-o-keyframes hidden{
    0%{Height:100%;
        Width:100%;}
    100%{Height:0%;
        Width:0%;}
    }
@keyframes hidden{
    0%{Height:100%;
        Width:100%;}
    100%{Height:0%;
        Width:0%;}
  }