@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*::-webkit-scrollbar {
    width: 0vw;
    display: none;
}

*:root {
    --primary: #00bfa6;
    --hovered: #00a18b;
}

.nav {
    height: 13vh;
    display: flex;
    box-shadow: 00 0 10px rgba(0, 0, 0, 0.12);
    justify-content: space-evenly;
    align-items: center;
    /* gap: 2rem; */
}

.nav .common {
    width: 30%;
    height: 100%;
}

.nav .logo {
    display: flex;
    flex: 1;
    justify-content: center;
    /* background: red; */
    align-items: center;
}

.nav .links {
    flex: 3;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    /* gap: 3rem; */
}

.nav .links a {
    text-decoration: none;
    color: black;
    font-weight: 600;
    transition: 0.4s ease;
}

.nav .links a.active {
    color: var(--primary);
}

.nav .links a:hover {
    color: var(--primary);
}

.nav .contacts {
    flex: 1;
}

.nav .common img {
    height: 100%;
}

.nav .contacts {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding: 0 00 0 20px;
    gap: 1rem;
}

.nav .contacts .navCard {
    /* margin: 0 auto; */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
}

#galleryDisplay {
    padding: 40px;
    overflow-y: auto;
    gap: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#galleryDisplay a {
    margin: 0 auto;
    width: 30%;
    border-radius: 8px;
}

#galleryDisplay a img {
    height: 100%;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

#galleryDisplay a video {
    border-radius: 8px;
    width: 100%;
    height: 100%;
}

#machineVideo {
    height: 100vh;
    width: 98%;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

#machine iframe {
    height: 100%;
    width: auto;
}

@media screen and (max-width: 980px) {
    #galleryDisplay {
        display: grid;
    }

    #galleryDisplay a {
        margin: 0 auto;
        width: 100%;
        border-radius: 8px;
    }

    #galleryDisplay a img {
        height: 100%;
        width: 100%;
        border-radius: 8px;
        overflow: hidden;
    }

    #galleryDisplay a video {
        border-radius: 8px;
        width: 100%;
        height: 100%;
    }

    #machineVideo {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        flex-direction: column;
    }

    #machine iframe {
        height: 100%;
        width: 98%;
        width: 90vw;
    }
}