@charset "UTF-8";

html{
  scroll-behavior: smooth;
}

.logo img {
  position: fixed;
  max-width: 100%;
  width: 18%;
  height: auto; 
}

body{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-image: url('bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  font-family: 'Barlow Condensed', sans-serif;
}


#container1 {
    align-items: center;
    display: flex;
    height: 100vh;
    justify-content: center;
}

.navbar {
  overflow: hidden;
  background-color: #008962bd;
  position: fixed;
  top: 40px; 
  right: 20px;
  width: auto; 
  border-radius: 25px;
  z-index: 5;
}

.newAtt {
  background-color: #927852;
}

.oldAtt{
  color:white;
}

.navbar a {
  display: inline-block;
  color: #f2f2f2;
  text-align: center;
  padding: 13px 10px;
  text-decoration: none;
  font-size: 13pt;
}

.navbar a:hover {
  color: black;
}

.shape {
    box-sizing: border-box;
    background: #e6769459;
    animation: morph 7s ease-in-out infinite;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    height: 500px;
    transition: all 1s ease-in-out;
    width: 720px;
    max-height: 100%;
    max-width: 100%;
    z-index: -5;
    left: 50%; 
    transform: translate(-50%, 0%);
    position: absolute;
}

.text {
    height: 450px;
    width: 590px;
    max-width: 90%;
    position: absolute;
  }

h1{
    position: relative;
    z-index: 1;
    top: 4%;
    text-align: center;
    color: #008962bd;
    font-size: 22pt;
  }

  h2{
    position: relative;
    top: 6%;
    text-align: center;
    z-index: 1;
    color: #6e5939;
    font-size: 15pt;
    font-style: italic;
  }

  p {
    position: relative;
    z-index: 1;
    top: 11%;
    text-align: center;
    color: #6e5939;
    font-size: 15pt;
  }

  a.class1{
    position: relative;
    z-index: 1;
    top: 18%;
    left: 40%;
    text-align: center;
    font-size: 15pt;
    margin: 56px auto 0;
    padding: 10px 20px;
  }

  a.class1:link, a.class1:visited{
    text-decoration: none;
    color:black;
    border: 2px solid #927852;
    border-radius: 8px;
    font-size: 16pt;
    background:white;
  }
  
  a.class1:hover, a.class1:focus{
    text-decoration: none;
    background: #927952b4;
    color: #fff;
    border-color:#927852;
  }
  
  @keyframes morph {
    0% {
    border-radius:  60% 40% 30% 70% / 60% 30% 70% 40%;
      } 
    50% {
    border-radius:  30% 60% 70% 40% / 50% 60% 30% 60%;
      }
    100% {
    border-radius:  60% 40% 30% 70% / 60% 30% 70% 40%;
      } 
  }
  
  #container2 {
    align-items: center;
    display: flex;
    height: 100vh;
    justify-content: center;
  }

  h3{
    position: relative;
    z-index: 1;
    text-align: center;
    color: #008962bd;
    font-size: 22pt;
  }

  h4{
    position: relative;
    z-index: 1;
    text-align: center;
    color: #6e5939;
    font-size: 16pt;
    padding-bottom: 20px;
  }

  #form-wrapper {
    width: 100%;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
    -webkit-box-align: center;
            align-items: center;
    z-index: 10;

  }
  
  form {
    width: 90%;
    max-width: 500px;
    z-index: 10;
  }

  form #time-amount-slider {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-direction: row;
    align-content: stretch;
    position: relative;
    width: 100%;
    height: 50px;
  }
  form #time-amount-slider::before {
    content: " ";
    position: absolute;
    height: 2px;
    width: 100%;
    width: 80;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    background: #927852;
  }
  form #time-amount-slider input, form #time-amount-slider label {
    box-sizing: border-box;
    -webkit-box-flex: 1;
            flex: 1;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    cursor: pointer;
  }
  form #time-amount-slider label {
    display: inline-block;
    position: relative;
    width: 20%;
    height: 100%;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
  }
  form #time-amount-slider label::before {
    content: attr(data-time-amount);
    position: absolute;
    left: 50%;
    padding-top: 10px;
    -webkit-transform: translate(-50%, 45px);
            transform: translate(-50%, 45px);
    font-size: 14px;
    letter-spacing: 0.4px;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0.85;
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
  }
  form #time-amount-slider label::after {
    content: " ";
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 2px solid #927852;
    background: #fff;
    border-radius: 50%;
    z-index: 1;
    cursor: pointer;
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
  }
  form #time-amount-slider label:hover::after {
    -webkit-transform: translate(-50%, -50%) scale(1.25);
            transform: translate(-50%, -50%) scale(1.25);
  }
  form #time-amount-slider input {
    display: none;
  }
  form #time-amount-slider input:checked + label::before {
    font-weight: 800;
    opacity: 1;
  }
  form #time-amount-slider input:checked + label::after {
    border-width: 4px;
    -webkit-transform: translate(-50%, -50%) scale(0.75);
            transform: translate(-50%, -50%) scale(0.75);
    background: #927852;
  }
  form #time-amount-slider input:checked ~ #time-amount-pos {
    opacity: 1;
  }
  form #time-amount-slider input:checked:nth-child(1) ~ #time-amount-pos {
    left: 10%;
  }
  form #time-amount-slider input:checked:nth-child(3) ~ #time-amount-pos {
    left: 30%;
  }
  form #time-amount-slider input:checked:nth-child(5) ~ #time-amount-pos {
    left: 50%;
  }
  form #time-amount-slider input:checked:nth-child(7) ~ #time-amount-pos {
    left: 70%;
  }
  form #time-amount-slider input:checked:nth-child(9) ~ #time-amount-pos {
    left: 90%;
  }
  form #time-amount-slider #time-amount-pos {
    display: block;
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 50%;
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    border: 2px solid #fff;
    opacity: 0;
    z-index: 2;
  }
  form:valid #time-amount-slider input + label::before {
    -webkit-transform: translate(-50%, 45px) scale(0.9);
            transform: translate(-50%, 45px) scale(0.9);
    -webkit-transition: all 0.15s linear;
    transition: all 0.15s linear;
  }
  form:valid #time-amount-slider input:checked + label::before {
    -webkit-transform: translate(-50%, 45px) scale(1.1);
            transform: translate(-50%, 45px) scale(1.1);
    -webkit-transition: all 0.15s linear;
    transition: all 0.15s linear;
  }
  form + .button {
    color: black;
    text-decoration: none;
    display: block;
    position: relative;
    margin: 56px auto 0;
    padding: 10px 20px;
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    font-size: 24px;
    background: #fff;
    border: 2px solid #927852;
    border-radius: 8px;
    outline: 0;
  }
  form + .button:hover {
    background: #927952b4;
    color: #fff;
  }
 
  form + .button:focus {
    background: #927952b4;
    border-color: #927852;
    color: #fff;
  }
  form + .button:focus::before {
    -webkit-animation: spin 1s linear infinite;
            animation: spin 1s linear infinite;
  }
  
  form:invalid + .button {
    pointer-events: none;
    opacity: 0.25;
  }
  
  @-webkit-keyframes spin {
    from {
      -webkit-transform: rotate(0deg);
              transform: rotate(0deg);
      width: 24px;
      opacity: 1;
      margin-right: 12px;
    }
    to {
      -webkit-transform: rotate(360deg);
              transform: rotate(360deg);
      width: 24px;
      opacity: 1;
      margin-right: 12px;
    }
  }
  
  @keyframes spin {
    from {
      -webkit-transform: rotate(0deg);
              transform: rotate(0deg);
      width: 24px;
      opacity: 1;
      margin-right: 12px;
    }
    to {
      -webkit-transform: rotate(360deg);
              transform: rotate(360deg);
      width: 24px;
      opacity: 1;
      margin-right: 12px;
    }
  }
  
  #container3 {
    align-items: center;
    display: flex;
    height: 100vh;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
  }

  .video {
    position: relative;
    padding-top: 4.1%;
    padding-bottom: 51.95%;
    height: 0;
  }

  .video iframe {
    position: absolute;
    top: 0;
    left: 0;
    height: 140%;
    width: 140%; /*size of video*/
  }
  
  .video-gallery {
    margin-top: 3em;
    position: relative;
    width: 100%;
   min-width:300px;
  }
  
  .video-gallery .video {
    animation: 1200ms fadeOut ease;
    animation-fill-mode: both;
    grid-column-start: 1;
    grid-row-start: 1;
    grid-row-end: 3;
    max-height: 19em;
    opacity: 0;
    transition: all 300ms ease;
  }
  .video-gallery input[type="radio"] {
    font-size: 0;
    height: 0;
    opacity: 0;
    padding: 0;
    position: fixed;
    width: 0;
  }


  .video-gallery label {
    color: #000000;
    font-size: 15pt;
    grid-column-start: 3;
    margin-right: 55px;
    padding: 1rem 0 1rem 2.5rem;
    position: relative;
    border-bottom: 1px solid #CCCCCC;
  }

  .video-gallery label:first-of-type {
    padding-top: 100px;
  }
 
  .video-gallery label:last-of-type {
    border: 0 none;
  }
  .video-gallery input[type="radio"]:checked + label {
    color: #e67694; 
  }

  .grid-row {
    display: block;
    height: 56vw;
    max-height: 19.5em;
    position: relative;

  }
  .grid-row label {
    left: calc(50% + 16px);
    position: relative;
    width: calc(50% - 16px);
  }
  .grid-row .video {
    padding: 0;
    position: absolute;
    top: 0;
    width: 0;
  }
  .grid-row:after {
    content: "";
    clear: both;
    display: table;
  }
  
  #video-1:checked ~ .video-1, #video-2:checked ~ .video-2, #video-3:checked ~ .video-3, #video-4:checked ~ .video-4 {
    animation: 1200ms fadeIn ease;
    animation-fill-mode: both;
    opacity: 1;
    width: 50%;
  }

  .button2{
    color: #000000;
    font-size: 15pt;
    grid-column-start: 3;
    margin-top: 385px;
    margin-left:30px;
    padding: 1rem 1rem 1rem 1rem;
    position: absolute;
    background: #fff;
    border: 2px solid #e67694; 
    border-radius: 8px;
    text-decoration: none;
  }

  .button2:focus ,.button2:hover{
    text-decoration: none;
    background: #e67694b4; 
    color: #fff;
    border-color:#e67694; 
  }
  
  @keyframes fadeOut {
    0% {
      display: block;
      height: 56vw;
      opacity: 1;
      width: 50%;
    }
    25% {
      display: block;
      height: 56vw;
      opacity: 1;
      width: 50%;
    }
    49% {
      display: block;
      height: 56vw;
      opacity: 0;
      width: 50%;
    }
    50% {
      display: none;
      height: 0;
      opacity: 0;
      width: 0;
    }
  }
  @keyframes fadeIn {
    0% {
      opacity: 0;
      width: 0;
    }
    49% {
      display: none;
      height: 0;
      opacity: 0;
      width: 0;
    }
    50% {
      display: block;
      height: 56vw;
      opacity: 0;
      width: 50%;
    }
    100% {
      display: block;
      height: 56vw;
      opacity: 1;
      width: 50%;
    }
  }
  @supports(display: grid) {
    .grid-row {
      align-items: start;
      display: grid;
      grid-column-gap: 10px;
      grid-row-gap: 0;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
      width: 100%;
      bottom:10%;
    }

    .grid-row label {
      left: auto;
      width: 70%;
      padding-right: 2rem;
  
    }
    .grid-row .video {
      position: relative;
      width: 100%;
      left: 50%;
    }
  
    @keyframes fadeOut {
      0% {
        display: block;
        height: 56vw;
        opacity: 1;
        width: 100%;
      }
      25% {
        display: block;
        height: 56vw;
        opacity: 1;
        width: 100%;
      }
      49% {
        display: block;
        height: 56vw;
        opacity: 0;
        width: 100%;
      }
      50% {
        display: none;
        height: 0;
        opacity: 0;
        width: 0;
      }
    }
    @keyframes fadeIn {
      0% {
        opacity: 0;
        width: 0;
      }
      49% {
        display: none;
        height: 0;
        opacity: 0;
        width: 0;
      }
      50% {
        display: block;
        height: 56vw;
        opacity: 0;
        width: 100%;
      }
      100% {
        display: block;
        height: 56vw;
        opacity: 1;
        width: 100%;
      }
    }
  }
  @media (max-width: 470px) {
    .video-gallery {
      display: flex;
      flex-direction: column;
      height: auto;
      max-height: none;
    }
    .video-gallery label {
      left: auto;
      order: 2;
      width: 100%;
    }
    .video-gallery .video {
      order: 1;
      padding-top: 4.1%;
      padding-bottom: 51.95%;
      position: relative;
      top: auto;
      width: 100%;
    }
  
    #video-1:checked ~ .video-1, #video-2:checked ~ .video-2, #video-3:checked ~ .video-3, #video-4:checked ~ .video-4 {
      width: 100%;
    }

  }

  


/*=================================================================================*/
/*FOOTER*/

footer
{
  margin: 0;
  height: auto;
  background: rgba(0,0,0,0.4);
  padding: 0;

}

footer p
{
  font-size: 14pt;
  margin: 0;
  /*color: grey;*/
  /*border: 1px solid yellow;*/
}

footer h4
{
  font-size: 20pt;
  /*font-family: 'Katibeh', cursive;*/
  /*padding-bottom: 40px;*/
  margin: 0;
  margin-left:15%;
  color: ivory;
  text-align: center;
  /*transform: translateX(-5%);*/
}

/*top block of footer i.e. footer part 1*/
footer .info
{
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0 0 0 0 ;
  padding: 20px 0px;
  

}


footer .BB
{
  /*margin-left:5%;*/
  display: inline-block;
  flex: 1;
  
  text-align: center;
  padding: 0;



}



/*for social media icons*/
footer .social
{
  padding-top: 80px;
  flex: 0.2;
  text-align: center;

}

footer .social a
{
  text-decoration: none;
  font-size: 18pt;
  color:#474E49;
}

footer .social a:hover
{
  color: ivory;
}

/*bottom part of footer i.e. the copyright section*/
footer .copyright
{
  text-align: center;
  max-width: 100%;
  display: block;
  background: rgba(0,0,0,0.9);
  width: 100%;
  height: auto;
  padding: 10px 0px;
  color: darkgrey;
  /*line-height: 37.5px;*/
}



footer .copyright p
{
  font-size: 16pt;
  padding: 0px;
  color: grey;
}


.Team1{
    float: left;
    clear: none;
    margin: 0 auto;
    width: 50%;
    padding-right: 0;
}
.Team2{
    float: left;
    padding-left: 0;
    clear: none;
    margin: 0 auto;
    width: 50%;

}

.Member{
    float:none;
    width:40%;
    margin: 0 2%;
    display: inline-block;
    color: black;
}

.MemberText{

    text-align: center;
    margin: 0 auto;
}


.MemberPhoto {
    float:none;
    height:150px;
}

@media (max-width: 1000px) {
   
.Team1{
    width: 100%;
}
.Team2{
    margin-top: 20px;
    width: 100%;
}   


