
/* colors  */
h6 {
	color: #7e4e04;
	color: #b08864;
	color: #d8b99c;
	color: #ece2d6;
	color: #fdf8f5;
}

html {
    box-sizing: border-box;
	scroll-behavior: smooth; 
	overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
	margin: 0;
	position: relative;
	overflow-x: hidden;
	width: 100vw;
    height: 100vh;
    background-color: #ece2d6;
}

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

ul {
	margin-block-start: 0em;
    margin-block-end: 0em;
    padding-inline-start: 0px;
}

p, h1, h2 {
    margin-block-start: 0px;
    margin-block-end: 0px;
  }
  
.container {
	max-width: 1230px;
	margin: 0 auto;
	padding: 0 15px;
}

h4 {
    margin-block-start: 0em;
    margin-block-end: 0em;
}

.container-main {
	height: 80vh;
}

a {
	text-decoration: none;
}

.header-main {
	height: 15vh;
	align-content: center;
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

.main-main, main {
	max-height: 80vh;
}

.footer-main {
	height: 5vh;
}




/* HEADER */

.section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.section-title-h1 {
    font-size: 40px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 5px;
    color:#7e4e04;
    text-align: center;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.section-title-h4 {
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color:#7e4e04;
    text-align: center;
    margin-top: 0px;
    margin-left: 0px;
    padding-top: 0px;
}



/* MAIN */
.wrapper {
	display: grid;
	grid-template-rows: repeat(2, 50%);
	height: 80vh;
	
}

textarea {
	flex-grow: 1;
	z-index: 3;
    position: absolute;
    left: calc(50% - 150px);
    top: calc(30% - 50px);
	background-color:#fdf8f5;
	border-radius: 5px;
	border-color: #7e4e04;
	padding: 10px;
	color: #7e4e04;
	resize: none;
	width: 300px;
	height: 100px;
}

textarea:focus-visible {
	outline-color: #7e4e04;
	outline-width: 0px;
}

.textarea-img {
	height: 58vh;
    margin: -100px auto 0px auto;
	max-width: 100%;

}

.textarea {
	display: flex;
}

.keyboard {
	flex-grow: 1;
    align-self: center;
    justify-self: center;
    width: 80%;
    text-align: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
	background-color: transparent;
	border: 1px solid #7e4e04;
	border-radius: 3px;
	cursor: pointer;
    height: 45px;
    width: 6%;
    max-width: 90px;
    margin: 3px;
    color: #7e4e04;
    font-size: 1rem;
    position: relative;
}

.button-wider {
    min-width: fit-content;
}

.button-space {
    min-width: 33%;
}

.button-darker {
    background-color:#d8b99c;
    
}

.button:hover {
	transition: 0.5s;
	background-color:#fdf8f5;
}

.button-pressed {
	background-color: #7e4e04;
    color: #ece2d6;
    transition: 0.5s;
}

.upTextButton {
    position: absolute;
    top: 4px;
    left: 4px;
    color: #7e4e04;
    font-size: 0.6rem;
    margin: 0px auto auto 0px;
}

.capsLock-on {
    background-color: #7e4e04;
    color: #ece2d6;
    transition: 0.5s;
}

.big-letters {
    text-transform: uppercase;
}

.capsLock-on:hover {
    transition: 0.5s;
	background-color:#b08864;
}



/* FOOTER */
.nav-list-footer {
	display: flex;
    flex-direction: row;
    justify-content: right;
    margin-left: 0px;
    list-style-type: none;
    align-items: baseline;
    padding-top: 1vh;
}

.nav-list-footer li {
    margin-left: 20px;
}

.nav-link-footer, .nav-link-footer-date {
    text-decoration: none;
    color: #7e4e04;
    font-size: 10px;
    line-height: auto;
    transition: color 0.5s;
    font-weight: 100;
    text-transform: lowercase;
    letter-spacing: 1px;
    margin-left: 5px;
}

.nav-link-footer-date {
	cursor: default;
}

.nav-link-footer:hover {
	color:#b08864;
}

.nav-img-footer {
    height: 15px;
    margin-left: 5px;
	opacity: 40%;
}

@media (max-width: 1155px) {
    .keyboard {
        width: 100%;
    }

    .button {
        height: 30px;
        width: 6%;
        max-width: 90px;
        margin: 1px;
        font-size: 0.6rem;
    }

    .upTextButton {
        font-size: 0.3rem;
    }
}


