body
{
    background-image: url('/Images/bg.png');
    /*background-size:auto;*/
    background-size: 900px;
    background-repeat: repeat;

    display: flex;

    justify-content: left;
    align-items: center;

    flex-direction: column;
}

.justify_left
{
    align-items: start;
}

.recommended-container
{
    display: flex;
    flex-direction: column;

    align-items: center;

    padding: 10px;

    height: 300px;
    width: 500px;

    border: 2px solid;
    border-radius: 10px;

    animation: borderColor 2s infinite;
}

.briefHook
{
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;

    background: var(--purple);
    
    font-size: 20px;
    font-family: "Varela Round", sans-serif;
    color: white;

}

.sectionTitle
{
    display:  flex;
    flex-direction:  column;
    align-items: center;
    align-content: center;

    margin-top:100px;
    margin-bottom:100px;

    width: 100%;
    background: var(--purple);
    font-family: "Varela Round", sans-serif;
    color: white;
}

.strugglesContainer
{
    width: 90%;
}

.struggles
{
    font-family: "Varela Round", sans-serif;
    font-size: large;
    font-weight: 500;
    transition: scale .3s;
}

.struggles:hover
{
    font-weight: 600;
    scale: 110%;
}

.whatYoullGetHeadline
{
    display: flex;
    flex-direction: column;
    line-height: 0px;
    font-family: "Varela Round", sans-serif;

    align-items: center;

    width: 50%;
    border-radius: 10px;

    color: white;
    font-size: large;
    font-weight: 500;
    font-style: oblique;
    background: var(--red);
}

.udemyRating
{
    display: flex;
    flex-direction: column;
    line-height: 0px;

    align-items: center;
    width: 50%;
    background: var(--purple);

    font-family: "Varela Round", sans-serif;
    color: white;
    font-size: xx-large;
    font-weight: 700;

    margin-top: 50px;
    border-radius: 10px;
    box-shadow: inset 0px -5px 0px rgba(0, 0, 0, 0.2);    
}


.testimonialGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
  gap: 20px;
  justify-content: center; 
  width: 90%;
  margin: 0 auto 100px;
  padding: 20px;
  background: var(--purple);
  border-radius: 20px;
}


.testimonialGrid img
{
    width: 100%;
    height: auto;
    object-fit: cover;

    transition: scale .5s;
}

.testimonialGrid img:hover
{
    scale: 150%;
}


.reassure
{
    position: relative;
    width: 50%;
    font-family: "Varela Round", sans-serif;
    font-size: large;
    font-weight: 500;
    border-radius: 10px;
    padding: 20px; /* so text doesn’t overlap */
    z-index: 0;
    overflow: hidden;
    margin-bottom: 50px;

    transition: scale .5s;
}

/* Rainbow border */
.reassure::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: inherit;
    background: linear-gradient(270deg, 
        red, orange, yellow, green, cyan, blue, violet, red);
    background-size: 400% 400%;
    z-index: -2;
    animation: rainbow 8s linear infinite;
}

/* Make sure only the border shows */
.reassure::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border-radius: inherit;
    background: #fff; /* same as .reassure background */
    z-index: -1;
}

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.reassure:hover
{
    font-weight: 600;
    scale: 110%;
}

.letsDoTheMath
{
    font-family: "Varela Round", sans-serif;
    font-size: large;
    font-weight: 500;

    width: 90%;
}

.copyright {
    display: flex; /* make it a flex container */
    width: 100%; 
    justify-content: center; /* center the text horizontally */
    align-items: center; /* center the text vertically */
    background: var(--purple);    
    padding: 10px 0; /* optional padding for nicer height */
    box-sizing: border-box; /* ensures padding doesn’t overflow */
}

.copyrightText {
    font-family: "Varela Round", sans-serif;
    color: white;
    font-size: large;
    font-weight: 500;
}

.video-container {
  position: relative;
  width: 70%;
  max-width: 700px;
  aspect-ratio: 16 / 9; /* auto height based on width */
  margin: auto;
  margin-top: 50px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 600px;
  border-radius: 10px; /* optional, for rounded corners */
}