body { margin: 0px; padding: 0px; background-color :#BBE1FA; } ul{ list-style : none; } a { text-decoration: none; } nav{ display: flex; justify-content: center; align-items: center; height: 60px; background-color :#1B262C; box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1.5); padding: 0px 5%; } nav ul { display: flex; } nav ul li a { margin : 40px; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; color: whitesmoke ; font-size: 20px; font-weight: 700; } nav ul li a:hover { background-color :whitesmoke; color: slategray; border-radius: 5px; } marquee a { font-size: 18px; color :rgb(40, 45, 51); font-weight: bold; } /* Home */ #home { height: 95vh; position: relative; width: 100%; } .home p { line-height: 0px; margin: 55px 0px 25px; } .home p:nth-child(1) { font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; font-weight: bold; color: black; font-size: 25px; } .home p:nth-child(2) { font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; font-weight: bold; color :dimgray; font-size: 30px; } .home p:nth-child(4) { font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; font-weight: bold; color:rgb(76, 76, 76); font-size: 20px; } .home p:nth-child(5) { font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; font-weight: bold; color:rgb(76, 76, 76); font-size: 20px; } .home { position: absolute; left: 10%; right:10%; transform: translate(13%, 42%); } .gambar { width: 400px; height: auto; position: absolute; left: 80%; top: 20%; border-radius: 15%; transform: translate(-74%); } .gambar:hover { background-color: #ff0000; color: #ffffff; font-size: 24px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); transform: translate(-75%) scale(1.1); } /* Hobby */ .hobby { height: 90vh; background-color: #468B97; padding: 2% 10% 10%; } .hobby-desc { margin : 50px 50px } .hobby-desc p:nth-child(1) { font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; font-weight: bold; color: 000; font-size: 40px; line-height: 0px; text-align: center; margin-bottom: 30px; } .hobby-desc p:nth-child(2) { font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; color :rgb(214, 208, 208); text-align: center; margin-bottom: 30px; font-size: 35px; } .box-container { display: flex; text-align: justify; justify-content: space-around; } .box-1 { width: 400px ; height: 400px; box-shadow: 2px 12px 18px; background-color: #8EACCD; } .box-2 { width: 400px ; height: 400px; box-shadow: 2px 12px 18px; background-color: #D2E0FB; } .box-3 { width: 400px ; height: 550px; box-shadow: 2px 12px 18px; background-color: #D7E5CA; } .box-container .box-1 h2 { text-align: center; margin: 30px; color :#1B262C; } .box-container .box-1 p { text-align:justify; margin: 25px; color :#1B262C; font-size: 20px; } .box-container .box-2 h2 { text-align: center; margin: 30px; color: #1B262C; } .box-container .box-2 p { text-align:justify; margin: 25px; color :#1B262C; font-size: 20px; } .box-container .box-3 h2 { text-align: center; margin: 30px; color:#1B262C; } .box-container .box-3 p { text-align:justify; margin: 25px; color :#1B262C; font-size: 20px; } .windah { width: 250px; height: auto; position: absolute; left: 80%; top: 140%; border-radius: 15%; transform: translate(-430%); } .badmin { width: 235px; height: auto; position: absolute; left: 80%; top: 140.7%; border-radius: 15%; transform: translate(-263.5%); } .ngeleg { width: 235px; height: auto; position: absolute; left: 80%; top: 140.5%; border-radius: 15%; transform: translate(-73%); } /* Contact */ .contact { height: 90vh; background-color: #D0E7D2; padding: 2% 10% 10%; } .contact-desc { margin: 50px 50px; } .contact-desc p:nth-child(1) { font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; font-weight: bold; color: 000; font-size: 40px; line-height: 0px; text-align: center; margin-bottom: 30px; } .contact-desc p:nth-child(2) { font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; color :#1B262C; text-align: center; margin-bottom: 30px; font-size: 35px; } input[type=text], select, textarea { width: 100%; padding: 12px; border: 1px solid #D7E5CA; border-radius: 5px; box-sizing: border-box; margin-top: 6px; margin-bottom: 15px; resize: vertical; } input[type=submit]{ background-color: #1B262C ; color: antiquewhite; padding: 12px 24px; border: none; border-radius: 4px; cursor :pointer; } input[type=submit]:hover{ background-color: #468B97; } input:active { transform: scale(1.2); } /* Fotter */ footer { height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; background-color: #1B262C; } footer p { font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; } footer p:nth-child(1) { color :whitesmoke ; font-size: 20px; font-weight: bold; line-height :20px } footer p:nth-child(2) { color :whitesmoke ; font-size: 20px; font-weight: bold; line-height :20px } .social-icons { margin: 30px 0px; display: flex; } .social-icons a { width: 45px; height: 45px; display: flex; justify-content: center; align-items: center; margin: 3px; background-color: #D2E0FB; border-radius: 50%; } .social-icons i { font-size: 35px; color: #1B262C; } .social-icons a:hover { background-color: #8EACCD; box-shadow: 2px 2px 12px rgba(176, 168, 168, 0.5); }