


html {
    background: lightgrey;
}

:root {
    --background-color: rgb(113, 195, 223);
    --text-color: hsl(293, 70%, 41%);
}

body {
    background-size: 100%;
    background-repeat: no-repeat;
    position: relative;
    font-size: 20px;
    font-family: "Namdhinggo", serif;
    margin: 0;
}

input, button, textarea, select {
    font: inherit;
}

#book-us {
    background-color: lightgray;
    border: none;
}

#book-us:hover {
    cursor: pointer;
}

#contact-form {
    min-width: 50%;
}

.fields {
    width: 30%;
}

.fields input, textarea{
    width: 100%;
}

.fields textarea {
    height: 48%;
}

h1, h2, h5, p {
    margin: 0;
}

section {
    margin-block: 2rem;
	overflow-y: visible;
}

main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1500px;
    margin: auto;
	padding-inline: 1rem;
}


.flex-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.flex {
    display: flex;
    gap: 2rem;
    max-width: 100%;
}

.flex .content {
    align-self: center;
}

.center-contents {
    align-items: center;
}

.very-big {
    font-size: 5rem;
    font-weight: bolder;
}

.hero img {
    width: 100%;
}

.solutions .flex-column{
    width: 50%;
}

.bold {
    font-size: large;
    font-weight: bold;
}

.left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.across {
    display: flex;
    gap: 1rem;

}

img {
	max-width: 100%;
	height: auto;
}

img.logo {
    height: 4rem;
    width: 4rem;
}

img[alt^="book"] {
    height: 16rem;
    width: 16rem;
    display: inline;
}

img.monkey {
    max-height: 38rem;
    margin-left: auto;
}

header {
    margin-bottom: .5rem;
    position: sticky;  
    top: 0;
    border-bottom: 2px solid black;
    background-color: lightgray;
	z-index: 1;
	padding-inline: 1rem;
}

.header-content {
    margin: auto;
    display: flex;
    align-items: center;
    max-width: 1500px;
}

p, h1 {
    color:black;
    text-align: center;
}

nav {
    display: flex;
    flex-direction: row;
    gap: .5rem;
    margin-left: auto;
    margin-top: 0;
}

nav ul {
    margin-left: auto;
}

nav li {
    display: inline;
}

.subsite {
	display: flex;
	flex-direction: column;
	position: relative;
}

.subsite iframe {
	height: 95%;
	border-radius: .4rem;
}

.subsite a{
	align-self: center;
	position: absolute;
	top: calc(var(--card-size) - 2.2rem);
	background: grey;
	padding: .5rem 1rem;
	z-index: 1;
	border-radius: 2rem;
	color: white;
	text-decoration: none;
	font-family: "Roboto", sans-serif;
}

.subsite a svg {
	width: 1rem;
	height: 1rem;
	fill: white;
}

#book-us {
    display: flex;
}

#book-us a {
    margin: auto;
}

footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@media only screen and (max-width: 1000px) {
    .flex {
        flex-direction: column;
    }
    
    .fields {
        width: 100%;
    }

    .solutions .flex-column{
        width: 100%;
    }

    .very-big {
        font-size: 3rem;
        font-weight: bolder;
    }

	img.monkey {
		margin: auto;
	}

}
