﻿body{
    text-align:center;
    color:black!important;
}

.floating-image {
    position: fixed;
    bottom: 10px; /* Adjust this value to position the image vertically */
    right: 10px; /* Adjust this value to position the image horizontally */
    width: 70px; /* Adjust the width of the image */
    height: auto; /* Maintain aspect ratio */
    z-index: 999; /* Ensure the image is on top of other content */
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-3px);
    }

    100% {
        transform: translateX(0);
    }
}

.shake-button {
    display: inline-block;
    overflow: hidden; /* Ensure the image doesn't overflow its container */
}

    .shake-button img {
        max-width: 100%; /* Ensure the image doesn't exceed its container */
        transition: transform 0.3s ease;
    }

    /* Apply the animation on hover */
    .shake-button:hover img {
        animation: shake 0.5s ease infinite;
    }

.new-container {
    padding: 0 !important;
}

/*.hero-section {
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding:0 10px;
}*/

.free-video-section{
    padding:15px;
}

.hero-subheading-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.hero-subheader {
    font-size:18px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-subheading {
    font-size: 24px;
}

.free-video-section h1 {
    font-size: 40px;
    font-weight: 700;
    margin-top: 0;
    text-align:center;
}

.button-div-container {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
}

.video-container {
    overflow: visible!important;
    position: relative;
    max-width: 100%;
    margin-top:35px;
}


iframe {
    width: 100%;
    height: 100%;
    /*position:relative!important;*/

}

video-container h3{
    font-size:18px;
    text-align:center;
}

.free-hero-section{
    margin-top:30px;
    margin-bottom:30px;
    padding:15px;
}

.free-hero-section p{
    margin-top:20px;
    font-size:16px;
}



.free-hero-section h3{
    font-size:28px;
}

.free-h3 {
    font-size: 20px;
    margin-top: 50px;
    text-align: center;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    font-weight:700;
    color:black;
    margin-bottom:0!important;
}

.free-blocos{
    padding:30px;
   
}

.free-h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

.playlist-container {
    display:flex!important;
    flex-wrap: wrap;
    flex-direction: column;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom:50px;
}

.learn-button {
    display: inline-block;
    width: 30%; /* Fixed width */
    padding: 10px;
    font-size: 12px;
    border: none;
    border-radius: 2px;
    text-align: center;
    text-decoration: none!important;
    cursor: pointer;
    box-sizing: border-box; /* Ensures padding and border are included in the width */
    overflow: hidden; /* Ensures text doesn’t overflow */
    white-space: nowrap; /* Prevents text from wrapping */
}


#basic {
    background-color: #5A3DEB;
    color:white;

}

#intermediate {
    background-color: #3d7deb;
    color:white;
}

#advanced {
    background-color: #a4bfed;
    color:black; 
}

#basic:hover {
    background-color:darkblue;
}

#intermediate:hover {
    background-color: darkblue;
}

#advanced:hover {
    background-color: darkblue;
}

.playlist-div-container{
    margin-top:20px;
    display:flex;
    justify-content:space-evenly;

}

.playlist-div-containers{
    width:100%;
    margin-left:auto;
    margin-right:auto;
}

@media screen and (min-width:400px) {
    .free-video-section {
        padding: 20px;
    }
    .playlist-header {
        margin: 5px 0 0 0 !important;
        font-size: 18px;
    }

    .free-video-section h1{
        width:80%;
        margin-left:auto;
        margin-right:auto;
    }

     .free-hero-section h3 {
            font-size: 30px;
     }

     .free-hero-section p {
            font-size: 16px;
     }

    .learn-button{
        font-size:14px;
    }

}

@media screen and (min-width:450px) {
    .learn-button{
        padding:15px;
    }

}

@media screen and (min-width:500px) {
    .free-video-section{
        padding:25px;
    }
    .free-h3{
        width:80%;
        margin-left:auto;
        margin-right:auto;
    }
}

@media screen and (min-width:550px) {
    .free-video-section {
        padding: 30px;
    }
    .free-h3 {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width:600px) {
    .free-h3{
        font-size:24px;
    }
    .free-video-section {
        padding: 35px;
    }

}

@media screen and (min-width:650px) {

    .free-video-section {
        padding: 40px;
    }

}

@media screen and (min-width:700px) {
    .free-h3{
        margin-top:45px;
    }
    .playlist-container{
        flex-direction:row;
    }

    .playlist-container{
        justify-content:center;
        width:80%;
    }

}

@media screen and (min-width:778px) {

    .free-hero-section h3{
        text-align:center;

    }

/*    .caplearn-hero-button-div{
        display:flex;
        justify-content:center;
        margin-top:15px;
    }*/

}

@media screen and (min-width:800px) {

    .free-video-section {
        padding: 20px 60px 40px 60px;
    }

}

@media screen and (min-width:900px) {
    .free-h3{
        width:65%;
    }
}

@media screen and (min-width:1000px) {

    .free-video-section{
        padding:20px 90px 50px 90px;
    }
    .free-h3 {
        width: 60%;
    }

}

@media screen and (min-width:1150px) {

    .free-video-section {
        padding: 20px 140px 50px 140px;
    }

    .free-h3{
        width:55%;
    }
    .learn-button{
        padding:20px;
        font-size:15px;
    }
}

@media screen and (min-width:1200px) {
    .free-video-section {
        padding: 20px 160px 60px 160px;
    }
}


@media screen and (min-width:1250px) {
    .free-video-section {
        padding: 20px 140px 60px 140px;
    }
}

@media screen and (min-width:1300px) {
    .free-video-section {
        padding: 20px 190px 60px 190px;
    }
}

@media screen and (min-width:1350px) {
    .free-video-section {
        padding: 20px 220px 60px 220px;
    }
}

@media screen and (min-width:1400px) {
    .free-video-section {
        padding: 20px 250px 60px 250px;
    }
}

@media screen and (min-width:1450px) {

    .free-video-section {
        padding: 20px 280px 60px 280px;
    }
}

@media screen and (min-width:1500px) {

    .free-video-section {
        padding: 20px 300px 60px 300px;
    }
}

@media screen and (min-width:1550px) {
    .free-video-section {
        padding: 20px 330px 60px 3300px;
    }
}

@media screen and (min-width:1600px) {
    .free-video-section {
        padding: 20px 350px 60px 350px;
    }
}