.menu {
	list-style-type: none;
	margin-top: -20px;
	display: flex;
	justify-content: center;
}

/* Ліва і права закругленість */
.dropdown:first-child > .dropdown-header {
	border-left: none;
	border-radius: 2em 0 0 2em;
}
.dropdown:last-child > .dropdown-header {
	border-radius: 0 2em 2em 0;
}

/* Спільний стиль для <a> і <span> */
.menu a,
.menu .dropdown-header {
	display: block;
	padding: 15px;
	text-decoration: none;
	color: #333;
	font-size: 13px;
	text-transform: uppercase;
	border-left: 1px solid #0bd1ff;
	border-right: 1px solid #0094bf;
	background: -webkit-linear-gradient(top, #03bbe5 0%, #03afe0 100%);
	cursor: pointer;
}

/* Hover і активний стан */
.menu a:hover,
.menu .dropdown-header:hover,
.menu a.active {
	color: white;
	background-color: #5cb64b;
}

/* Випадаюче меню */
.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-content {
	list-style-type: none;
	display: none;
	position: absolute;
	/* top: 180%; */
	left: -35%;
	z-index: 1;
	background: #03bbe5;
	padding: 5px 0;
	border-radius: 25px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	text-align: center;
	min-width: 120px;
}

.dropdown-item {
	width: 100%;
	margin: 5px 0;
}

.dropdown-item > a {
	display: block;
	padding: 10px 30px;
	border-radius: 25px;
	background-color: #03bbe5;
	color: black;
	text-decoration: none;
	transition: background-color 0.3s;
}
.dropdown-item > a:hover {
	background-color: #02a3cc;
	color: white;
}

/* Показати при наведенні */
/* .dropdown:hover .dropdown-content {
	display: block;
} */

/* Адаптив */
@media (max-width: 930px){
	.menu{
		display: none;
	}
}

/* Small Menu (для мобільної версії) */
.small-menu {
	display: none;
	flex-direction: column;
	align-items: center;
	position: fixed;
	width:100%;
	margin-top:-30px;
	list-style-type: none;
	background-color: #009dd5;
}

.dropdown-mini {
	margin: 15px 0;
	display:flex;
	flex-direction: column;
	align-items: center;
}

.dropdown-mini > a {
	font-size: 12px;
	color: white;
	text-decoration:none;
}

.dropdown-mini > a:hover {
	color: black;
}

.dropdown-content-mini {
	display: none;
	margin: 15px 0 0 0;
}

.dropdown-item-mini {
	margin: 5px 0;
}

.dropdown-item-mini > a {
	font-size:12px;
	color: black;
	text-decoration: none;
}

/* @media (max-width: 930px){
    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        background-color: #03bbe5;
        border-radius: 0;
        box-shadow: none;
        padding: 10px 0;
        text-align: center;
    }

    .dropdown-header {
        border-radius: 0 !important;
        width: 100%;
        text-align: center;
    }
} */

/* Small Menu – рухається разом зі сторінкою тільки на телефонах */
@media (max-width: 930px) {
    .small-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        position: fixed; /* фіксуємо */
        top: 20px;          /* приклеюємо до верху */
        left: 0;
        width: 100%;
        z-index: 9999;   /* щоб перекривало елементи під ним */
        background-color: #009dd5;
        padding-top: 80px; /* відступ щоб логотип+телефони не перекривали меню */
    }

    .first-row {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10000;
        background-color: white;
        /* padding:10px 0; */
    }

	.second-row {
		margin-top: -60px; /* щоб не заїжджало під перший */
	}

    body {
        padding-top: 150px; /* щоб контент не заїжджав під шапку */
    }
}
