* { padding: 0; margin: 0; box-sizing: border-box; } /* Navbar */ .header { overflow: hidden; background-color: #333333; padding: 20px 10px; transition: all 0.2s ease-in-out; } .header a { float: left; color: #BBBBBB; text-shadow: 3px 2px 2px rgba(199, 130, 59, 0.15); text-align: center; padding: 12px; text-decoration: none; font-size: 18px; line-height: 25px; border-radius: 4px; transition: all 0.2s ease-in-out; } .header a.logo { font-size: 25px; font-weight: bold; } .header a:hover { transform: scale(1.1); cursor: pointer; } .header a.active { background-color: #BBBBBB; color: black; } .header-right { float: right; } /* Overlay */ .overlay { height: 100%; width: 0; position: fixed; z-index: 1; top: 0; left: 0; background-color: rgb(0,0,0); background-color: rgba(0,0,0, 0.9); overflow-x: hidden; transition: 0.5s; } .overlay-content { position: relative; top: 25%; width: 100%; text-align: center; margin-top: 30px; } .overlay a { padding: 8px; text-decoration: none; font-size: 36px; color: #818181; display: block; transition: 0.3s; } .overlay a:hover, .overlay a:focus { color: #f1f1f1; } .overlay .closebtn { position: absolute; top: 20px; right: 45px; font-size: 60px; } /* Style */ html { background-color: #333333; color: #BBBBBB; font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 1vh; text-shadow: 3px 2px 2px rgba(199, 130, 59, 0.15); -ms-overflow-style: none; /* Hide scrollbar for Internet Explorer and Edge */ scrollbar-width: none; /* Hide scrollbar for Firefox */ scroll-behavior: smooth; overflow: scroll; overflow-x: hidden; } /* Hide scrollbar for Chrome, Safari and Opera */ .html::-webkit-scrollbar { width: 0; background: transparent; /* Optional: just make scrollbar invisible */ } #end__of__page { margin-bottom: -30vh; } .centered { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 100vh; } .row { display: flex; flex-direction: row; justify-content: center; align-items: center; } .highlight { background-color: #EEEEEE; border-radius: 20px; line-height: 1.5; padding-right: 0.9vw; padding-left: 0.9vw; font-weight: 520; text-shadow: none; box-shadow: 3px 2px 2px rgba(199, 130, 59, 0.15); } .hero__header { font-size: 6vw; font-weight: 400; } .divider__line { height: 4vw; } .about__header { font-size: 3vw; font-weight: 400; } .logo { transition: all 0.2s ease-in-out; } .logo:hover { transform: scale(1.1); cursor: pointer; } .logo__image { margin-left: 2vw; margin-right: 2vw; width: 10vw; } /* blog */ .blog_row { display: inline-flex; flex-direction: row; justify-content: center; align-items: center; margin-top: 2vw; margin-bottom: 2vw; gap: 12px; flex-wrap: wrap; } .blog { background: grey; width: 250px; height: 250px; border: 150px; border-radius: 20px; line-height: 1.5; padding-right: 0.9vw; padding-left: 0.9vw; font-weight: 520; text-shadow: none; box-shadow: 3px 2px 2px rgba(199, 130, 59, 0.15); transition: all 0.2s ease-in-out; } .blog:hover { transform: scale(1.1); cursor: pointer; } .blog__image { margin-left: 2vw; margin-right: 2vw; width: 10vw; } /* Login */ #login-holder { width: 50%; height: 70%; display: grid; justify-items: center; align-items: center; background-color: grey; border-radius: 7px; box-shadow: 0px 0px 5px 2px black; } #login-error-msg-holder { width: 100%; height: 100%; display: grid; justify-items: center; align-items: center; } #login-error-msg { width: 23%; text-align: center; margin: 0; padding: 5px; font-size: 12px; font-weight: bold; color: #8a0000; border: 1px solid #8a0000; background-color: #e58f8f; opacity: 0; } #error-msg-second-line { display: block; } #login-form { align-self: flex-start; display: grid; justify-items: center; align-items: center; } .login-form-field::placeholder { color: #3a3a3a; } .login-form-field { border: none; border-bottom: 1px solid #3a3a3a; margin-bottom: 10px; border-radius: 3px; outline: none; padding: 0px 0px 5px 5px; } #login-form-submit { width: 100%; padding: 7px; border: none; border-radius: 5px; color: white; font-weight: bold; background-color: #3a3a3a; cursor: pointer; outline: none; } @media only screen and (max-width: 1024px) { .hero__header { font-size: 12vw; font-weight: 400; } .about__header { font-size: 5vw; font-weight: 400; } .divider__line { height: 8vw; } .logo__image { margin-left: 2vw; margin-right: 2vw; width: 14vw; } }