.body {
    background-size: cover;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: default;
    background-image: url('images/math_background2.png');
    padding: 30px;
}

.content_container {
    height: auto; /* Use viewport height for full-screen container */
    background-color: white;
    border-radius: 25px;
    padding-bottom: 30px;
}

/* part 1 title_caption*/
.title_caption{
    margin: 30px 20px 20px 20px;
    display: flex;
    text-align: center;
    justify-content: center;
}
.title_caption h1{
    margin: 0;
    font-size: 65px;
    font-family: 'Lobster', cursive;
    display: inline;
}

/* part 2*/
.part_two{
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.ptwo_puzzle{
    width: 44%;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.b_puzzle img{
    height: 100%;
    width: 100%;
    border-radius: 25px;
    border: 5px solid black;
}
.ptwo_puzzle h1{
    font-size: 40px;
    font-family: 'Lobster', cursive;
}
.ptwo_puzzle p{
    font-weight: 400;
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
}
.part_two button{
    width: 220px;
    border: none;
    padding: 12px 48px;
    font-family: 'Lobster', cursive;
    border-radius: 6px;
    cursor: pointer;
    background-image: linear-gradient(to left, #3bff45, black, #3bff45);
    background-size: 200%;
    color: rgb(255, 255, 255);
    transition: 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}
.part_two button img{
    margin-left: 10px;
}
.part_two button:active{
    background-position: right;
}
.part_two button:hover{
    background-position: right;
}

.video{
    width: 100%;
    border: 2px black solid;
    border-radius: 25px;
}

.phone{
    text-decoration: none;
    color: white;
}

.left{
    text-align: left;
}
.br{
    margin-top: 3px;
}

@media (max-width: 1200px) {
    .body{
        padding: 10px;
        text-align: center;
    }
    .ptwo_puzzle{
        width: 100%;
        align-items: center;
    }
    .ptwo_puzzle p{
        width: 100%;
    }
    .part_two button{
        width: 400px;
        margin: 0px;
        padding: 24px 96px;
    }
    .phone{
        font-size: 42px;
    }
    .ptwo_puzzle h1{
        font-size: 52px;
        font-family: 'Lobster', cursive;
    }
    .title_caption h1{
        font-size: 90px;
    }
    .allrights{
        font-size: 32px;
    }
}

/* additonal things*/
/*img foggy*/
.foggy-image {
    position: relative;
    display: inline-block;
    overflow: hidden; /* Prevents the fog from overflowing when transitioning */
}

.foggy-image img {
    display: block;
    width: 98.2%;
    height: auto;
}
.foggy-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0); /* Initial transparent background */
    transition: background-color 0.5s ease; /* Adjust the transition duration as needed */
}

.foggy-image:hover::before {
    background-color: rgba(142, 227, 30, 0.164); /* Adjust the opacity as needed */
}

/*animations*/
.hidden{
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-100%);
    transition: all 1s;
}
.show{
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.animation_sx{
    background: linear-gradient(90deg,#3bff45, black, #3bff45, black, #3bff45);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 5s infinite linear;
}