@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Oswald&family=Poppins&family=Roboto+Mono&display=swap');

:root {
	--radius-border: 10px;
	--shadow: .05em .05em .5em grey;
}

/*MAKE UP*/
body {
	font-size: 1.1rem;
	font-family: 'Poppins', sans-serif;
	color: white;
	height: 100vh;
	background-image: url('../images/foto/5120x2880.png');
	background-size: auto auto;
	background-position: center;
	background-attachment: fixed;
	background-color: #3f1235;
	margin: 0;
	padding: 0;
}

@media screen and (min-width: 768px) {
	body {
		font-size: 1rem;
	}
}

.wrapper {
	padding: .2em;
	max-inline-size: 1440px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto 1fr auto;
}

@media screen and (min-width: 768px) {
	.wrapper {
		padding: .5em;
	}
}

h1,h2 {
	font-family: 'Oswald';
	text-shadow: grey .05em .07em;
}

a {
	color: white;
}

p {
	font-size: .85em;
}

table {
	font-size: .9em;
}

@media screen and (min-width: 768px) {
	table {
		font-size: 1em;
	}
}

#clearboth {
	clear: both;
}

/*ASIDE*/
aside {
	margin-block-start: 10px;
}

aside > img {
	inline-size: 100%;
	border-radius: var(--radius-border);
}

/*WEB HEADER*/
.webheader {
	background-color: #3f1235;
	box-shadow: var(--shadow);
	grid-area: 1 / 1 / span 1 / span 1;
	border: 2px solid black;
	border-radius: var(--radius-border);
	margin: 10px;
	text-align: center;
	display: flex;
	flex-direction: column;
}

@media screen and (min-width: 768px) {
	.webheader {
		flex-direction: row;
		justify-content: space-between;
		padding-inline-start: 1em;
	}
}

.webheader > a {
	font-family: 'Oswald';
	text-decoration: none;
}

.webheader > a:after {
	content: "| Vitruvius";
	font-size: 4em;
	padding-inline-start: .2em;
}

.webheader > a > img {
	block-size: 4em;
	padding-block-start: .6em;
}

.shadow {
	box-shadow: var(--shadow);
}

/*NAV BAR*/
nav ul {
	list-style-type: none;
	padding: 10px 4px 10px 4px;
	margin: 0;
}

nav > ul > li {
	display: block;
	font-size: 1.4em;
	padding: 5px 0;
	position: relative;
	margin-block-start: 1px;
}

nav > ul > li > a {
	text-decoration: none;
	padding: 5px 4px;
	text-transform: uppercase;
	border: 2px solid black;
	transition: border 300ms linear;
	border-radius: 5px;
	background-color: #8855a8;
}

/*SUBMENU HOVER DROPDOWN*/
@media screen and (min-width: 768px) {

	.webheader {
		align-items: end;
	}

	nav > ul > li {
		display: inline-block;
		font-size: 1.8em;
	}

	nav > ul > li > a {
		border: 2px solid transparent;
	}

	nav > ul > li > a:hover {
		border: 2px solid black;
		border-radius: 5px;
	}

	nav > ul > li:hover .submenu {
		display: block;
	}
}

/*MAIN*/
main {
	grid-area: 2 / 1 / span 1 / span 1;
}

table,td {
	border: 1px solid black;
	border-radius: 5px;
}

article {
	background-color: #3f1235;
	box-shadow: var(--shadow);
	border: 2px solid black;
	border-radius: var(--radius-border);
	padding: .2em;
	margin: 10px;
}

@media screen and (min-width: 768px) {
	#contentflex {
		display: flex;
		gap: .2em;
	}

	article {
		padding: 1.5em;
	}
}

.border {
	border: 2px solid black;
	border-radius: var(--radius-border);
	padding: .2em;
	margin: 4px 0 4px 0;
	background-image: var(--gradient-bg);
}

.shadow {
	box-shadow: var(--shadow);
}

@media screen and (min-width: 768px) {
	.border {
		padding: 1em;
	}
}

#fotovideo {
	text-align: center;
}

section img,article img,section > video,figure img {
	inline-size: 100%;
	block-size: auto;
	border-radius: var(--radius-border);
}

#hekman > img {
	clip-path: circle(40%);
	filter: grayscale(1);
}

@media screen and (min-width: 768px) {
	#hekman {
		inline-size: 25%;
		float: right;
		margin: .3em;
	}

	section > img,section > video {
		inline-size: 32.9%;
		block-size: auto;
	}

	section > img:last-of-type,section > video:last-of-type {
		inline-size: 49.7%;
	}

	article > img,article > p > img {
		inline-size: 18em;
		float: left;
		margin: .3em;
	}

	article > img:first-of-type, article > img:last-of-type {
		float: right;
	}

	#hekman {
		inline-size: 25%;
		float: right;
		margin: .3em;
	}
}

@media screen and (min-width: 1024px) {
	section > img,section > video {
		inline-size: 19.6%;
		block-size: auto;
	}

	section > img:last-of-type,section > video:last-of-type {
		inline-size: 19.6%;
	}

	article > img,article > p > img {
		inline-size: 13em;
	}
}

figure {
	border: 2px solid black;
	border-radius: var(--radius-border);
	padding: .2em;
	margin: 4px 0 4px 0;
	background-image: var(--gradient-bg);
	border-radius: var(--radius-border);
}

figcaption {
	margin: 0 .5em 0 .5em;
}

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

	#imgright {
		order: 1;
	}

	.multicolumn {
		column-count: 2;
		column-rule: 2px dotted black;
	}
}

@media screen and (min-width: 1024px) {
	#figureflex {
		display: flex;
		gap: .2em;
	}

	section > figure {
		display: block;
	}

	section > figure:first-of-type {
		flex-shrink: 1.7;
	}

	section > figure:last-of-type {
		flex-shrink: 2.5;
	}

	.multicolumn {
		column-count: 3;
	}
}

/*FOOTER*/
footer {
	background-color: #3f1235;
	color: white;
	font-size: 1em;
	text-align: center;
	grid-area: 3 / 1 / span 1 / span 1;
	border: 2px solid black;
	border-radius: var(--radius-border);
	box-shadow: var(--shadow);
	padding: 2px;
	margin: 10px;
}