@media screen { body{ margin: 0 auto; display: block; } .container { margin: 0 auto; width: 100%; max-width: 960px; } @media (max-width: 768px) { .container { max-width: 90%; } } .introtitle{ font-size: 20px; padding: 15px 30px 0 30px; margin-bottom: 10px; } .introtitle:hover{ color:#E2C044 } .introtexts{ font-size: 20px; font-family: 'Catamaran', sans-serif; } nav { position: relative; top: 0; left: 0; right: 0; z-index: 50; padding: 24px; margin-bottom: 50px; text-align: right; top: 0; height: 100px; } .navtitle{ font-size: 40px; font-family: 'Catamaran', sans-serif; color: #E2C044; float:left; transform: rotate(-5deg); } .navtitle:hover{ color:#9594C4; transform: rotate(-180deg); } .btn { background-color:#9594C4; border: 0 solid #E5E7EB; box-sizing: border-box; color: #000000; display: flex; font-family: 'NotCourierSans', Courier, sans-serif; font-size: 1rem; font-weight: 700; justify-content: center; line-height: 1.75rem; padding: 0m; position: relative; text-align: center; text-decoration: none #000000 solid; text-decoration-thickness: auto; max-width: 460px; position: relative; cursor: pointer; transform: rotate(-2deg); user-select: none; -webkit-user-select: none; touch-action: manipulation; float: right; padding: .75rem 3rem; font-size: 1.25rem; flex-basis: calc(33.33% - 10px); margin-right: 5px; margin-bottom: 5px; } .nav .btn:nth-child(5) { margin-right: 0; } .btn:focus { outline: 0; } .btn:after { content: ''; position: absolute; border: 1px solid black; bottom: 4px; left: 4px; width: calc(100% - 1px); height: calc(100% - 1px); cursor: pointer; } .btn:hover:after { bottom: 2px; left: 2px; border: 1px solid #E2C044; color:#E2C044; cursor: pointer; } @media (min-width: 768px) { .btn { padding: .75rem 3rem; font-size: 1.25rem; } } #infobutton{ float: left; color:#E2C044; } #infobutton:hover { background-color: #E2C044; cursor: pointer; } .legend{ color:#E2C044; margin-top: 30px; } .legend:hover { background-color:#E2C044; cursor: pointer; color:#E2C044; } p { margin: 0mm; font-family: 'Catamaran Medium', sans-serif; font-weight: 400; } .title{ margin-top: 100px; width: 100%; padding: 10px; text-align: center; } #textField{ position: relative; } textarea { position: absolute; z-index: 2; top: 0; left: 0; } }