.FrontPage {
    position: relative;
    background-position: 50% 60%;
    background-repeat: no-repeat;
    background-size: cover;
    height: calc(100svh - 80px);
    width: 100%;
    position: 50%;
    align-items: center;
    display: flex;

    & .Message1 {
        margin: auto 0;
        color: var(--font-light);
        padding: 0 50px;

        & h1 {
            font-weight: 700;
            font-family: "Montserrat";
            font-size: 3rem;
            margin: 0px;
            line-height: 100%;
            word-break: keep-all;
        }

        & p {
            font-size: 2rem;
            font-family: "Outfit";
            margin: 15px 0px;
            line-height: 100%;
            margin: 0;            
        }
    }
}

& .Banners {

    & .Banner1 {
        display: flex;

        & .Left, & .Right {
            width: 50%;
            padding: 8% 6%;
        }

        & .Left {

            & h1 {
                font-family: 'Montserrat';
                font-size: 1.5rem;
            }

            & p {
                font-family: 'NotoSans';
            }

            & ul {
                font-family: "NotoSans";
                font-size: 0.9rem;
    
                & li {
                    
                }
            }

            & h3 {
                font-family: 'Montserrat';
                color: var(--contrast-40);
            }
        }

        & .Right {

            & .ImgContainer {
                position: relative;
                border-radius: 8px;
                background-color: var(--gray-40);
                height: 100%;
                background-repeat: no-repeat;
                background-size: cover;
            }
        }
    }

    & .Banner2 {
        background-color: var(--gray-30);
        display: flex;
        padding: 50px 10%;
        position: relative;

        & .ContactForm {
            width: 50%;
            display: flex;
            justify-content: right;
            position: relative;

            & .ResponseMessage {
                background-color: var(--back-mess);
                width: calc(100% - 40px);
                max-width: 400px;
                padding: 0 20px;
                border-radius: 5px;
                color: var(--font-light);
                font-size: 0.9rem;
                font-family: 'NotoSans';
                max-height: 0px;
                overflow: hidden;
                transition: all 0.3s;

                & p {
                    margin: 5px 0;
                    text-align: center;
                    line-height: 95%;
                }

                &.Active {
                    max-height: 1000px;
                }
            }

            & form {
                display: grid;
                gap: 15px;               
                max-width: 400px;
                background-color: var(--font-light);
                padding: 20px;
                border-radius: 5px;
                width: 100%;

                & input, & select {
                    height: 35px;
                    font-family: 'NotoSans';
                    font-weight: 600;
                    padding: 5px 8px;
                    border-radius: 5px;
                    border: 1px var(--gray-70) solid;
                }

                & .Submit {
                    height: 35px;
                    font-family: 'NotoSans';
                    font-weight: 600;
                    border-radius: 5px;
                    justify-content: center;
                    display: flex;
                    align-items: center;
                    background-color: var(--contrast-30);
                    color: var(--font-light);
                    transition: background-color 0.3s;
                    cursor: pointer;

                    &:hover {
                        background-color: var(--contrast-50);
                    }
                }
            }
        }

        & .Contact {
            width: 50%;
            padding: 0 25px;
            font-family: 'Montserrat';

            & h1 {
                font-size: 1.5rem;
            }

            & p {
                font-weight: 500;
            }
        }
    }
}

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

    .FrontPage {

        & .Message1 {
            padding: 0 20px;

            & h1 {
                font-size: 2.5rem;
            }
        }
    }

    & .Banners {

        .Banner1 {
            display: block;

            & .Left, & .Right {
                width: calc(100% - 40px);
                padding: 0 20px;
            }

            & .Left {
                padding-top: 30px;
            }

            & .Right {
                padding-bottom: 30px;
                
                & .ImgContainer {
                    min-height: 250px;
                }
            }
        }

        & .Banner2 {
            display: flex;
            flex-direction: column-reverse;
            padding: 30px 20px;

            & .ContactForm {
                margin: auto;
                margin-top: 15px;
                width: 95%;
            }

            & .Contact {
                margin: auto;
                width: 95%;
                padding: 0;
            }
        }
    }

}

