@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
* {
    padding: 0;
    margin: 0;
    font-family: 'Montserrat';
    font-size: 16px;
    scroll-behavior: smooth;
}
body {
    background-color: #fffcf6;
}
nav {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 16px;
    padding: 16px 32px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border: #333333 solid 1px;
    border-radius: 16px;
    background-color: #fffcf6d0;
    backdrop-filter: blur(5px);
    & .ham {
        display: none;
    }
    & ul {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        list-style: none;
        & li {
            display: flex;
            flex-direction: row;
            align-items: center;
            & a {
                margin: 0 32px 0 0;
                padding: 8px 24px;
                text-decoration: none;
                color: #333333;
                position: relative;
                border: 1px solid #333333;
                border-radius: 32px;
                transition: 0.2s ease;
                cursor: pointer;
            }
            & a:nth-child(4) {
                margin: 0;
            }
            & a:hover {
                background-color: #ff914d;
            }
        }
    }
    & img.logo {
        height: 100px;
        margin: 0 32px 0 0;
    }
}
section {
    height: 100vh;
    width: 100%;
    &.navigation-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        left: 0;
        z-index: 3;
        transition: 0.2s ease;
        background-color: #fffcf6;
        & ul {
            list-style: none;
            text-align: center;
            margin-top: 64px;
            & li {
                margin: 16px 0;
                & a {
                    text-decoration: none;
                    color: #000000;
                    font-size: 24px;
                }
            }
        }
        & button {
            background-color: transparent;
            border: 1px solid #333333;
            padding: 16px;
            margin-bottom: 32px;
            border-radius: 8px;
            transition: 0.2s;
            cursor: pointer;
        }
        & button:hover {
            background-color: #333333;
            color: #fffcf6;
        }
    }
    &#hero {
        z-index: 0;
        position: absolute;
        top: 0;
        position: relative;
        & .content {
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background-image: linear-gradient(#00000070, #00000070), url('../img/hero-section-bg.jpg');
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            & .panel {
                display: flex;
                align-items: center;
                flex-direction: column;
                width: 800px;
                margin: 128px 0 0 0;
                border-radius: 8px;
                box-shadow: 0 0 24px #33333310;
                padding: 32px;
                background: #fffcf6d0;
                backdrop-filter: blur(5px);
                & p.heading {
                    font-family: 'Oswald';
                    color: #000000;
                    font-size: 96px;
                    letter-spacing: -2px;
                }
                & p.sub-heading {
                    text-align: center;
                    color: #000000;
                }
                & .btns {
                    margin: 48px 0 32px 0;
                    & a {
                        padding: 8px 16px;
                        margin: 0 8px 0 0;
                        border: 1px solid #000000;
                        text-decoration: none;
                        color: #000000;
                        border-radius: 32px;
                        transition: 0.2s ease;
                    }
                    & a:hover {
                        background-color: #000000;
                        color: #ffffff;
                    }
                }
            }
        }
    }
    &#committees {
        height: max-content;
        & .content {
            height: 100%;
            display: flex;
            flex-direction: column-reverse;
            align-items: center;
            justify-content: start;
            background-color: #EADDCA;
            & .heading {
                font-family: 'Montserrat';
                font-size: 84px;
                font-weight: 400;
                margin: 32px;
            }
            & .grid {
                display: grid;
                grid-template-columns: 1fr 1fr 1fr;
                width: 1200px;
                place-items: center;
                grid-gap: 16px;
                margin-bottom: 32px;
                & .committee {
                    width: 92%;
                    height: 535px;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    align-items: center;
                    padding: 16px;
                    background-color: #fffcf6;
                    border-radius: 8px;
                    box-shadow: 0 0 25px #33333310;
                    & .wrapper {
                        margin-top: 16px;
                        width: 100%;
                        height: 100%;
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;
                    }
                    & .image {
                        background-color: #000000;
                        width: 100%;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        border-radius: 8px;

                        & img {
                            width: 248px;
                        }
                    }
                    & .name p {
                        font-size: 32px;
                        margin-bottom: 8px;
                    }
                    & .btns {
                        margin: 24px 0 0 0;
                        display: flex;
                        flex-direction: row;
                        align-items: center;
                        justify-content: end;
                        position: relative;
                        right: -8px;
                        & a {
                            padding: 8px 16px;
                            background-color: transparent;
                            color: #333333;
                            text-decoration: none;
                            border-radius: 8px;
                            border: 1px solid #333333;
                            margin-right: 8px;
                            transition: 0.2s ease;
                        }
                        & a:nth-child(1):hover {
                            background-color: #ff914d;
                            color: #333333;
                        }
                        & a:nth-child(2):hover {
                            background-color: #333333;
                            color: #fffcf6;
                        }
                    }
                }
            }
        }
    }
    &#contacts {
        height: max-content;
        & .content {
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: start;
            & .heading {
                font-family: 'Montserrat';
                font-size: 84px;
                font-weight: 400;
                margin: 32px;
            }
            & .form-wrapper {
                display: flex;
                flex-direction: row;
                margin-bottom: 32px;
                & .contacts-wrapper {
                    display: flex;
                    flex-direction: column;
                    margin-right: 32px;
                    & .contact {
                        display: flex;
                        flex-direction: column;
                        width: 275px;
                        padding: 12px;
                        text-align: end;
                        & .name {
                            font-size: 24px;
                            font-weight: 500;
                        }
                        & .post {
                            font-weight: 500;
                        }
                        & .num {
                            margin-top: 8px;
                        }
                    }
                }
                & span.h-divide {
                    display: block;
                    width: 1px;
                    height: 372px;
                    background-color: #333333;
                    margin: 0 32px 0 0;
                }
            }
            & .form-wrapper form {
                display: flex;
                flex-direction: column;
                align-items: start;
                width: 100%;
                margin-bottom: 32px;
                & input, textarea {
                    border: 1px solid #333333;
                    outline: none;
                    border-radius: 8px;
                    background-color: transparent;
                    padding: 8px;
                    resize: none;
                    width: 400px;
                    margin-bottom: 8px;
                }
                & textarea {
                    height: 128px;
                }
                & button {
                    padding: 8px;
                    border: 1px solid #333333;
                    width: 100px;
                    background-color: transparent;
                    border-radius: 8px;
                    cursor: pointer;
                    transition: 0.2s;
                }
                &  button:hover {
                    background-color: #333333;
                    color: #fffcf6;
                }
            }
        }
    }
}
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    padding: 16px 0;
    & .content {
        text-align: center;
        color: #fffcf6;
        & a {
            color: #ff914d;
            text-decoration: none;
        }
    }
}