@import "fonts.css";

:root {
	--main-color: #5ca528;
	--secondary-color: #88189c;
}

* {
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
}

li {
	list-style: none;
}

img {
	width: 100%;
}
body {
	font-size: 16px;
	font-family: "Montserrat-Regular";
	color: #000;
}

header {
	background-color: #ededed;
}

.header {
	display: flex;
	padding: 10px;
}
.header__logo__img {
	width: 100px;
}
.header__menu {
	display: none;
}
.header__menu__list {
	display: flex;
	grid-gap: 10px;
	align-items: center;
}
.header__menu__list a {
	color: #000;
	font-size: 14px;
	font-family: "Montserrat-SemiBold";
}
.header__menu__line {
	width: 2px;
	background-color: #ccc;
	height: 20px;
}
.header__btn {
    display: flex;
    top: 0px;
    right: 20px;
    background: transparent;
    border: 0px;
    flex-direction: column;
    margin: 12px 0 12px auto;
    gap: 5px;
    width: 32px;
    z-index: 4;
	cursor: pointer;
}
.header__btn > div {
    background: #88189c;
    height: 4px;
    width: 100%;
    border-radius: 5px;
    transition: all .5s;
    transform-origin: right;
}

.header__btn.open {
    position: fixed;
    gap: 18px;
    top: 10px;
    right: 10px;
}
.header__btn.open div:first-child {
    transform: rotate(-45deg);
    width: 95%;
}
.header__btn.open div:nth-child(2) {
    opacity: 0;
    display: none;
}
.header__btn.open div:last-child {
    transform: rotate(45deg);
    width: 95%;
}

.header__top {
	display: flex;
    justify-content: end;
    grid-gap: 6px;
    margin-bottom: 16px;
}
.header__top__btn {
	min-width: 100px;
	text-align: center;
	color: #fff;
	padding: 4px 10px;
	font-size: 14px;
	font-family: "Montserrat-Regular";
	background-color: var(--main-color);
}
.header__top__btn.purple {
	background-color: var(--secondary-color)
}
.header__dropdown {
    position: relative;
    display: inline-block;
    color: #000;
    font-size: 14px;
}
.header__dropdown__content {
    display: none;
    position: absolute;
    top: 18px;
    right: -36px;
    background-color: #f9f9f9;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 10px 6px;
}
.header__dropdown__content a {
    color: black;
    padding: 5px 16px;
    display: block;
    text-decoration: none;
    margin: 0;
    text-align: left;
    position: relative;
    white-space: nowrap;
    font-family: "Montserrat-Regular";
}
.header__dropdown__content a:not(:last-child):after {
    content: "";
    display: block;
    border-top: 1px solid #ccc;  
    margin-bottom: 0px;  
    width: 80%;
    margin: 0px auto;
    margin-top: 8px;  
    position: absolute;
    bottom: 0;
    right: 15px;

}
.header__dropdown__content a:hover {
    background-color: var(--secondary-color);
    color: #fff;
}
.header__dropdown:hover .header__dropdown__content {
    display: block;
}
.menu__dropdown__lnk {
	display: flex;
	grid-gap: 10px;
	color: var(--secondary-color);
}
.menu__dropdown__arrow {
	width: 16px;
	transition-duration: 0.8s;
    transition-property: transform;
}
.menu__dropdown__arrow.open {
	transform: rotate(180deg);
}
.menu__dropdown__content {
	display: none;
	flex-direction: column;
	margin-top: 10px;
	margin-left: 10px;
	grid-gap: 6px;
}

.menu__mobile {
	position: fixed;
	top: 0;
	right: -220px;
	width: 200px;
	height: 100vh;
	background-color: #fff;
	z-index: 3;
	padding: 10px;
	transition: right 0.5s;
}
.menu__mobile.open {
	right: 0;
}
.menu__list li {
	margin-bottom: 20px;
}
.menu__list li a {
	font-size: 14px;
	color: var(--secondary-color);
	font-family: "Montserrat-SemiBold";
}
.menu__img {
	width: 100px;
	margin-bottom: 20px;
}
.menu__buttons a {
	display: block;
	width: 180px;
	margin-bottom: 6px;
}

.bg__main {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: #000;
	opacity: 0.4;
	z-index: 2;
}

.wrapper {
	max-width: 1200px;
	margin: auto;
}

.title {
	display: inline-block;
	text-align: center;
	color: #fff;
	font-family: "Montserrat-Bold";
	background-color: var(--main-color);
}
.btn {
	display: block;
	text-align: center;
	padding: 6px 10px;
	border-radius: 20px;
	color: #fff;
	font-family: "Montserrat-Bold";
	background-color: var(--secondary-color);
}

.asoc__txt span {
	font-size: 22px;
    color: #88199A;
    font-family: "Montserrat-Bold";
}
.asoc__txt {
	margin-bottom: 30px;
}

footer {
	background-color: var(--secondary-color);
}
.footer {
	display: flex;
	flex-direction: column;
	color: #fff;
	padding: 20px;
	grid-gap: 26px;
	font-size: 12px;
}
.footer a {
	font-size: 12px;
	color: #fff;
	text-decoration: underline;
}
.footer__copy {
	text-align: center;
}
.footer__links {
	display: flex;
	flex-direction: column;
	text-align: center;
	grid-gap: 6px;
}
.footer__rrss {
	display: flex;
	justify-content: center;
	grid-gap: 20px;
}
.footer__rrss__img {
	width: auto;
	height: 20px;
}

@media screen and (min-width: 500px) {

	.menu__mobile {
		width: 240px;
		padding: 20px;
		right: -280px;
	}
	.menu__buttons a {
		width: 220px;
	}

}

@media screen and (min-width: 1000px) {

	.header {
		padding: 20px;
	}
	.header__logo__img {
		width: 140px;
	}
	.header__menu {
		display: block;
		width: 100%;
	}
	.header__menu__list {
		display: flex;
	}
	.header__top {
		margin-bottom: 30px;
	}
	.header__btn {
		display: none;
	}

	.footer {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		max-width: 1200px;
		margin: auto;
		font-size: 12px;
	}
	.footer__links {
		flex-direction: row;
		grid-gap: 30px;
	}
	.footer a {
		font-size: 12px;
	}

}

@media screen and (min-width: 1200px) {

	.header__logo__img {
		width: 180px;
	}
	.header__menu__list {
		grid-gap: 16px;
		margin-left: 20px;
	}

}