@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap');

* {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #333;
}

html {
    min-height: 100vh;
}

body {
    min-height: 100vh;
    background: #E5E5E5;
    background: linear-gradient(0.92deg, #D5D5D5 -15.12%, rgba(213, 213, 213, 0) 99.22%), linear-gradient(0deg, #FFFFFF, #FFFFFF), #387C2B;
}

.main {
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
    min-height: 100vh;
    padding: 85px 16px 0;
}

.header-logo {
    margin-bottom: 60px;
}

.button-list .button-item {
    margin-bottom: 16px;
}

.button-list .button-item:last-child {
    margin-bottom: 0;
}

.button {
    background-color: #eee;
    min-height: 72px;
    border-radius: 4px;
    text-decoration: none;
    width: 100%;
    display: flex !important;
    align-items: center;
    padding-left: 30px;
    padding-right: 30px;
    border: 1px solid transparent;
    transition: box-shadow .7s;
    box-shadow: 0 none;
    z-index: 10;
    position: relative;
}

.button:hover {
    box-shadow: 0 3px 7px rgba(51, 51, 51, 0.23);
}

.button-dropdown-item.hover {
    box-shadow: 0 3px 7px rgba(51, 51, 51, 0.23);
    background-color: #eee;
}

.button-dropdown-item.hover .button-sub {
    opacity: 1;
    height: auto;
}

.button-sub {
    list-style-type: none;
    padding: 0;
    text-align: left;
    background-color: #eee;
    padding-bottom: 12px;
    margin: -29px 0 36px;
    border-radius: 0 0 4px 4px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: height 1s;
}

.button-sub:before {
    display: inline-block;
    content: "";
    border-top: 1px solid #FFDD00;
    margin-left: 24px;
    margin-right: 24px;
    width: calc(100% - 48px);
    height: 0;
    position: relative;
    z-index: 11;
}

.button-sub-link {
    font-size: 18px;
    padding: 12px 24px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
    display: inline-block;
}

.button-dropdown:hover {
    box-shadow: none;
}

.button-img {
    width: 40px;
    margin-right: 20px;
}

@media (min-width: 1025px) {
    .main {
        max-width: 846px;
        padding: 93px 108px 0;
    }

    .header-logo {
        margin-bottom: 80px;
    }

    .button-item {
        padding-left: 12px;
        padding-right: 12px;
    }

    .button-list .button-item {
        margin-bottom: 0;
    }

    .button-sub-link {
        padding-left: 16px;
        padding-right: 16px;
        width: calc(100% - 24px);
    }

    .button-sub:before {
        margin-left: 16px;
        margin-right: 16px;
    }

    .button {
        min-height: 149px;
        text-align: center;
        justify-content: center;
        padding-right: 0;
        padding-left: 0;
    }

    .button-img {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .button-text {
        display: inline-block;
        width: 100%;
    }
}