body {
    background-color: black;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}


/* each page sections and their specifications */

/* Main Page */

header {
    background-color: black;
    height: 878px;
}

.Page {
    /* layout */
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content:center;


    /* background */
        background-color: #000;
        /* border: 5px solid pink; */
}

.VerticalPage {
    height: 900px;
}

.HorizontalPage {
    flex-direction: column;
    flex-wrap: wrap;
    /* border: pink 3px solid; */
}

section {
    padding: 20px;
}

.MainImage {
    /* layout */
    display: flex;
    min-height: 760px;
    justify-content: center;
    align-items: center;
    z-index: 1;      

    /* background */
    opacity: 0.7;
    /* background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.00) 100%), url('https://images.pexels.com/photos/5896924/pexels-photo-5896924.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2'), lightgray 50% / cover no-repeat;
     */
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}


/* big parts of each sectoin */

/* general styling */

    /* text */

        .regularText {
        /* layout */
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    
        /* style */
        color: #C3C3C3;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        line-height: normal;
        font-style: normal;
        }

        .regularText .GreyHeading {

            /* layout */
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding-top: 5%;

            /* style */
            color: #8f8f8f;
            font-size: 20px;
            font-weight:400;
        }

        .regularText .GreyHeading .WeTeachThrough {
            color: white;
            margin: 20px;
            font-size: 20px;
            font-weight:400;
        }

        .regularText .regularParagraph {
            /* layout */
            display: flex;
            height: 180px;
            max-width: 300px;
            align-items: center;
            text-align: center;
            /* margin-left: 200px;
            margin-right:200px; */

            /* style */
            color: white;
            font-size: 18px;
            font-weight: 400;
        }

        .regularText .Button {
            /* layout */
            display: flex;
            align-items: center;
            justify-content: center;
            max-width: 300px;
            height: 60px;
            padding-right:20px;
            padding-left:20px;
            transition: .5s;

            /* style */
            color: #C3C3C3;
            text-align: center;
            font-size: 16px;
            font-weight: 400;
            border: 1px solid #C3C3C3;
        }

        .regularText .Button:hover {
            color: white;
            border: 1px solid white;
        }

        .regularText .SubjectButton {
            min-width: 200px;
        }

        .regularText .LogInText {
            /* layout */
            display: flex;
            flex-direction: column;
            justify-content: center;
            margin-top: -4px;
            
            /* style */
            text-align: center;
            font-size: 32px;
        }

    /* link */

        a {
            position: relative;
            text-decoration: none;
            color: #C3C3C3;
        }

        a::after {
            content: '';
            position: absolute;
            left:0;
            bottom: -6px;
            width: 100%;
            height: 2px;
            background: white;
            border-radius: 5px;
            transform: scaleX(0);
            transition: transform .5s;
        }

        a:hover {
            color:#FFF;
        }

        a:hover::after {
            transform: scaleX(1);
        }

    /* list */

        ul {
            /* layout */
            display: flex;
            margin: 0;
            padding: 0;
            list-style-type: none;
        }
    /* paragraphs */

        .MainPageBlock {
            /* layout */
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            margin:10px;
            width:40%;
            height:40%;
            /* border: pink 1px solid; */
        }

        .MainPageCourse {
        /* layout */
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin:10px;
        width: 400px;
        /* border: pink 1px solid; */
        }

        .StudyBlocks {
            /* layout */
            display:flex;
            width: 100%;
            flex-wrap:wrap;
            flex-direction: row;
            justify-content: space-evenly;
            align-items: center;
            margin-top: 20px;
            margin-bottom: 20px;
        }

        .StudyBlock {
            display: block;
            width:220px;
            height:220px;
            margin: 15px;
            border: white 1px solid;
            transition: .5s;
        }

        .StudyBlock:hover {
            color: white;
            border: white 2px solid;
        }