
#Top {
    display: flex;
    justify-content: space-evenly;
    align-items: end;
    margin-top: 50px;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    padding: 0 20px;
    position: relative;
}

#top-image-section {
    max-width: 500px;
}

#top-text-section {
    min-width: 500px;
}

#top-image {
    width: 100%;
}


#top-title-text {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 0;
    font-family: Vazir, "Segoe UI", system-ui;
    /*text-shadow: 0 0 10px var(--primary-color);*/
}

.top-button {
    margin: 5px;
    padding: 1.1em 2em;
    display: inline-block;
}


.top-button:hover {
}

#top-text-section label {
    font-size: 18px;
    /*font-weight: 400;*/
}

.section-title-box {
    display: flex;
    align-items: center;
    opacity: 0.6;
}

.section-title {
    text-align: right;
    font-family: Vazir, "Segoe UI", system-ui;
    font-size: 35px;
    margin-right: 10px;
    /*line-height: 10px;*/
}

.background-square {
    width: 300px;
    height: 300px;
    background-color: #06b25d;
    transform: rotate(45deg);
    border-radius: 50px;
    position: absolute;
    z-index: -1;
    right: -200px;
    top: 550px;
}


@media (max-width: 945px) {
    #Top {
        flex-wrap: wrap;
    }

    #top-text-section {
        width: 100%;
        min-width: unset;
    }
}

#course-section {
    margin-right: 50px;
    margin-left: 50px;
    position: relative;
}


#post-section {
    margin-right: 50px;
    margin-left: 50px;
}

#social-section {
    margin: 50px 11%;
    color: white;
}

.social-box {
    background-color: #171717;
    padding: 50px 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    border-radius: 50px;
    transition: all 200ms linear;
}

.social-box:hover .social-box-image {
}

.social-box-title {
    font-size: 4rem;
    line-height: 10px;
}

.social-box-title:after {
    content: '';
    display: block;
    width: 120px;
    height: 10px;
    background-color: #ff2929;
}

.social-box-content {
    margin-left: 60px;
}

.social-box-content .social-box-visitbtn {
    color: white;
    display: inline-block;
    background-color: #2c2c2c;
    margin-top: 15px;
}

.social-box-image {
    width: 100px;
    transform: scale(2);
}

@media (max-width: 600px) {
    #social-section {
        margin: 50px 10px;
    }
    .social-box {
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column-reverse;
    }
    .social-box-content {
        margin: 0;
        text-align: center;
        width: fit-content;
    }
    .social-box-image {
        margin-bottom: 30px;
        transform: scale(1);
        width: 200px;
    }
}