html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    background: url("res/fon.png") no-repeat left top;
    background-size: cover;
}

.container {
    background: url("res/image.png") no-repeat right bottom;
    background-size: contain;
    height: 100%;
    display: flex;
}

.buttons {
    padding: 40px 0 0 40px;
}

button {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    display: block;
    margin: 10px auto 10px 10px;
    transition: all 0.2s ease-in-out;
}

button:hover {
    transform: scale(1.1);
}

.flower:hover {
    animation: rotate 3s infinite;
    animation-timing-function: cubic-bezier(1, 0, .5, 1);
}

@keyframes rotate {
    from {
        transform: rotate(0);
        animation-timing-function: ease-out;
    }
    25% {
        transform: rotate(15deg);
        animation-timing-function: ease-in;
    }
    75% {
        transform: rotate(-15deg);
        animation-timing-function: ease-in;
    }
    to {
        transform: rotate(0);
    }
}


/* Выпадающий список*/
:root {
    --background-select: linear-gradient(to left,#e9e9ed 3rem, #e9e9ed 3rem);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.select {
    margin: 60px 40px;
}

/* Reset <select> defaults */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    outline: 0;
    background: none;
    color: black;
    box-shadow: none;
}

select::-ms-expand {
    display: none;
}

/* Custom Select wrapper */
.select {
    position: relative;
    display: flex;
    width: min(20rem, 90vw);
    background: var(--background-select);
    border-radius: 0.25rem;
    overflow: hidden;
}

.select select {
    flex: 1;
    padding: 1em;
    cursor: pointer;
}

.select::after {
    content: "▼";
    position: absolute;
    right: 1rem;
    top: 1rem;
    transition: 0.25s all ease;
    pointer-events: none;
}

.select:hover::after {
    color: #f39c12;
    -webkit-animation: bounce 0.5s infinite;
    animation: bounce 0.5s infinite;
}

@-webkit-keyframes bounce {
    25% {
        transform: translatey(5px);
    }
    75% {
        transform: translatey(-5px);
    }
}

@keyframes bounce {
    25% {
        transform: translatey(5px);
    }
    75% {
        transform: translatey(-5px);
    }
}
