body { margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; } section { width: 100%; height: 100%; display: flex; margin: 50px; flex-direction: column; justify-content: center; gap: 5px; } .header { border-radius: 25px; display: grid; padding: 40px; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; width: 1080px; height: 688px; margin: 0 auto; background: linear-gradient(45deg, hsla(0, 0%, 100%, 1) 0%, hsla(180, 2%, 92%, 1) 0%, hsla(0, 0%, 66%, 1) 100%); } .angleDown { text-align: center; grid-column: 1/3; margin-bottom: 40px; animation: moveUpDown 2s linear infinite; } @keyframes moveUpDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } } .intro { display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr; margin-left: 40px; margin-top: 80px; font-family: 'Josefin Sans', sans-serif; font-size: 34px; } .hello { text-align: center; margin-top: 200px; } .socialMedia { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 10px; margin-bottom: 100px; } .logoLinkedin { width: 20px; height: 20px; } .logoInstagram { width: 20px; height: 20px; } .socialMedia a { font-size: 15px; color: black; text-decoration: block; } .photo { display: flex; justify-content: right; align-items: center; margin-right: 60px; margin-top: 80px; margin-bottom: 40px; } .photoAnggara { width: 400px; height: 400px; border-radius: 50%; box-shadow: 10px 10px 25px 0px rgba(0, 0, 0, 0.75); -webkit-box-shadow: 10px 10px 25px 0px rgba(0, 0, 0, 0.75); -moz-box-shadow: 10px 10px 25px 0px rgba(0, 0, 0, 0.75); } .text-wrapper { display: flex; flex-direction: row; justify-content: center; margin-top: 40px; align-items: stretch; gap: 20px; } #profile { display: flex; font-size: 40px; font-weight: bold; flex-direction: column; align-items: center; margin-top: 20px; } .photoAnggara2 { width: 350px; border-radius: 15px; box-shadow: 10px 10px 25px 0px rgba(0, 0, 0, 0.75); -webkit-box-shadow: 10px 10px 25px 0px rgba(0, 0, 0, 0.75); -moz-box-shadow: 10px 10px 25px 0px rgba(0, 0, 0, 0.75); margin-bottom: 20px; margin-left: -60px; } #biodate { display: flex; justify-content: center; align-items: center; font-size: 32px; font-weight: bold; } .biodateContainer, .aboutmeContainer { margin-top: 120px; } #biodate2 { display: flex; font-size: 20px; flex-direction: column; width: 400px; } #aboutme { display: flex; justify-content: center; align-items: center; font-size: 32px; font-weight: bold; } #aboutme2 { text-align: left; margin-left: 10px; font-size: 20px; } section #content1 { width: 1080px; height: 688px; margin: 0 auto; display: none; flex-direction: column; border-radius: 25px; background: linear-gradient(45deg, hsla(0, 0%, 100%, 1) 0%, hsla(180, 2%, 92%, 1) 0%, hsla(0, 0%, 66%, 1) 100%); font-family: 'Josefin Sans', sans-serif; padding: 40px; grid-gap: 20px; } section #content2 { width: 1080px; height: 688px; padding: 40px; margin: 0 auto; display: none; border-radius: 25px; align-items: center; justify-content: center; flex-direction: row; gap: 30px; font-family: 'Josefin Sans', sans-serif; background: rgb(65, 64, 67); color: white; background: linear-gradient(38deg, rgba(65, 64, 67, 1) 0%, rgba(175, 146, 146, 1) 97%); } #edu { display: flex; justify-content: center; font-size: 60px; font-weight: bold; } #eduList { font-size: 30px; } section #content3 { width: 1080px; height: 688px; padding: 40px; margin: 0 auto; display: none; border-radius: 25px; align-items: center; justify-content: center; ; flex-direction: column; font-family: 'Josefin Sans', sans-serif; background: rgb(65, 64, 67); color: white; background: linear-gradient(38deg, rgba(65, 64, 67, 1) 0%, rgba(175, 146, 146, 1) 97%); } #skill { display: flex; margin-top: 50px; font-size: 52px; font-weight: bold; } #skillDesc { display: flex; gap: 20px; margin: 80px; } .logo { width: 100px; height: 100px; } @media screen and (max-width: 480px) { body { margin: 0; padding: 0; height: 100vh; } section, .header, #content1, #content2, #content3 { height: 100vh; width: 100vw; margin: 0; padding: 0; border-radius: 0px; } section { gap: 0; } .header { margin-top: 0; display: flex; flex-direction: column; } .intro { display: flex; padding: 0px; flex-direction: column; margin: 0; } .hello { margin-top: 60px; } .photoAnggara { width: 200px; height: 200px; } .photo { display: flex; order: -1; flex-direction: row; justify-content: center; align-items: center; margin: unset; margin-top: 120px; } .angleDown { text-align: center; margin-bottom: 20px; } section #content1 { width: 100vw; border-radius: 0; margin: unset; padding: 0; } .text-wrapper { flex-direction: column; margin: unset; } #profile { margin-top: 10px; font-size: 26px; } #biodate, #aboutme { font-size: 20px; } .biodateContainer { margin: unset; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; } #biodate2 { margin: unset; } .photo2 { display: flex; justify-content: center; } .photoAnggara2 { width: 200px; height: 250px; margin: unset; } #biodate2, #aboutme2 { font-size: 16px; } .aboutmeContainer { margin: unset; display: flex; flex-direction: column; justify-content: center; align-items: center; } #aboutme { margin: unset; margin-top: 20px; } #aboutme2 { margin: unset; margin-top: -40px; padding: 50px; } section #content2 { width: 100vw; border-radius: 0; margin: unset; padding: 0; } #edu { margin-top: 20px; font-size: 20px; } #eduList { font-size: 15px; margin-bottom: 20px; } section #content3 { width: 100vw; border-radius: 0; margin: unset; padding: 0; } #skill { font-size: 20px; margin: unset; margin-top: 20px; } #skillDesc { margin: unset; gap: 10px; margin-top: 30px; margin-bottom: 40px; } .logo { width: 50px; height: 50px; } }