* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.hero-image {
    height: 150vh;
    background: url('/static/img/mainbg.png') no-repeat center center/cover;

    /* Adjust this value based on the height of your navbar */
}

.hero-overlay {
    height: 37%;
    margin-top: 655px;
    display: inline-block;
    background-image: linear-gradient(rgba(5, 5, 2, 0.5), rgba(151, 7, 156, 0.438));
}

@media only screen and (max-width: 600px) {
    .hero-overlay {
        background-image: none;
    }

    .image-item2 {
        display: none;
    }

    .image-item {
        display: none;
    }

    .paragraph2 {
        width: 80%;

    }
    .bioimg {
        display: none;
        
    }
    p{
        font-size: 0.6rem;
    }
    #t1{
        font-size: 1rem;
    }
    #t2{
        font-size: 1rem;
    }
    #t3{
        font-size: 1rem;
    }
    #t4{
            font-size: 1rem;
    }
    #pasli{
        font-size: 0.8rem;
    }
}
@media only screen and (max-width: 1200px) {
    .image-item2 {
        display: none;
    }

    .image-item {
        width: 10px;
    }
}


.events {
    margin-top: 130px;
}


.logo {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.signbtn {
    background-color: transparent;
    color: #eee;
    border: 1px solid white;
    transition-duration: 0.5s;
}

.signbtn:hover {
    background-color: #fff;
    color: #111;
    transition-duration: 0.5s;
}



.bishtarbtn {
    background-color: transparent;
    color: #eee;
    border: 1px solid white;
    transition-duration: 0.5s;

}

.bishtarbtn:hover {
    background-color: #fff;
    color: #111;
    transition-duration: 0.5s;
}

.event {
    margin: auto;
    display: inline-block;
}


.secondpart {
    height: 70%;
    width: 100%;
    border-radius: 10px;
    border: 1px solid yellow;
    padding-top: 110px;

}

.headcarousel {
    display: inline-block;

}

.text-font {
    font-size: 5rem;
}

.caroselimg:hover {
    opacity: 0.5;
    transition-duration: 0.3s;
}

.thirdpart {
    height: 60%;
    width: 80%;
    background-color: #fff;
    border-radius: 30px 0px 0px 30px;
    display: flex;
    align-items: center;
    padding: 10px;


}

.bioimg {
    display: flex;
    padding-top: 40px;
}

.textrs {
    text-align: justify;
}

.biocontainer {
    display: inline-block;
    flex: 1;
    width: 50%;
    /* متن فضای باقی‌مانده را پر کند */
    margin-right: 15px;
    /* فاصله بین متن و عکس */
}

.biocontainer p,
.biocontainer h2 {
    color: #000;
    display: inline-block;
    padding: 20px;
    text-align: justify;
}

.biocontainer p {
    line-height: 30px;
    color: #444;
    text-align: justify;
}

.biocontainer h2 {
    font-family: 'Courier New', Courier, monospace;
    font-size: 50px;
    font-weight: bold;
}

#bottone1 {
    padding-left: 23px;
    padding-right: 23px;
    padding-bottom: 5px;
    padding-top: 5px;
    border-radius: 24px;
    background: #8E599A;
    border: none;
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    transition: 0.4s;
    width: 130px;
    color: #444;

}

#bottone1:hover {
    box-shadow: 7px 5px 56px -14px #8E599A;
}

#bottone1:active {
    transform: scale(0.97);
    box-shadow: 7px 5px 56px -10px #8E599A;
}


#bottone2 {
    padding-left: 23px;
    padding-right: 23px;
    padding-bottom: 5px;
    padding-top: 5px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #8E599A;
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    transition: 0.4s;
    width: 130px;
    color: #444;
}

#bottone2:hover {
    box-shadow: 7px 5px 56px -14px #8E599A;
}

#bottone2:active {
    transform: scale(0.97);
    box-shadow: 7px 5px 56px -10px #8E599A;
}



.fourthpart {
    width: 100%;
    justify-content: space-between;
    /* فاصله بین پاراگراف‌ها و عکس‌ها */
    display: flex;
    border: 1px solid #8E599A;
    border-left: none;
    border-right: none;

}


.paragraph {
    flex: 1;
    /* هر پاراگراف فضای مساوی را اشغال کند */

    /* فاصله بین پاراگراف‌ها و عکس‌ها */
    width: 70%;
    line-height: 35px;
    text-align: justify;

}

.paragraph p {
    color: #999;
    text-align: justify;
}

.title {
    font-size: 30px;
    /* اندازه فونت تایتل */
    font-weight: bold;
    /* پررنگ کردن تایتل */
    margin-bottom: 20px;
    /* فاصله بین تایتل و پاراگراف */


}

.button {
    cursor: pointer;
    position: relative;
    padding: 5px 24px;
    font-size: 18px;
    color: #8E599A;
    border: 2px solid #8E599A;
    border-radius: 34px;
    background-color: transparent;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 50px;
    height: 50px;
    border-radius: inherit;
    scale: 0;
    z-index: -1;
    background-color: rgb(142, 89, 154);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.button:hover::before {
    scale: 3;
}

.button:hover {
    color: #212121;
    scale: 1.1;
    box-shadow: 0 0px 20px rgba(142, 89, 154, 0.4);
}

.button:active {
    scale: 1;
}

.images {
    display: flex;
    /* چیدمان عمودی عکس‌ها */
    flex-direction: column;
    /* چیدمان عمودی */
    align-items: center;
    /* مرکز کردن عکس‌ها */
    /* فاصله از پاراگراف‌ها */
    margin-top: 10px;
    margin-bottom: 10px;
}

@media screen {
    .images {
        display: null;
    }
}


.image-item img {
    width: 200px;
    /* عرض عکس‌ها */
    height: auto;
    /* حفظ نسبت ابعاد */
    border-radius: 8px;
    /* گوشه‌های گرد عکس‌ها */
}

.fithpart {
    height: 40%;
    display: flex;



}

.paragraph2 {

    padding-bottom: 50px;
    padding-top: 50px;
    line-height: 35px;

    padding-right: 20px;
    text-align: justify;
    width: 70%;

}

.paragraph2 p {
    color: #999;
    margin-top: 50px;
}

.title2 {
    font-size: 50px;
    /* اندازه فونت تایتل */
    font-weight: bold;
    /* پررنگ کردن تایتل */
    margin-bottom: 50px;
    /* فاصله بین تایتل و پاراگراف */


}

.divazmoon {

    border: 1px solid #fff;
    border-right: none;
    border-radius: 350px 0px 0px 350px;
    margin-top: 100px;
}



.image-item2 img {
    width: 350px;
    /* عرض عکس‌ها */
    height: auto;
    /* حفظ نسبت ابعاد */
    border-radius: 8px;
    /* گوشه‌های گرد عکس‌ها */
}

footer {
    height: 30%;
    width: 100%;
    background-color: #212121;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.25);
    /* شادو کم‌رنگ */
    border-radius: 80px 0 0 0;
    padding: 20px;
    /* فاصله داخلی */
    display: flex;
    /* چیدمان افقی */

}


.row {
    display: flex;
    flex-wrap: wrap;
}

ul {
    list-style: none;
}

.footer {
    background-color: #24262b;
    padding: 70px 0;
}

.footer-col {
    width: 25%;
    padding: 0 15px;
}

.footer-col h4 {
    font-size: 18px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #e91e63;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    text-transform: capitalize;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    color: #bbbbbb;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
    color: #24262b;
    background-color: #ffffff;
}


@media (max-width: 767px) {
    .footer-col {
        width: 50%;
        margin-bottom: 30px;
    }
}


@media (max-width: 574px) {
    .footer-col {
        width: 100%;
    }
}