@charset "UTF-8";

/*
Theme Name: midwivestheme
Author: webrarium
Author URI: https://webrarium.com
Tested up to: 4.1
Version: 1.0
*/
:root {
    --main-color: #009AF0;
	--body-color: #F3F3F3;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
}
button {
	all: unset;
}
p:not(:last-child) {
	padding-bottom: 1em;
}
html {
	scroll-padding-top: 80px;
}

body {
    background: var(--body-color);
    color: black;
    font-size: 16px;
	line-height: 150%;
    /* padding-top: 100px; */
}
.container {
    max-width: 1440px;
    margin-inline: auto;
    padding: 0 20px;
	height: 100%;
}
.button {
    border-radius: 40px;
    padding: 15px 40px;
    line-height: 100%;
    display: inline-block;
}


/* header */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
	z-index: 99;
}
.header-wrp {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
}
.brand {
	margin-right: auto;
	padding-right: 20px;
}
.brand img {
	display: block;
	height: 40px;
}
.nav-menu ul {
	list-style: none;
	display: flex;
	gap: 20px;
}
.brg {
	display: none;
    position: relative;
    width: 30px;
    height: 25px;
    cursor: pointer;
    margin-left: 20px;
}
.line {
    height: 2px;
    width: 100%;
    background-color: black;
    position: absolute;
    border-radius: 50vw;
    transition: all .2s ease;
}
.line:nth-child(1) {
    top: 0;
}
.line:nth-child(2) {
    top: 50%;
    transform: translatey(-50%);
    opacity: 1;
}
.line:nth-child(3) {
    bottom: 0;
}
.brg.open {
    transform: rotate(45deg);
    transition: transform .2s ease;
    transition-delay: .2s;
}
.brg.open .line:nth-child(1) {
    top: 50%;
    transform: translatey(-50%);
}
.brg.open .line:nth-child(2) {
    opacity: 0;
}
.brg.open .line:nth-child(3) {
    bottom: 50%;
    transform: translatey(50%) rotate(90deg);
}
@media (max-width:800px) {
	.brg {
		display:flex;
	}
	.nav-menu {
		position: fixed;
		top: 80px;
		left: 0;
		width: 100%;
		background: white;
		flex-direction: column;
		gap: 20px;
		align-items: center;
		max-height: 0;
		overflow: hidden;
		margin:0;
		transition: all .4s ease;
	}
	.nav-menu.open {
		max-height: 100vh;
		padding: 20px 0;
	}
	.nav-menu ul {
		flex-direction: column;
		gap: 20px;
		align-items: center;
	}
}

.homepage h2 {
	font-size: 30px;
	margin-bottom: 30px;
}
.insec {
	padding: 60px 0;
}
.blue {
	background: var(--main-color);
}
.blue h2{
	color: white;
}
.all h1 {
	font-size: 2.5em;
	margin-bottom: 40px;
}
/*  hero  */
.hero-section {
	padding: 30vh 0;
	background-size: cover;
}
.hero-wrp {
	height: 100%;
	color: white;
	display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;}
.hero-wrp h1 {
	font-size: 2.5em;
	line-height: 120%;
}
.hero-desc {
	font-size: 1.5em;
	margin: 10px 0 20px;
	max-width: 530px;
}
.hero-btns-wrp {
	display: flex;
	gap: 20px;
}
.det {
	background: var(--body-color);
	color: black;
}
.join {
	background: var(--main-color);
}

/*  vectors  */

.vectors-wrp {
	display: grid;
	grid-template-columns: minmax(300px, 1.2fr) minmax(300px, 2fr);
	gap: 40px;
}
.vector-block {
	background: white;
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	padding: 40px;
}
.vector-block h3 {
	font-size: 1.5em;
}
.vector-block p {
	line-height: 170%;
}

.v-line {
	background: black;
	height: 1px;
	margin: 20px 0;
}

/* news and materials*/

.cards-wrp {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
	gap: 40px;
}
.card a{
	height: 100%;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	background: white;
	align-items: flex-start;
	border-radius: 20px;
}
.card a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}
.cards-labels {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}
.cards-labels > * {
	padding: 5px 15px;
	border-radius: 30px;
	font-size: 0.9em;
}
.goto {
	margin-left: auto;
}

/* team */

.team-wrp {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 335px));
	gap: 20px;
}
.team-member {
	display: flex;
	flex-direction: column;
	gap: 16px;
	background: white;
	align-items: flex-start;
	padding: 20px;
	border-radius: 20px;
}
.team-member-photo {
	width: 100%;
	border-radius: 10px;

}
.team-member-email {
	margin-left: auto;
}

/* partners */

.partners-wrp {
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
	justify-content: space-evenly;
}
/* form */
.form-wrp {
	max-width: 680px;
	margin-inline: auto;
	padding: 40px;
	border-radius: 20px;
	background: white;
}
.form-wrp input, .form-wrp textarea {
	border: none!important;
	padding: 5px 10px!important;
	border-radius: 20px!important;
	background: var(--body-color)!important;
}
.form-wrp label {
	padding: 0 10px!important;
}
.form-submit-btn {
	margin-left: auto!important;
    display: block;
	background: none!important;
	color: black!important;
	box-shadow: none!important;
}
/* footer */

footer {
	background: white;
	padding: 80px 0;
}
.footer-wrp {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
	gap: 40px;
	justify-content: space-between;
}
.f-logo {
	height: 120px;
}
.f-txt {
	font-size: 0.9em;
}
.f-head {
	font-weight: 700;
	font-size: 1.2em;
	margin-bottom: 15px;
}
.f-nav ul {
	list-style:none;
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.f-inf-wrp {
	display: flex;
	gap: 20px;
	flex-wrap:wrap;
}
.f-cont-inf {
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: space-evenly;
}

@media (max-width: 768px) {
	.hero-section {
		padding: 40px 0;
		height: 90vh;
	}
	.hero-desc {
		font-size: 1.2em
	}
	.hero-btns-wrp {
		flex-wrap: wrap;
	}
	.button {
		padding: 12px 24px;
	}
	.vectors-wrp, .cards-wrp {
		grid-template-columns: 1fr;
	}
	.form-wrp {
		padding: 20px;
	}
}





/* open post */

.post-content-section {
	padding: 60px 0;
}
.post-content-section .container {
	max-width: 900px;
}
.post-content-section h1 {
	margin: 30px 0;
}
.post-content-section .wp-post-image {
	width: 100%;
	height: 100%;
	border-radius: 20px;
}