123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- /* @tailwind base;
- @tailwind components;
- @tailwind utilities;
- @layer components {
- .btn-primary {
- @apply py-2 px-5 bg-violet-500 text-white font-semibold rounded-full shadow-md hover:bg-violet-700 focus:outline-none focus:ring focus:ring-violet-400 focus:ring-opacity-75;
- }
- }
- @layer components {
- .btn-danger {
- @apply py-2 px-5 bg-red-500 text-white font-semibold rounded-full shadow-md hover:bg-red-700 focus:outline-none focus:ring focus:ring-red-400 focus:ring-opacity-75;
- }
- } */
- *{
- margin: 0;
- padding: 0;
- list-style: none;
- text-decoration: none;
- }
- header {
- height: 40vh;
- width: 100vw;
- background-image: url(../images/landscape.jpg);
- background-size: cover;
- transition: all 0.1s ease;
- }
- .navbar {
- position: absolute;
- padding: 50px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- width: 100%;
- box-sizing: border-box;
- }
- .navbar a {
- color: white;
- }
- .navbar .logo {
- font-size: 6em;
- font-weight: bold;
- }
- .navbar .nav-links ul {
- display: flex;
- }
- .navbar .nav-links ul li {
- margin: 0 25px;
- }
- .navbar .nav-links ul li.active a {
- color: #ed3c57;
- font-weight: 600;
- }
- .navbar .menu-burger {
- display: none;
- position: absolute;
- top: 50px;
- right: 30px;
- width: 35px;
- }
- .navbar .nav-links ul li {
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- }
- @media screen and (max-width: 900px) {
- header.big {
- height: 100vh;
- }
- .navbar {
- padding: 0;
- }
- .nav-links {
- top: 0;
- left: 0;
- position: absolute;
- background-color: rgba(0, 255, 221, 0.308);
- width: 100%;
- height: 100vh;
- display: flex;
- justify-content: center;
- align-items: center;
- backdrop-filter: blur(7px);
- margin-left: -100%;
- transition: all 0.1s ease;
- }
- .nav-links ul {
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .navbar .menu-burger {
- display: block;
- }
- .nav-links.mobile-menu {
- margin-left: 0;
- }
- .navbar .nav-links > ul > li {
- margin: 25px 0;
- font-size: 1.2em;
- }
- .navbar .nav-links ul li {
- flex-direction: column;
- }
- .navbar .logo {
- position: absolute;
- top: 40px;
- left: 30px;
- font-size: 2em;
- }
- }
|