* {
	margin: 0; 
	padding: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
	display: block; 
}

body {
	text-align: center;
	background-color: rgb(17, 17, 17);
}

#wrapper {
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	position: absolute;
	top: 50%;
	left: 50%;
}


h1, h2, input, button {
	font-family: Arial, sans-serif;
	font-family: 'Montserrat', sans-serif;
}

h1, h2 {
	margin: 0 0 4px 0;
}

.header {
	font-size: 36px;
	font-weight: 700;
	color: whitesmoke; 
	text-transform: uppercase;
}

h2 {
	font-size: 16px;
	font-weight: 200;
	color: white;

	font-style: italic;

}

hgroup {
	margin-bottom: 24px;
}

input#search {
	font-size: 14px;
	width: 400px;
	height: 40px;
	border: 1.5px solid #333;
	padding: 6px 12px;
}

.flaggor {
	width: 70%;
	margin-top: 1rem; 
}

/* Search btn  */

.btn-small {
	display: none;
}

#form {
	display: flex;
	flex-direction: row;
}

input {
	display: block; 
  }

.button-search {
	cursor: pointer;
	background-color: transparent;
	border: none;
}

button[type="submit"]  ul {
    list-style-type: none;
    margin: 0;
	padding: 0;
}

button[type="submit"]  ul li {
    --c: white;
    color: var(--c);
    font-size: 16px;
    border: 0.2em solid var(--c);
    width: 12em;
    height: 3em;
    text-transform: uppercase;
    font-weight: bold;
	font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.1em;
    text-align: center;
    line-height: 3em;
    position: relative;
    overflow: hidden;
    z-index: 1;
	transition: 0.5s;
	margin-left: 0.5rem;
}

button[type="submit"]  ul li span {
    position: absolute;
    width: 25%;
    height: 100%;
    background-color: var(--c);
    transform: translateY(150%);
    border-radius: 50%;
    left: calc((var(--n) - 1) * 25%);
    transition: 0.5s;
    transition-delay: calc((var(--n) - 1) * 0.1s);
    z-index: -1;
}

button[type="submit"] ul li:hover {
    color: black;
}

button[type="submit"] ul li:hover span {
    transform: translateY(0) scale(2);
}

button[type="submit"] ul li span:nth-child(1) {
    --n: 1;
}

button[type="submit"]  ul li span:nth-child(2) {
    --n: 2;
}

button[type="submit"]  ul li span:nth-child(3) {
    --n: 3;
}

button[type="submit"]  ul li span:nth-child(4) {
    --n: 4;
}

/* 404 page  */

.lost-first {
	color: whitesmoke;
	text-transform: uppercase;
	font-size: 5rem;	
}

.lost {
	color: whitesmoke;
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	margin-top: 0.5rem;
}

.wrapper-lost {
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	position: absolute;
	top: 50%;
	left: 50%;
}

.welcome {
	color: whitesmoke;
	font-family: 'Montserrat', sans-serif;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	margin-bottom: 2rem;
}

a {
	text-decoration: none;
}

@media (max-width: 1100px) {
	.welcome {
		margin-top: 2rem;
	}
}

@media (max-width: 675px) {
	img {
		width: 90%;
	}

	.button-search {
		display: none;
	}

	.btn-small {
		background-color: transparent;
		border: 1px solid whitesmoke;
		color: white;
		padding: 15px 30px;
		text-align: center;
		text-decoration: none;
		display: inline-block;
		font-size: 16px;
		cursor: pointer;
		margin-left: 0.5rem;
		text-transform: uppercase;
		font-family: 'Montserrat', sans-serif;
		font-weight: 600;

	}

	input#search {
		max-width: 160px;
	}

	.flaggor{
		width: 300px;
	}
}

.questions {
	color: whitesmoke;
	font-family: 'Montserrat', sans-serif;
	font-style: italic;
	font-size: 0.8rem;
	margin-top: 1rem;
}