body{
    background-color: black;
}

.bg{
    display: block;
    filter: blur(10px);
    position: absolute;
    left: 50px;
    right: 50px;
    top: 100px;
    width: calc(100% - 100px);
    height: calc(100% - 100px);
    object-fit: cover;
    z-index: -1;
}

.white{
    background-color: white;
}

.testh{
    margin-top: 10px;
    padding-top: 10px;
    color: white;
    text-align: center;
}

h1{
    padding: 10px 5px;
    max-width: 1300px;
    height: auto;
    text-align: center;
    margin: 0 auto;
    margin-top: 25px;
    background-color: rgb(237, 30, 30);
    display: block;

    border-radius: 15px;   
    border-color: black;
    border-style: solid;
    border-width: 1px;
    border-right-width: 3px;
    border-bottom-width: 3px;

    text-shadow: 3px 2px 1px rgb(89, 14, 14);
    
    color: rgb(238, 238, 238);
    font-size: 40px;
    font-family:'Times New Roman', Times, serif;
}

h2{
    text-align: center;
    color: white;
    font-size: 30px;
}

p{
    text-align: center;
    color: white;
    font-size: 25px;
}

.goal{
    margin: 500px auto 0;
    padding: 15px;
    display: block;
    max-width: 500px;

    background-color: gray;
    border-radius: 25px;
    border-style: solid;
    border-width: 1px;
    border-right-width: 3px;
    border-bottom-width: 3px;
    border-color: black;
    text-shadow: 3px 2px 1px rgb(107, 107, 107);
}

hr{
    margin-top: 50px;
    margin-bottom:50px;
    height: 25px;

    filter: blur(1px);

    background-color: red;
}

.testimonies{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    padding: 20px;
}
@media (max-width: 768px) {
    .testimonies {
        grid-template-columns: 1fr;
    }
}

.teacher, .student{
    background-color: black;
    border-radius: 15px;
    padding: 20px;
    border: 1px solid gray;
}
.student{
    position: relative;
    height: 600px;
}
#s1, #s2, #s3{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: none;
}
#s1{
    display: block;
}
button {
    background-color: rgb(237, 30, 30);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
    border-right: 3px solid black;
    border-bottom: 3px solid black;
    position: relative;  /* ← add this */
    top: 550px;
    z-index: 1;          /* ← and this */
}
button:hover {
    background-color: rgb(108, 6, 6);
}
@keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
} 
@keyframes shake {
    0%   { transform: translateX(0); }
    25%  { transform: translateX(-8px); }
    75%  { transform: translateX(8px); }
    100% { transform: translateX(0); }
}
.animate {
    animation: fadein 0.4s ease, shake 0.4s ease;
}

.help{
    background-color: black;
}
.help p{
    text-align: center;
    max-width: 500px;
    margin: auto;
    margin-top: 50px;
}

.links h2{
    margin-top: 200px;
    font-size: x-large;
}

a{
    display: block;
    text-align: center;
    margin: auto;
    color: red;
}