body {

    margin: 0;

    background-image: url("resources/media/images/background.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;

    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;

    font-family: sans-serif;

}

header {

    z-index: 1000;
    position: fixed;
    width: 100%;

    backdrop-filter: blur(10px);

    background-image: url(resources/media/images/glass.png);
    background-color: rgba(255, 255, 255, 0.16);

    box-shadow: 10px 30px 70px rgba(0, 0, 0, 0.7);

    nav {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(6em, 100%), 1fr));
        gap: 10px;

        padding-left: 10px;
        padding-top: 1px;
        padding-bottom: 1px;

        border-top: 1px solid white;
        border-bottom: 1px solid white;

        text-align: center;

        a {
            color: white;
            text-decoration: none;
            height: 30px;
            align-content: center;
        }

        a:hover {
            color: gold;
            font-weight: bold;
        }
    }

}

.banner {

    display: grid;
    grid-template-columns: 70px auto;
    grid-template-rows: 60px;
    gap: 10px;

    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 10px;

    color: white;
    font-weight: bold;

    img {
        width: auto;
        height: 100%;
        object-fit: contain;
        margin-left: 10px;
    }

}

.homepage {

    margin: 20px;

    section {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, max(600px, 33%)));
        justify-items: center;
        align-items: center;
        gap: 10px;

        margin-top: 130px;

        article {
            transition: width 0.5s ease, height 0.5s ease, box-shadow 0.5s ease;
            outline: 1px solid white;
            border-radius: 30px;
            position: relative;
            width: 400px;
            height: 700px;

            overflow: hidden;

            box-shadow: 0 0 100px rgba(255, 253, 122, 0.24);

            color: white;

            img {
                width: 100%;
                height: 100%;
                transition: width 0.5s ease, height 0.5s ease;
                display: block;
                object-fit: cover;
                object-position: center;
            }
        }

        @media (min-width: 1000px) {
            article:hover {
                width: 600px;
                cursor: pointer;

                box-shadow: 0 0 100px rgba(255, 253, 122, 0.70);

                img {
                    width: 110%;
                    height: 110%;
                }

                .overlay_text {
                    h3 {
                        font-size: 2em;
                        color: yellow;
                    }
                }
            }
        }

        @media (max-width: 1000px) {
            grid-template-columns: 1fr;
        }

        .overlay_text {
            position: absolute;
            bottom: 0;
            padding: 20px;

            font-size: 1.5em;

            hr {
                border: 2px solid white;
                width: 75%;
                margin-left: 0;
            }

            p {
                margin: 0;
            }

            h2 {
                margin: 0;
                padding: 0;
                font-size: 3em;
                letter-spacing: 0.2em;
            }

            h3 {
                margin: 0;
                padding: 0;
                transition: font-size 0.5s ease, color 0.5s ease;
            }
        }

    }

}

footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    position: fixed;
    color: white;
    font-size: 0.7em;
    width: 100%;
    height: 20px;
    bottom: 0;
    margin: 0;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    background-image: url(resources/media/images/glass.png);
    align-content: center;

    backdrop-filter: blur(10px);

    p {
        margin: 0;
        margin-left: 10px;
        margin-right: 10px;
    }

    a{
        color: white;
        transition: color 0.5s ease;
    }

    a:hover {
        color: pink;
    }
}

.worker {
    section {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 10px;

        margin-top: 130px;
        margin-bottom: 50px;

        article {
            display: grid;
            grid-template-columns: 200px auto;
            transition: grid-template-columns 0.5s ease;
            gap: 10px;

            margin-left: 10%;
            margin-right: 10%;
            background-image: linear-gradient(to right, rgba(193, 193, 193, 0.37), rgba(0, 0, 0, 0.37));
            border: 1px solid black;
            border-radius: 30px;
            box-shadow: 50px 30px 70px rgba(0, 0, 0, 0.7);


            padding: 15px;

            img {
                width: 200px;
                border-radius: 20px;
                transition: width 0.5s ease;
            }

            div {
                margin: 0;
                color: white;
                hr {
                    border: 2px solid white;
                    width: 75%;
                    margin-left: 0;
                }
            }
        }

        @media (max-width: 1000px) {
            article {
                grid-template-columns: 1fr;
            }

            article:hover {
                grid-template-columns: auto;
                grid-template-rows: 400px auto;

                img {
                    width: 400px;
                }
            }
        }

        @media (min-width: 1000px) {
            article:hover {
                grid-template-columns: 400px auto;
                img {
                    width: 400px;
                }
            }
        }

    }
}

.about {
    section {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 10px;

        margin-top: 130px;
        margin-bottom: 50px;
        margin-left: 10%;
        margin-right: 10%;

        background-image: linear-gradient(to right, rgba(193, 193, 193, 0.37), rgba(0, 0, 0, 0.37));
        border: 1px solid black;
        box-shadow: 50px 30px 70px rgba(0, 0, 0, 0.7);
        border-radius: 10px;

        article {
            align-items: center;

            img {
                z-index: auto;
                transition: z-index 0s ease 0.5s;
            }
        }

        .image_left {
            display: grid;
            grid-template-columns: 200px auto;
            transition: grid-template-columns 0.5s ease;
            gap: 10px;

            padding: 15px;

            img {
                width: 200px;
                border-radius: 20px;
                transition: width 0.5s ease;
            }

            div {
                margin: 0;
                color: white;
                hr {
                    border: 2px solid white;
                    width: 75%;
                    margin-left: 0;
                }
            }
        }

        .image_right {
            display: grid;
            grid-template-columns: auto 200px;
            transition: grid-template-columns 0.5s ease;
            gap: 10px;

            padding: 15px;

            img {
                width: 200px;
                border-radius: 20px;
                transition: width 0.5s ease;
            }

            div {
                margin: 0;
                color: white;
                hr {
                    border: 2px solid white;
                    width: 75%;
                    margin-left: 0;
                }
            }
        }

        @media (max-width: 1000px) {
            article {
                grid-template-columns: 1fr;
            }
        }

    }
}