.hero {
    position: relative;
    width: 100%;
    height: 90vh;

    overflow: hidden;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
}

.heroContent {
    position: absolute;
    top: 0%;
    width: 100%;
    height: 100%;
    padding-top: 5%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: white;
    background-color: rgba(0, 0, 0, 0.6);
}

.heroContentText {
    width: 50%;
    margin-top: 2%;
    color: rgb(211, 211, 211);
    text-align: justify;
}

.mainContent {
    width: 90%;
    height: 70vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mainContentImg {
    max-width: 50%;
    height: auto;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
}

.mainContentBox {
    width: 40%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mainContentText {
    margin-bottom: 10%;
}

.mainLink {
    width: 30%;
    padding: 2%;
    border: 1px solid black;
    border-radius: 10px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: rgb(255, 255, 255);
    background-color: rgb(20, 33, 61);
    text-decoration: none;
}

.mainLink:hover {
    background-color: rgb(255, 215, 0);
    color: rgb(20, 33, 61);
    border-color: rgb(255, 255, 255);
}

@media (max-width: 1024px) {
    .hero {
        height: 50vh;
    }

    .heroContent {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .heroContentText {
        width: 70%;
    }

    .mainContent {
        margin-top: 1%;
        margin-bottom: 1%;
        width: 100%;
        height: 50vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .mainContentImg {
        max-width: 100%;
        height: auto;
    }

    .mainContentBox {
        position: absolute;
        width: 100%;
        height: 50vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        background-color: rgba(0, 0, 0, 0.7);
        color: rgb(255, 255, 255);
    }

    .mainContentText {
        width: 70%;
        padding: 2%;
    }

    .mainLink {
        width: 60%;
    }
}