*{ box-sizing: border-box; } body { min-height: 100vh !important; background-color: #43464b; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; } /* NavBar */ .navbar{ margin: 1.2rem; margin-top: 0; border-bottom: 2px solid white; } .navbar span{ font-weight: bold; color: white; } .navbar a:hover{ color: snow; font-weight: bolder; } .navbar a{ color: white; } /* Background image */ .rannakuNupp{ margin: .5% 1%; display: flex; justify-content: center; align-items: center; height: 85%; border-radius: 10px; width: auto; background-color: #90949b; background-image: url('img/rahvas.jpg'); background-size: cover; background-blend-mode: multiply; } /* Button */ .mainBtn{ color: #fff; font-weight: 777; font-size: 1.5rem; letter-spacing: .1rem; text-decoration: none; text-transform: uppercase; padding: 10px 30px; transition: .5s; } .mainBtn:hover{ color: #32311e; letter-spacing: .25rem; background: #fef899; font-weight: 888; } /* juhend */ .juhendUpper{ color: white; text-align: center; margin: 4rem; margin-bottom: 0; } /* Accordion */ .accordion-item, .accordion-header, .accordion-button{ background-color: transparent !important; border: none !important; text-decoration: none !important; } /* Media Queries*/ @media only screen and (max-width: 1080px) { #intro{ margin-bottom: 25vh; } } @media only screen and (min-width: 1080px) { #intro{ height: 100vh !important; max-height: 100vh !important; } } #juhend{ font-family: 'Kanit', sans-serif; font-size: larger !important; } @media only screen and (max-width: 560px) { #juhend{ margin-bottom: 10%; } } @media only screen and (min-width: 1080px) { #juhend{ height: 100vh !important; } }