.yg-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.yg-video img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.yg-video-link {
    display: block;
    position: relative;
}

.yg-video-link:hover {
    opacity: .8;
}


@media only screen and (max-width: 600px) {
    .yg-gallery {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* --------------------------------------------------------------------------------------------------- POPUP */
#dp-custom-timed-popup-bg {
    background: #000000b3;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100000000000;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

#dp-custom-timed-popup img {
    width: 300px;
}

#dp-custom-timed-popup {
    width:100%;
    max-width: 800px;
    max-height: 100%;
    background: white;
    padding: 20px;
    border-top: 15px solid#fe0000;
}

#dp-custom-timed-popup h2 {
    padding-top:0px;
    margin-top: 0;
}
#dp-custom-timed-popup h3 {
    margin-top: 0px;
    margin-bottom: 10px;
    line-height: 1.3;
}



.dp-close-popup {
    float: right;
    position: relative;
    top: -10px;
    color: red;
    font-weight: bold;
}

.dp-row {
    display: flex;
    gap: 40px;
}

.dp-col.dp-popup-col-2 {
    WIDTH: 100%;
}
.dp-col.dp-popup-col-1 {
    width: 60%;
}

#field_2_1 {width: 50%;}
#field_2_3 {width: 50%;}
#gform_fields_2 {
    display: flex;
}




@media only screen and (max-width: 600px) {
    .dp-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    .dp-col.dp-popup-col-1 {
        margin: auto;
    }   
    #field_2_1 {width: 100%;}
    #field_2_3 {width: 100%;}
    #gform_fields_2 {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
    }
    .dp-close-popup {
        position: relative;
        top: -25px;
        right: -25px;
    }
    #dp-custom-timed-popup {padding: 35px;}
    a.amt-btn.popup-btn {
        font-size: 1em!important;
        display: block;
        text-align: center;
    }
}


/* ------------------------------------------------------------------------ Hook Section */
.hero-hook-container .gb-container-content {
    max-width: 100%!important;
    width: 100%;
}

.home-banner {
    z-index: 100;
}
.hero-hook-container {
    position: relative;
    top: 151px;
}
.amt-hook-section-container {
    display: flex;
    height: 85vh;
    align-items: center;
    align-content: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0px;
    background: black;
    color: white;
    background-image: url('https://theartofmentaltraining.com/wp-content/uploads/2024/02/black-background.jpg');
    background-size: cover;
    flex-wrap: wrap;
}
.amt-hook-section-left {
    margin-top: 0px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    align-content: center;
    height: 100%;
    background: #00000059;
}

.amt-hook-section-left { width: 60%; }
.amt-hook-section-right { width: 40%; }
.amt-hs-slide { display: none; }
.amt-hs-slide.active { display: block; }

.amt-hs-text1 {
    font-size: 40px;
    font-weight: bold;
    font-family: "Bebas Neue" !important;
    width:100%;
    line-height: 1;
    display: block;
    margin-bottom: 25px;
}
.amt-hs-slide {
    font-size: 60px;
    font-weight: bold;
    font-family: "Bebas Neue" !important;
    width:100%;
}
.amt-hs-text2 {
    font-size: 26px;
    width: 50%;
    line-height: 1.3em;
    margin-top:25px;
}
.amt-hook-section-left {
    margin-top: -50px;
}
.amt-hook-section-right {
    position: relative;
    z-index: 10;
}
.amt-hs-slider {
    margin-top: -24px;
    width:100%;
}
.amt-hs-slide {
    animation-duration: 4s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    opacity: 0;
    white-space: nowrap;
}

.amt-hook-section-right .video-container iframe {
    width: 759.6px; 
    height: 759.6px;
}
.amt-btn {
    background: #ed1c23;
    color: white;
    padding: 5px 20px;
    border-radius: 100px;
}
.amt-btn:hover {color: white; opacity: .8;}

a.amt-btn.popup-btn {
    font-size: 1.5em;
    text-transform: uppercase;
    border-radius: 0;
}

@keyframes slideIn {
    0% { transform: translateX(-100%); opacity: 0; }
    10% { transform: translateX(0); opacity: 1; }
    90% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

@keyframes slideInText {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { transform: translateY(0); opacity: 1; }
    90% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}


@media only screen and (max-width: 768px) {
    .amt-hook-section-left { width: 100%; padding: 5%;}
    .amt-hook-section-container {height: auto; margin-bottom: 8px;}
    .amt-hs-slide {font-size: 32px;}
    .amt-hs-text1 {font-size: 30px;}
    .amt-hs-text2 {line-height: 1.3em; width:100%; font-size: 16px;}
    .amt-hook-section-left {margin-top: 0px;}
    .amt-hook-section-right {width: 100%; margin-bottom:120px!important;}
    .amt-hook-section-right .video-container iframe {
        width: 500px;
        height: 400px;
        max-width: 100%;
    }
    .amt-hook-section-left { background: #00000000;} 
}



/*--------------------------------------------------------------------------------------------------- ANIMATION */
/*Action Animation*/
@keyframes softZoomBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.05);
    }
    60% {
        transform: scale(1.02);
    }
}

.action-btn-animation {
    display: inline-block;
    animation: softZoomBounce 2.5s ease infinite;
}

@media only screen and (max-width: 768px) {
  .action-btn-animation-m {
    display: inline-block;
    animation: softZoomBounce 2.5s ease infinite;
  }
}