@font-face {
	font-family: 'Cormorant Garamond';
	font-style: normal;
	font-weight: 300;
	src: url('../fonts/CormorantGaramond-Light.woff2') format('woff2'),
		url('../fonts/CormorantGaramond-Light.woff') format('woff');
}

@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/Montserrat-Regular.woff2') format('woff2'),
		url('../fonts/Montserrat-Regular.woff') format('woff');
}

*:not(head),
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body {
	height: 100%;
}

body {
	margin-top: 2%;
	margin-left: 2%;
	margin-right: 2%;
	display: flex;
	flex-direction: column;
}

.navigation ul {
	list-style-type: none;
}

main {
	flex: 1 0 auto;
}

/*Header*/

header a {
	color: black;
	text-decoration: none;
}

.header-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header-top-left {
	width: 70%;
}

.header-top-left h1 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 40px;
	font-stretch: 100%;
	font-style: normal;
	font-weight: 300;
	letter-spacing: 0.07em;
	line-height: normal;
	text-align: start;
}

.header-top-right {
	width: 20%;
}

.navigation-header {
	display: flex;
	justify-content: flex-end;
}

.navigation-header a {
	text-decoration-line: none;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-stretch: 100%;
	font-style: normal;
	font-weight: 400;
	padding-left: 9%;
}

.navigation-header a:last-of-type {
	color: rgb(148, 61, 61);
}

hr {
	margin-top: 1.1%;
	margin-bottom: 1.1%;
}


/*main*/

main {
	margin-left: 3.5%;
	margin-right: 3.5%;
	margin-bottom: 3.5%;
	margin-top: 45px;
	width: 480px;
	max-width: 97%;
}

.caption {
	margin-bottom: 45px;
}

.caption-top {
	margin-left: 1%;
}

.caption-top h2 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 19px;
	font-stretch: 100%;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0.05em;
	line-height: 1.5em;
	text-align: start;
	vertical-align: baseline;
	margin-bottom: 8%;
}

.caption-top a {
	display: inline-block;
	text-decoration: none;
	color: black;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-stretch: 100%;
	font-style: normal;
	font-weight: 400;
	line-height: 1.7em;
	text-align: start;
	margin-bottom: 7%;
}

.caption-top p {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-stretch: 100%;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0.03em;
	line-height: 1.8em;
	text-align: start;
	vertical-align: baseline;
	margin-bottom: 4%;
}

.form-wrapper {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-stretch: 100%;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0.03em;
	line-height: 1.8em;
	text-align: start;
	vertical-align: baseline;
	margin-bottom: 2%;
}

.form-fields {
	display: flex;
	flex-direction: column;
}

.form-fields input,
textarea {
	border: 0;
	border-bottom: 1px black solid;
	min-height: 27px;
	margin-bottom: 4%;
	font-size: 18px;
}

.form-fields input:hover,
textarea:hover {
	border: 0;
	border-bottom: 2px black solid;
}

.form-fields input:focus,
textarea:focus {
	border: 0;
	border-bottom: 2px black solid;
}

.form-fields input:focus-visible,
textarea:focus-visible {
	outline: 0;
}

.form-fields label:last-of-type {
	margin-bottom: 1%;
}

.form-fields textarea {
	min-height: 67px;
	margin-bottom: 6%;
}

.form-button {
	width: 130px;
	height: 40px;
	background-color: white;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-stretch: 100%;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0.03em;
	line-height: 1.8em;
	text-align: center;
	vertical-align: baseline;
	border: 1px black solid;
	transition: 0.4s;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.form-button:hover {
	color: white;
	background-color: black;
	transition: 0.4s;
}

.main-bottom {
	margin-top: 4%;
}

.main-bottom h3 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 19px;
	font-stretch: 100%;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0.05em;
	line-height: 1.5em;
	text-align: start;
	vertical-align: baseline;
	margin-bottom: 1%;
}

.main-bottom li {
	list-style-type: none;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-stretch: 100%;
	font-style: normal;
	font-weight: 400;
	line-height: 2.2em;
	text-align: start;
	vertical-align: baseline;
}

.main-bottom a {
	color: black;
	text-decoration: none;
}

.main-bottom a:hover {
	font-weight: 700;
}

/*footer*/

footer {
	flex: 0 0 auto;
	padding-bottom: 2.08%;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-bottom-left {
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-stretch: 100%;
	font-style: normal;
	font-variant-caps: normal;
	font-variant-east-asian: normal;
	font-variant-ligatures: normal;
	font-variant-numeric: normal;
	font-weight: 400;
	line-height: normal;
	text-align: start;
	vertical-align: baseline;
}

.social {
	display: flex;
}

.social a {
	margin-left: 25px;
	color: black;
}

/*adaptive*/

@media screen and (max-width: 750px) {
	main {
		margin-top: 5%;
		margin-bottom: 10%;
	}

	.main-top {
		display: block;
		margin-bottom: 0;
	}

	.main-top-left {
		width: 50%;
		margin-bottom: 3%;
	}

	.main-top-right {
		margin-left: 0;
		margin-bottom: 3%;
	}
}

@media screen and (max-width: 540px) {
	.navigation-header {
		flex-direction: column;
	}

	.navigation-header a {
		margin-bottom: 5%;
		margin-top: 4%;
		padding-left: 0;
	}
}

@media screen and (max-width: 450px) {
	body {
		margin-bottom: 4.7%;
	}

	.navigation-header a {
		padding-left: 0;
		margin-bottom: 7%;
		margin-top: 6%;
	}

	.social a:last-of-type {
		margin-right: 20px;
	}

	.main-top-left {
		margin-left: auto;
		margin-right: auto;
	}

	footer {
		padding-bottom: 6.4%;
	}
}