|
| 1 | +/* styles.css */ |
| 2 | + |
| 3 | +@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace&display=swap'); |
| 4 | +@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap'); |
| 5 | + |
| 6 | + |
| 7 | +body { |
| 8 | + font-family: 'Bruno Ace', Arial, sans-serif; /* Use Bruno Ace as the primary font */ |
| 9 | + margin: 0; |
| 10 | + padding: 0; |
| 11 | + background-color: #f9f9f9; |
| 12 | +} |
| 13 | + |
| 14 | +header { |
| 15 | + height: 120px;; |
| 16 | +} |
| 17 | + |
| 18 | +header .logo { |
| 19 | + width: 90px; |
| 20 | + vertical-align: middle; |
| 21 | + position: relative; |
| 22 | + top: 7px; |
| 23 | + left: 7px; |
| 24 | +} |
| 25 | + |
| 26 | +header h1 { |
| 27 | + display: inline; |
| 28 | + margin: 0 20px; |
| 29 | + font-size: 2em; |
| 30 | +} |
| 31 | + |
| 32 | +main { |
| 33 | + padding: 20px; |
| 34 | + background-image: url(../img/robot.png); |
| 35 | + background-size: 800px; |
| 36 | + background-repeat: no-repeat; |
| 37 | + background-position-x: right; |
| 38 | + padding-bottom: 325px; |
| 39 | +} |
| 40 | + |
| 41 | +main h1 { |
| 42 | + font-weight: 400; |
| 43 | + font-family: 'Bruno Ace'; |
| 44 | + font-size: 2em; |
| 45 | + line-height: 77.19px; |
| 46 | + letter-spacing: 4px; |
| 47 | + color: #000000; |
| 48 | +} |
| 49 | + |
| 50 | + |
| 51 | +main h2 { |
| 52 | + font-size: 1.5em; |
| 53 | + margin-bottom: 20px; |
| 54 | + width: 50%; |
| 55 | +} |
| 56 | + |
| 57 | +main p { |
| 58 | + font-size: 1.2em; |
| 59 | + margin-bottom: 15px; |
| 60 | + font-family: 'Open Sans'; |
| 61 | + font-weight: 300; |
| 62 | + width: 50%; |
| 63 | +} |
| 64 | + |
| 65 | +main .start-button { |
| 66 | + background-color: #ff0043; |
| 67 | + color: white; |
| 68 | + border: none; |
| 69 | + padding: 10px 20px; |
| 70 | + font-size: 1.2em; |
| 71 | + cursor: pointer; |
| 72 | + transition: background-color 0.3s; |
| 73 | +} |
| 74 | + |
| 75 | +main .start-button:hover { |
| 76 | + background-color: #cc0036; |
| 77 | +} |
| 78 | + |
| 79 | +footer { |
| 80 | + background-color: #333; |
| 81 | + color: white; |
| 82 | + padding: 10px 0; |
| 83 | + height: 10vh; |
| 84 | + width: 100%; |
| 85 | + position: fixed; |
| 86 | +} |
| 87 | + |
| 88 | +footer a { |
| 89 | + color: #ff0043; |
| 90 | + text-decoration: none; |
| 91 | + margin-left: 10px; |
| 92 | +} |
| 93 | + |
| 94 | +.ellipse { |
| 95 | + width: 104px; /* Double the radius for the width */ |
| 96 | + height: 104px; /* Double the radius for the height */ |
| 97 | + background-color: white; |
| 98 | + border-radius: 50%; /* Creates the ellipse shape */ |
| 99 | + box-shadow: 0 3px 8px 0 #49454F; /* Shadow: offset-x offset-y blur spread color */ |
| 100 | + position: relative; |
| 101 | + top: 10px; |
| 102 | + margin: 0 auto; /* Center horizontally */ |
| 103 | + } |
| 104 | + |
| 105 | +.banner { |
| 106 | + background-image: linear-gradient(45deg, #EE2238 45%, #BF1D67 100%); |
| 107 | + height: 60px; |
| 108 | +} |
| 109 | + |
| 110 | +.responsive-title h1 { |
| 111 | + font-size: 3rem; /* Adjust the font size as needed */ |
| 112 | +} |
| 113 | + |
| 114 | +.responsive-title h2 { |
| 115 | + font-size: 2.5rem; /* Adjust the font size as needed */ |
| 116 | +} |
| 117 | + |
| 118 | +@media (max-width: 768px) { /* Adjust the breakpoint as needed */ |
| 119 | + .responsive-title h1 { |
| 120 | + font-size: 2.5rem; /* Smaller font size for smaller screens */ |
| 121 | + } |
| 122 | + .responsive-title h2 { |
| 123 | + font-size: 2rem; /* Smaller font size for smaller screens */ |
| 124 | + } |
| 125 | +} |
| 126 | + |
| 127 | +@media (max-width: 480px) { /* Adjust the breakpoint as needed */ |
| 128 | + .responsive-title h1 { |
| 129 | + font-size: 2rem; /* Even smaller font size for very small screens */ |
| 130 | + } |
| 131 | + .responsive-title h2 { |
| 132 | + font-size: 1.5rem; /* Even smaller font size for very small screens */ |
| 133 | + } |
| 134 | +} |
0 commit comments