
@import url('https://fonts.googleapis.com/css2?family=Rancho&display=swap');

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}


body {
    font-family: 'Montserrat', sans-serif;
    color: #000;
    background:  #fff;
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    background:  url("./SR\ LPP-min.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:contain;
    margin-top: 4rem;
    
    
}
.container {
    width: var(--container-width-lg);
    margin: 0 auto;
}
section {
    padding: 6rem 0;
}
section h2 {
    text-align: center;
    margin-bottom: 3rem;
}
h1 {
    text-align: center;
}


a {
    color: var(--color-white);
}
img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
#btn {
    text-decoration: none;
    display: inline-block;
    padding: 8px 30px;
    background: #ff0;
    color: #f00;
    font-size: 1em;
    font-weight: 500;
    letter-spacing: 2px;
    border-radius: 40px;
    transform: translateY(150px);
    border: 1px solid transparent;
    

}

#btn:hover {
  background: #000;
  color: #f00;
 



}

.btn {
    display: inline-block;
    padding: 1 rem 2 rem;
    border: 1px solid transparent;
    font-weight: 500;
    border-width: 2px;
    justify-content:center;
    font-family: 'Rancho', cursive;

}
.btn:hover {
    background: rgba(0, 0, 0, 0.5);
    color: red;
    border-color: red;
    border-radius: 100px;
    border-width: 4px;
    animation: squish 0.5s;
    

}
.btn-primary {
    background: red;
    color: #fff;
    padding: 0.8rem;
    content: center;
    text-align: center;
    justify-content: center;
    border-radius: 5px;
    
}
/* ####################### Navbar ##################*/
.logo_responsive {
    height: 5rem;
}


nav {
    background: linear-gradient(to right, red,#000 70%);
    width: 100vw;
    height: 5rem;
    position: fixed;
    top: 0;
    z-index: 11;
    
}
/*      change navbar style when scrolling      */
.window-scroll {
    background: rgba(0, 0, 0, 0.45);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);

}
.window-scroll a {
    color: red;
}
.nav_container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav button {
    display: none;
}
.nav_menu {
    display: flex;
    align-items: center;
  
    
}
.nav_menu a {
    font-size: 0.9rem;
    transition: var(--transition);
    color: red;
    font-size: 30px;
  
    
    
    
}
.nav_menu a:hover {
  
    animation: squish2 0.6s;
 
    
}
@keyframes squish {
    0% {
        transform: scaleY(1);
        transform: scaleX(1);
    }
    60% {
        transform: scaleY(1.7);
        transform: scaleX(1.7);
    }
    80% {
        transform: scaleY(0.8);
        transform: scaleX(0.6);
    }
    100% {
        transform: scaleY(1);
        transform: scaleX(1);
    }
    
}

@keyframes squish2 {
    0% {
        transform: scaleY(1);
        transform: scaleX(1);
    }
    35% {
        transform: scaleY(1.8);
        transform: scaleX(1.3);
    }
    55% {
        transform: scaleY(0.4);
        transform: scaleX(0.4);
    }
    65% {
        transform: scaleY(0.7);
        transform: scaleX(0.7);
    }
    85% {
        transform: scaleY(1.3);
        transform: scaleX(1.3);
    }

    100% {
        transform: scaleY(1);
        transform: scaleX(1);
    }
    
}

.nav_container h4 {
    margin-left: 10px;
}

/* ####################### NAVBAR_DYNAMIC ##################*/


nav button {
    display: inline-block;
    background: transparent;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    padding-right: 2rem;
}
nav button#close-menu-btn {
    display: none;
}
.nav_menu {
    position: fixed;
    top: 5rem;
    right: 5%;
    height: fit-content;
    width: 20rem;
    flex-direction: column;
    gap: 0;
    display: none;
   
}
.nav_menu li {
    width: 100%;
    height: 5.8rem;
    animation: animateNavItems 300ms linear forwards;
    transform-origin: top right;
    opacity: 0;
    backdrop-filter: blur(8px);
    border-color: transparent;
    background: rgba(0, 0, 0, 0.9);
   
}
.nav_menu li:nth-child(2) {
    animation-delay: 100ms;
}
.nav_menu li:nth-child(3) {
    animation-delay: 200ms;
}
.nav_menu li:nth-child(4) {
    animation-delay: 300ms;
}
.nav_menu li:nth-child(5) {
    animation-delay: 400ms;
}
.nav_menu li:nth-child(6) {
    animation-delay: 500ms;
}




@keyframes animateNavItems {
    0% {
        transform: rotateZ(90deg) rotateX(180deg) scale(0.1);
    }
    100% {
        transform: rotateZ(0) rotateX(0) scale(1);
        opacity: 1;
    }
}
.nav_menu li a {
    
    box-shadow: -4rem 6rem 10 rem rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;

}
.nav_menu li a:hover {
    background: rgba(255, 0, 0, 1);
    backdrop-filter: blur(8px);
    border-radius: 5px;
    color: #000;
    
}

/*  fade in skill */
.fade-in {
    opacity: 0;
    transition: opacity 2s ease-in;
}
.fade-in.appear {
    opacity: 1;
}

/* ####################### Heading ##################*/

.sec {
    position: relative;
    width: 100vw;
    height: 130vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    background: url("./2151202.jpg");
    background-size: cover;
   

}

.sec img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    object-fit: cover;
    pointer-events: none;

}
.sec #text {
   position: absolute;
   color: red;
   font-size: 8vw;
   text-align: center; 
   line-height: 0.50em;
   font-family: 'Rancho', cursive;
    
}
.sec #text span {
    font-size: 0.21em;
    letter-spacing: 2px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    color: #ff0;
    
    
    
}
.sec::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #008b8b, transparent);
    
    z-index: 10;


}

/*   end   */

/*    intro story     */
.intro {
    width: 100vw;
    height: 65vh;
    background-color: #008b8b;
   
}
.intro h2 {
    text-align: center;
    background: linear-gradient(to right,orange,#f00 60%);
    text-transform: uppercase;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    font-size: 35px;
    font-family: 'Rancho', cursive;
}

.intro p {
    text-align: center;
    padding: 4rem;
    font-size: 22px;
    padding-left: 20vw;
    padding-right: 20vw;
    color: #fff;
    background: transparent;
  
    width: 100vw;
}

.intro_message {
    
    text-align: center;
    transform: translateX(-100%);
    
  
    
}
.intro_message {
    transition: transform 1.5s ease-in;
    overflow-x: hidden;
    
}


.intro_message.appear {
    
    transform: translateX(0);
    
}

/*   end   */
.question {
    background: rgba(0, 0, 0, 0.6);
}
.question h2 {
    position: relative;
    text-transform: uppercase;
    overflow: hidden;

    background: linear-gradient(90deg, #f00, cyan, #f00 );
    letter-spacing: 4px;
    background-size: 80%;
    background-clip: clip;
    background-repeat: no-repeat;
    animation: h2 2.5s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 70px;
    
    

}
@keyframes h2 {
    0% {
        background-position: -500%;
    }
    100% {
        background-position: 500%;
    }
}
.image_spread img {
    object-fit: scale-down;
    border-radius: 280px;
    width: 200px;
    margin: auto;
    margin-top: 40px;
}
.image_spread img:hover{
    transform: scale(1.0);
    overflow: hidden;
}
.image_spread {
    object-fit: scale-down;
    display: flex;
    margin: auto;
    
}
.circle_window{
    gap:0;
    margin: 0;
    padding: 0;
}
.box_image{
   background-color: #fff; 
}
/* flip card*/
.flip_cards_sec {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    background: #fff;

    
    color:#ff0;
}
.flip_cards h2 {
    margin-bottom: 50px;
}
.flip_cards {
    position: relative;
    margin: 20px;
    transform-style: preserve-3d;
    perspective: 1000px;
    display: flex;
    gap: 3rem;
    
   
}
.flip_card_front,
.flip_card_back {
    width: 400px;
    min-height: 600px;
    height: auto;
    background-image: url("./2892432.jpg");
    background-size: cover;
    background-position: center;
    text-align: center;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    border-radius: 20px;
    font-family: 'Rancho', cursive;
    font-size: 25px;

}
.flip_cards:nth-of-type(2) .flip_card_front,
.flip_cards:nth-of-type(2) .flip_card_back {
    background-image: url("./waterdrop.jpg");
    
}
.flip_cards:nth-of-type(3) .flip_card_front,
.flip_cards:nth-of-type(3) .flip_card_back {
    background-image: url("./waterpool.jpg");
}
.flip_card_front {
    transform: rotateY(0deg);
}
.flip_card_back {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateY(180deg);     
}
.flip_card_front::after,
.flip_card_back::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: o;
    left: 0;
    opacity: 0.6;

}
.flip_card_front .inner,
.flip_card_back .inner {
    width: 100%;
    padding: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateZ(60px) scale(0.94);
    z-index: 2;
}
.inner .icon {
    width: 80px;
    margin-bottom: 20px;
}
.inner h3{
    margin-bottom: 8px;
    color: red;
    font-size: 50px;
    font-weight:900;
    font-weight: 700;
    line-height: 30px;
    text-transform: capitalize;
    font-family: 'Rancho', cursive;
}
.inner p {
    color: #ff0;
    font-size: 20px;
    line-height: 20px;
    font-family: 'Rancho', cursive;
}
.flip_cards:hover .flip_card_front {
    transform: rotateY(-180deg);
}
.flip_cards:hover .flip_card_back {
    transform: rotateY(0deg);
    background: rgba(0, 0, 0, 0.8);
    color: yellow;
    font-size: 25px;
    font-family: 'Rancho', cursive;
}
.outer_story li {
    padding-top: 3rem;
}

/*   end   */
/*   levels  */
.levels {
    max-height: 280vh;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    background: url("./drops.jpg");
    background-size: cover;
    
    

}
.levels_box {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    margin-left: 25vw;
    margin-right: 25vw;
    border-radius: 25px;
    color: #fff;
    background-size: cover;
    
    
    
}


.levels_box li {
    padding-bottom: 2rem;
        
}

.levels_box li h3 {
    color: #ff0;
    font-size: 50px;
    font-weight: 800;
    font-family: 'Rancho', cursive;
}

.levels_box li p {
    color: #fff;
    font-size: 25px;
    padding-left: 7rem;
    padding-right: 7rem;
    font-weight: 700;
    
}
.levels_box h2 {
    position: relative;
    text-transform: uppercase;
    overflow: hidden;

    background: linear-gradient(90deg, #000, #ff0, #000 );
    letter-spacing: 4px;
    background-size: 80%;
    background-clip: clip;
    background-repeat: no-repeat;
    animation: h2 2.5s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 60px;
    font-family: 'Rancho', cursive;
}


/* video*/

.promo {
    justify-content: center;
    width: 100vw;
    display: flex;
    background: rgba(0, 0, 0, 0.95);
}
#player {
    width: 250px;
}

/*   end  */
.header_under {
    height: 50vh;
    width: 100vw;
}
.content {
    height: 100%;
    width: 100%;
    position: relative;
    padding: 31px;
    display: flex;
    padding: 100px;
    background: #fff;
  }
  .content p{
    position: relative;
  }
  .content h3 {
    color: #fff;
    font-size: 150px;
    position: absolute;
    top: 100%;
    left: 50%;
    letter-spacing: 5px;
    transform: translate(-50%, -50%);
  }
  .content h3:nth-child(1){
    color: black;
    -webkit-text-stroke: #fff;
  }
  .content h3:nth-child(2) {
    color: cyan;
    animation: animate 3s ease-in-out infinite;
  }
  @keyframes animate {
    0%,
    100% {
      clip-path: polygon(
        0% 45%,
        16% 44%,
        33% 50%,
        54% 60%,
        55% 61%,
        84% 59%,
        115% 90%,
        0% 100%
      );
    }
    50% {
      clip-path: polygon(
        0% 60%,
        15% 65%,
        34% 66%,
        51% 62%,
        67% 50%,
        84% 50%,
        130% 90%,
        0% 95%
      );
    }
  }

/* ####################### FAQ ##################*/
.faqs {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 0 3rem rgba(0, 0, 0, 0.2);
    
    

}
.faqs_container {
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    
}
.faq {
    margin: 0.7rem;
    padding: 2rem;
    display: flexbox;
    align-items: center;
    gap: 1.4rem;
    height: fit-content;
    background: rgba(0, 0, 0, 0.80);
    cursor: pointer; 
    margin-left: 20vw;
    margin-right: 20vw;
  
}
.faqs h2 {
    color:  rgb(255, 0, 0);
    background: rgba(0, 0, 0, 0.4);
    margin-left: 35vw;
    margin-right: 35vw;
    font-size: 40px;
    


    

}
.faq:hover {
    color: red;
}
.faq h4 {
    font-size: 1.3rem;
    line-height: 2.2;
    color: #ff0;
    text-align: center;
    font-family: 'Rancho', cursive;
}
.faq_icon {
    align-self: flex-start;
    font-size: 1.2rem;
}
.faq p {
    margin-top: 0.8rem;
    display: none;
    color: #fff;
    text-align: center;
    margin-left: 10vw;
    margin-right: 10vw;
}
.faq.open p {
    display: block;
}


/*  footer  */

.footer {
    background: transparent;
    padding-top: 5rem;
    font-size: 25px;
    font-family: 'Rancho', cursive;
    background-size: cover;
    background: linear-gradient(to right,#000,red 70%);
    box-shadow: inset 0 0 3rem rgba(0,0,0, 0.7);
    
}
.footer_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
    justify-content: center;
  

}
.footer_container > div h4 {
    margin-bottom: 1.2rem;
    color: #fff;
}
.footer_container > div p {
    color: #fff;
    margin: 1.5rem;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    text-align: center;
    
}
.footer_container >div p:hover {
    color: #fff;
    margin: 1.5rem;
    padding: 0.8rem;
    background: transparent;
    border-radius: 10px;
    text-align: center;
    
    
}
.footer_1 p {
    margin: 0 0 2rem;
    color: #fff;
    
}
.footer p {
    color: #fff;
}
.footer li a {
    color: #fff;
}
footer ul li a:hover {
    text-decoration: underline;

}
.footer_social {
    display: flex;
    gap: 1rem;
    font-size: 30px;
    margin-top: 2rem;
}

.footer_copright {
    color: #fff;
    margin-top: 4rem;
    padding: 1.2rem;
    border-top: 1px solid red;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    font-size: 20px;
}
.footer_copright:hover{
    background: rgba(0, 0, 0, 0);
}

.footer_container {
    grid-template-columns: 1fr 1fr 1fr;

}


.graphic {
    margin-bottom: 50rem;
    padding: 10rem;
}



/* ############ Tablet ################*/

@media (max-width: 1300px)
{
    html.body {
        width: 100%;
        height: 100%;
        margin: 0;
        overflow-x: hidden;
        background: url("./Swimmie\ plus\ Logo-min.jpg");
        background-position: bottom;
        
    }

    .sec {
        position: relative;
        width: 100%;
        height: 125vh;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow-x: hidden;
        background-position: 10%;
        

    
    }
    .sec #text {
        position: absolute;
        color: red;
        font-size: 20vw;
        text-align: center; 
        line-height: 0.50em;
        font-family: 'Rancho', cursive;
         
     }
     .sec #text span {
         font-size: 0.20em;
         letter-spacing: 2px;
         font-weight: 400;
         
         
     }
     .sec::before {
         content: '';
         position: absolute;
         bottom: 0;
         left: 0;
         width: 100%;
         height: 100px;
         background: linear-gradient(to top, #008b8b, transparent);
         z-index: 10;
     
     
     }

     .intro {
        height: 65vh;
        width: 100vw;
    }

    .intro p {
        text-align: center;
        padding: 4rem;
        font-size: 17px;
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .levels {
        max-height: 390vh;
    }
    .levels_box {
        position: relative;
      
        margin-left: 5vw;
        margin-right: 5vw;
        border-radius: 25px;
       
        
        
        
       
    }
    .question h2 {
       
        font-size: 40px;
        
    
    }
    .content h3 {
        font-size: 70px;
    }
     
   
    
    .faq {
        margin-left: 0;
        margin-right: 0;
    }
    
   
  
}


@media screen and (max-width: 700px) {
   
    body {
        width: 100vw;
        min-height: 100%;
        margin-top: 3rem;
        overflow-x: hidden;
        position: absolute;
        background:  url("./SR\ LPP-min.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size:300px, 500px;
    
        
    }
    /* ####################### nav ##################*/
    .nav_menu {
        right: 3%;
    }
    .nav h4 {
        text-align: center;
    }
    .nav_menu a:hover {
  
        animation: squish 0.5s;
        border-radius: 3px;
        
    }
    .nav_menu li{
        height: 5rem;
    }
    @keyframes squish {
        0% {
            transform: scaleY(1);
            transform: scaleX(1);
        }
        60% {
            transform: scaleY(1.8);
            transform: scaleX(1.3);
        }
        80% {
            transform: scaleY(0.8);
            transform: scaleX(0.6);
        }
        100% {
            transform: scaleY(1);
            transform: scaleX(1);
        }
        
    }
    
    /* ####################### Header ##################*/
    .sec {
        position: relative;
        width: 100%;
        height: 125vh;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow-x: hidden;
        background-position: 10%;
        

    
    }
    .sec img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100%;
        object-fit: cover;
        pointer-events: none;
    }
    .sec #text {
       position: absolute;
       color: red;
       font-size: 35vw;
       text-align: center; 
       line-height: 0.50em;
       font-family: 'Rancho', cursive;
        
    }
    .sec #text span {
        font-size: 0.20em;
        letter-spacing: 2px;
        font-weight: 400;
        
        
    }
    .sec::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100px;
        background: linear-gradient(to top, #008b8b, transparent);
        z-index: 10;
    
    
    }
    .image_spread {
        width: 100vw;
    }
    .image_spread img {
        width: 80px;
    }
    .intro {
        height: 155vh;
        width: 100vw;
    }

    .intro p {
        text-align: center;
        padding: 4rem;
        font-size: 17px;
        padding-left: 5vw;
        padding-right: 5vw;
    }
    .question h2 {
       
        font-size: 40px;
        
    
    }
    
    .flip_card_front,
    .flip_card_back {
        width: 280px;
        min-height: 500px;
        height: auto;
       
    }
    .levels {
        max-height: 390vh;
    }
    .levels_box {
        position: relative;
      
        margin-left: 5vw;
        margin-right: 5vw;
        border-radius: 25px;  
    }
    .levels_box h2 {
        font-size: 50px;
      
    }

    .levels_box li p {
        
        font-size: 20px;
        padding-left: 0rem;
        padding-right: 0rem;
       
    } 
    .levels_box li h3 {
        font-size: 30px;
        color: #ff0;
    }
    .content h3 {
        font-size: 50px;
    }
    .faqs h2 {
        color:  #fff;
        background: rgba(0, 0, 0, 0.4);
        margin-left: 0vw;
        margin-right: 0vw;
        
    
    }
  
  
    .faq p {
        margin-top: 0.8rem;
        display: none;
        color: #fff;
        text-align: center;
        margin-left: 2vw;
        margin-right: 2vw;
    }
    .faq {
        margin-left: 0;
        margin-right: 0;
    }
 
 


    /* ####################### Footer ##################*/
    .footer_container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.2rem;
      
       
    }
    .footer {
        
        grid-template-columns: 1fr;
    }
    .footer_1 p {
        margin: 1rem auto;
    }
    .footer_social {
        justify-content: center;
    }
   

}


