/*Home page main section styling - Yaryna*/

/* Header Banner  */
.video_section {
    width: auto;
    z-index: 0;
    position: relative;
}

.video_section video {
    width: 100%;
}

.video_section .content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.video_section .content h1 {
    margin-bottom: 0px;
    color: #fff;
    font-weight: 600;
    transition: 0.5s;
    font-size: 100px;
}

.video_section .content h1:hover {
    -webkit-text-stroke: 2px #fff;
    color: #ffffff3f;
}

.video_section .content a {
    display: inline-block;
    padding: 10px 30px;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid #fff;
    transition: 0.3s;
}

.video_section .content a:hover {
    background-color: var(--theme-colour);
    border: 2px solid var(--theme-colour);
    color: #fff;
}

@media only screen and (max-width:1300px) {

    .video_section .content h1 {
        font-size: 90px;
    }
}

@media only screen and (max-width:1100px) {

    .video_section video {
        height: 700px;
        width: min-content;
        object-fit: cover;
        max-width: 100%;
    }

    .video_section .content h1 {
        font-size: 80px;
    }
}

@media only screen and (max-width:900px) {

    .video_section .content h1 {
        font-size: 70px;
    }
}


/*-----------------------------------------------------------*/

/* Section 2: Department life */
.college-cards {
    margin-left: var(--content-margin);
    margin-right: var(--content-margin);
    margin-bottom: 5vh;
    text-align: center;
}

.college-cards .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
}

.college-cards .cards {
    padding: 10px;
    transition: 0.5s;
    border-radius: 10px;
    border: 2px dashed var(--theme-colour);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    background-color: #272727;
    width: fit-content;
    box-sizing: border-box;
}

.college-cards .cards img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.college-cards h2 {
    font-size: 3rem;
    margin: 20px 0;
    color: white;
    text-align: center;
}

.college-cards .cards h3 {
    text-align: center;
    font-weight: 600;
    color: #fff;
}

.college-cards .cards p {
    color: #fff;
    text-align: center;
    font-weight: 300;
}

.college-cards .cards:hover {
    box-shadow: 0 0 80px 0px rgb(114, 113, 113);
}

/* Responsiveness for section 2 */
@media (max-width: 1000px) {

    .college-cards .cards {
        margin: auto;
        margin-top: 5%;
        margin-bottom: 5%;
    }
}

@media (max-width: 590px) {

    .college-cards .cards {
        margin-bottom: 5%;
        margin-top: 5%;
    }
}

@media (max-width: 767px) {
    .college-cards .row {
        grid-template-columns: 1fr;
    }
}

/*-----------------------------------------------------------*/

/*Section 3: About Us*/
.about-us-section {
    background-color: black;
    padding-top: 50px;
    padding-bottom: 50px;
}

.about-us-section .container {
    text-align: center;
    display: flex;
    gap: 50px;
    margin-left: var(--content-margin);
    margin-right: var(--content-margin);
}

.about-us-section .image-box {
    vertical-align: middle;
    margin: auto;
}

.about-us-section .image-box img {
    border-radius: 20px;
}

.about-us-section .text-box {
    width: 100%;
}

.about-us-section .text-box h2 {
    font-size: 3rem;
    text-align: center;
    color: white;
    margin: 0;
    height: fit-content;
}

.about-us-section .text-box p {
    font-size: 18px;
    text-align: left;
    color: white;
}

/* Responsiveness for section 3*/
@media only screen and (max-width:1200px) {

    /*For mobile phones*/
    .about-us-section .container {
        display: block;
    }

    .about-us-section .image-box {
        margin-bottom: 30px;
    }

    .about-us-section .image-box img {
        max-width: 500px;
        width: 100%;
    }

}


/*-----------------------------------------------------------*/

/*Section 4: Events and news*/
.events-card .rows {
    display: inline-block;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.events-card h2 {
    font-size: 3rem;
    color: #fff;
}

.events-card {
    text-align: center;
    padding: 10px;
}

/* Individual card settings*/

.events-card .card {
    width: fit-content;
    max-width: 400px;
    /*708*/
    height: 865px;
    /*800*/
    position: relative;
    display: inline-block;
}

.events-card .card img {
    width: 100%;
    height: 100%;
}

.events-card .card-content {
    position: absolute;
    top: 90px;
    background-color: transparent;
    width: 100%;
    /*535*/
    height: 740px;
    /*1025*/
    color: black;
    object-fit: scale-down;

}

.events-card .card-content img {
    margin-top: 25px;
    margin-bottom: 25px;
    border-radius: 20%;
    margin-left: auto;
    /*20*/
    margin-right: auto;
    /*20*/
    width: 90%;
    /*490*/
    height: 40%;
    color: #204c35;
    object-fit: scale-down;
}

.events-card .title_card {
    height: auto;
    font-size: 25px;
    /*35*/
    text-align: center;
    width: auto;
    margin-left: 10%;
    margin-right: 10%;
}

.events-card .date {
    font-size: 20px;
    /*35*/
    text-align: center;
    width: 80%;
    height: 5%;
    margin-top: 3%;
    margin-bottom: 3%;
    margin-left: 10%;
    margin-right: 10%;
    color: #204c35;
}

.events-card .paragraph_card {
    text-align: left;
    font-size: 15px;
    /*25*/
    height: 22%;
    width: 80%;
    margin: 10%;
    margin-top: 0;
    margin-bottom: 0;
}

.events-card .paragraph_card p {
    color: black;
}

.events-card .button_card {
    padding: 5px;
    background-color: transparent;
}

.events-card .button_learn_more {
    background-color: #204c35;
    border: var(--theme-colour);
    color: white;
    text-align: center;
    font-size: 17px;
    text-decoration: none;
    padding: 15px;
    padding-left: 40px;
    padding-right: 40px;
    margin-top: 25px;
}

.events-card .button_learn_more:hover {
    background-color: var(--theme-colour);
    transition: 2s;
    border: 2px var(--theme-colour);
}

/* Responsiveness for section 4 */
@media (max-width: 1000px) {

    .events-card .row {
        flex-direction: column;
        margin: auto;
    }

    .events-card .button_card button {
        margin: 53px;
    }

    .events-card .card {
        margin: 20px;
    }
}

/*-----------------------------------------------------------*/

/* Section 5: Staff Members */
.staff-section {
    background-color: #0c0c0cd5;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.staff-section .container {
    margin-left: var(--content-margin);
    margin-right: var(--content-margin);
}

.staff-section h2 {
    font-size: 3rem;
    margin: auto;
    margin-bottom: 40px;
}

.staff-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
}

.staff-member {
    background-color: #272727;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    max-width: 300px;
}

.staff-member .staff-photo {
    margin: 0;
}

.staff-member img {
    width: 70%;
    height: auto;
    border-radius: 10px;
}

.staff-member h3 {
    margin-top: 15px;
    font-size: 24px;
}

.staff-member p {
    text-align: center;
    font-size: 16px;
}

/* Responsiveness for staff section */
@media (max-width: 1280px) {
    .staff-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1000px) {
    .staff-list {
        grid-template-columns: repeat(2, 1fr);
    }


    .staff-member {
        padding: 25px;
    }
}

@media (max-width: 767px) {

    .staff-member {
        padding: 20px;
    }
}

@media (max-width: 560px) {
    .staff-list {
        display: block;
        margin-left: auto;
    }

    .staff-member {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

/*-----------------------------------------------------------*/

/* Section 6: Web team members */
.web-team-section {
    background-color: #0c0c0cd5;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.web-team-section .container {
    margin-left: var(--content-margin);
    margin-right: var(--content-margin);
}

.web-team-section h2 {
    font-size: 3rem;
    margin: auto;
    margin-bottom: 40px;
}

.web-team-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
}

.web-team-member {
    background-color: #272727;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    max-width: 300px;
}

.web-team-member .web-team-photo {
    margin: 0;
}

.web-team-member img {
    width: 70%;
    height: auto;
    border-radius: 10px;
}

.web-team-member h3 {
    margin-top: 15px;
    font-size: 24px;
}

.web-team-member p {
    text-align: center;
    font-size: 16px;
}

/* Responsiveness for web team section */
@media (max-width: 1280px) {
    .web-team-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1000px) {
    .web-team-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .web-team-member {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .web-team-member {
        padding: 20px;
    }
}

@media (max-width: 560px) {
    .web-team-list {
        display: block;
        margin-left: auto;
    }

    .web-team-member {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

/*-----------------------------------------------------------*/