@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;400&display=swap');

/* Responsive font size */


/* Globals */

body {
	background-color: white;
	margin: 30px;
	font-family: 'Montserrat', sans-serif;
	text-size-adjust: none;
	font-size: 16px;
}

@media (max-width: 1080px) {
	
	body {
		font-size: 24px;
	}
}

p {
	margin-block-start: 0.5em;
	margin-block-end: 0.5em;
}

em {
	color: #F69E7B;
	font-style: normal;
	font-family: 'Abril Fatface', cursive;
	font-size: 1.2em;
}

a {
	text-decoration: none;
}

header {
	letter-spacing: 2px;
	font-family: 'Abril Fatface', cursive;
	font-size: 2em;
}

.m-top-large {
	margin-top: 5rem;
}

.m-top-medium {
	margin-top: 2rem;
}

.m-top-small {
	margin-top: 1rem;
}

.m-bottom-large {
	margin-bottom: 5rem;
}

.m-bottom-medium {
	margin-bottom: 2rem;
}

.m-bottom-small {
	margin-bottom: 1rem;
}

.m-left-large {
	margin-left: 5rem;
}

.m-left-medium {
	margin-left: 2rem;
}

.m-left-small {
	margin-left: 1rem;
}

.m-vertical-large {
	margin-left: 5rem;
	margin-right: 5rem;
}

.m-vertical-medium {
	margin-left: 2rem;
	margin-right: 2rem;
}

.m-vertical-small {
	margin-left: 1rem;
	margin-right: 1rem;
}

@media (max-width: 1080px) {
	
	.m-top-large_mobile {
		margin-top: 5rem;
	}

	.m-top-medium_mobile {
		margin-top: 2rem;
	}

	.m-top-small_mobile {
		margin-top: 1rem;
	}

	.m-around-none_mobile {
		margin: 0;
	}

}

.p-vertical-large {
	padding-left: 5rem;
	padding-right: 5rem;
}

.p-vertical-medium {
	padding-left: 2rem;
	padding-right: 2rem;
}

.p-vertical-small {
	padding-left: 1rem;
	padding-right: 1rem;
}

.bg-light {
	background-color: #F69E7B;
}

.bg-dark {
	background-color: #003844;
}

.bg-gray {
	background-color: #f5f5f5;
}

.text-light {
	color: #F69E7B;
}

.text-dark {
	color: #003844;
}

.text-white {
	color: white;
}

.text-hover-dark, .text-hover-white {
	transition: color .2s ease-in-out;
}

.text-hover-dark:hover {
	color: #003844;
	transition: color .2s ease-in-out;
}

.text-hover-white:hover {
	color: white;
	transition: color .2s ease-in-out;
}

.button-light {
	position: relative;
	height: 2rem;
	text-align: center;
	padding-top: 0.66rem;
	z-index: 1;
	cursor: pointer;
}

.button-light::before {
	content: " ";
	position: absolute;
	width: 101%;
	height: 105%;
	background-color: #F69E7B;
	border-radius: 0.5em;
	top: -0.1rem;
	left: 0.25rem;
	z-index: -1;
	transition: top .2s ease-in-out, left .2s ease-in-out;
}

.button-light::after {
	content: " ";
	position: absolute;
	width: 100%;
	height: 100%;
	border-width: 2px;
	border-style: solid;
	border-radius: 0.5em;
	top: 0.2rem;
	left: -0.25rem;
	transition: top .2s ease-in-out, left .2s ease-in-out;
}

.button-light:hover::before {
	top: 0.1rem;
	left: -0.25rem;
	transition: top .2s ease-in-out, left .2s ease-in-out;
}

.button-light:hover::after {
	top: -0.2rem;
	left: 0.25rem;
	transition: top .2s ease-in-out, left .2s ease-in-out;
}
	

.border-light::after {
	border-color: white;
}

.border-dark::after {
	border-color: #003844;
}


/* Specifics */

.container {
	max-width: 800px;
	width: 100%;
	margin: auto;
}

.topbar {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;
	
}

.logo {
	background-image: url('../img/logo.png');
	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;
	width: 300px;
}

.mainheader {
	text-align: end;
	font-family: 'Abril Fatface', cursive;
	letter-spacing: 2px;
	flex-grow: 1;
}

.mainheader>p {
	line-height: 1;
	font-size: 2em;
}

.columns-2 {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.columns-2>.col {
	width: 50%;
}

@media (max-width: 1080px) {

	.columns-2>.col {
		width: 100%;
	}
	
}

.welcome-box {
	position: relative;
}

.box-content {
	margin: 2rem 3rem;
}

.welcome-box::before {
	content: " ";
	position: absolute;
	left: -0.75rem;
	top: 70%;
	width: 1.5rem;
	height: 1.5rem;
	background-image: url("../img/circle1.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.right-col {
	display: flex;
    flex-direction: column;
}

.portrait {
	position: relative;
	width: 12rem;
	height: 12rem;
	margin: auto;
	margin-top: -1rem;
	background-image: url("../img/portrait.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transition: filter .5s ease-in-out, transform .5s ease-in-out;
}

.portrait:hover {
	filter: brightness(120%);
	transform: scale(1.1);
	transition: filter .5s ease-in-out, transform .5s ease-in-out;
}

.portrait::before {
	content: " ";
	position: absolute;
	left: -40%;
	top: 70%;
	width: 3em;
	height: 3em;
	background-image: url("../img/cma2.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transform-origin: 200% -50%;
	transition: transform .5s ease-in-out;
}

.portrait:hover::before {
	transform: rotate(45deg);
	transition: transform .5s ease-in-out;
}

.portrait::after {
	content: " ";
	position: absolute;
	left: 100%;
	top: 20%;
	width: 3em;
	height: 3em;
	background-image: url("../img/cma1.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transform-origin: -200% 100%;
	transition: transform .5s ease-in-out;
}

.portrait:hover::after {
	transform: rotate(30deg);
	transition: transform .5s ease-in-out;
}

.folio-box {
	color: white;
}

.flamingo-section {
	position: relative;
	width: 100%;
	height: 400px;
}

.flamingo-section::after {
	content: " ";
	position: absolute;
	bottom: -2rem;
	right: 10%;
	width: 5rem;
	height: 5rem;
	background-image: url("../img/cma3.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	z-index: -1;
}

.flamingo {
	position: relative;
	width: 100%;
	height: 100%;
	background-image: url('../img/shy_flamingo.png');
	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;
}

.email-box-container {
	position: absolute;
	width: 42%;
	height: 100%;
	top: 0;
	bottom: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.email-box-container::before {
	content: " ";
	position: absolute;
	left: calc(50% - 1.5rem);
	top: 0;
	width: 1.5rem;
	height: 3rem;
	background-image: url("../img/znaczek.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.email-box-container .box-content::after {
	content: " ";
	position: absolute;
	right: 15%;
	bottom: -0.5rem;
	width: 1rem;
	height: 1rem;
	background-image: url("../img/circle2.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.email-box {
	width: 100%;
}

a.email-link {
	color: #003844;
	font-style: normal;
	font-family: 'Abril Fatface', cursive;
}