@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); body{ background-color: #4c6f9a; } *{ font-family: 'Poppins', sans-serif; margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; } header{ background-color: dimgray; width: 100%; position:fixed ; z-index: 999; display: flex; justify-content: space-between; align-items: center; padding: 10px 200px; } .logo{ text-decoration: none; color:black; text-transform: uppercase; font-weight: 700; font-size: 1.8em; } .navigation a{ color: black; text-decoration: none; font-size: 1.2em; font-weight: 600; padding-left: 40px; } .navigation a:hover{ color: aquamarine; } section{ padding: 100px 200px; } .main{ width: 100%; min-height: 10vh; display: flex; align-items: center; background: url(mmdd.png) no-repeat; background-position: right center; background-attachment: fixed; } .main h2{ color:aliceblue; font-size: 1.6em; font-weight: 500; } .main h2 span{ display: inline-block; margin-top: 10px; color:#152e4f; font-size: 2.8em; font-weight:500; } .main h3{ color: mistyrose; font-size: 2em; font-weight: 700; letter-spacing: 3px; margin-top: 10px; margin-bottom: 30px; } .main-btn{ color: aliceblue; background-color: rgb(78, 62, 62); text-decoration: none; font-size: 1.1em; font-weight: 600; display: inline-block; padding: 0.9375em 2.1875em; letter-spacing: 1px; border-radius: 15px; margin-bottom: 40px; transition: 0.10s ease; } .main-btn:hover{ background-color: rgb(48, 38, 40); transform: scale(1.1); } .social-icons a{ color: #d1d3d5; font-size: 1.7em; padding-right: 30px; } .botton{ position: absolute; text-decoration: none; text-transform:uppercase; padding: 7px 20px; left:45%; color: aliceblue; background-color: rgb(78, 62, 62); text-decoration: none; font-size: 1.3em; font-weight:700; display: inline-block; padding: 0.9375em 2em; letter-spacing: 10px; border-radius: 20px; margin-bottom: 40px; } .botton:hover{ background-color: rgb(48, 38, 40); transform: scale(1.1); } .cards{ background-color: aliceblue; } .title{ display: flex; justify-content: center; color: #2d4a70; font-size: 2.2em; font-weight: 800; margin-bottom: 30px; } .content{ display: flex; justify-content: center; flex-direction: row; flex-wrap: wrap; } .card{ background-color: aliceblue; width: 19em; box-shadow: 0 5px 25px rgba(1 1 1 / 15%); padding: 25px; margin: 15px; transition: 0.7 ease; } .card:hover{ transform: scale(1.1); } .icon{ color: rgb(48, 38, 40); font-size: 8em; text-align: center; } .info h3{ color: #2d4a70; font-size: 1.2em; font-weight: 700; margin: 10px; } .projects{ background-color: #202122; } .projects.content{ margin-top: 30px; } .project-card{ background-color: #fff; border: 1px solid #fff; height: 20em; width: 23em; overflow: hidden; border-radius: 10px; margin: 20px; transition: 0.7s ease; } .project-card:hover{ transform: scale(1.1); } .project-card:hover .project-image{ opacity: 0.9; } .project-image img{ width: 100% } .project-info{ padding: 1em; } .project-category{ font-size: 0.8em; color: black; } .project-title{ color: #2d4a70; display: flex; justify-content: space-between; text-transform:uppercase; font-weight: 800; margin-top: 10px; } .more-details{ color: black; text-decoration: none; } .more-details:hover{ color: aquamarine; } .contact .icon { font-size: 6em; } .contact .info h3{ color: #000; } .contact .info p{ font-size: 1.2em; } .footer{ color:rgb(193, 193, 162); padding: 2em; display: flex; justify-content: space-between; } .footer-title{ font-size: 1.3em; font-weight: 600; } .footer-title span{ color:black; } @media (max-width:1023px){ header{ padding: 12px 20px; } .navigation a{ padding-left: 10px; } .title{ font-size: 1.8em; } section{ padding: 80px 20px; } .main-content h2{ font-size: 1em; } .main-content h3{ font-size: 1.6em; } .contact{ flex-direction: column; align-items: center; } } @media (max-width:641px){ body{ font-size: 12px; } .main-content h2{ font-size: 0.8em; } .main-content h3{ font-size: 1.4em; } } @media (max-width:300px){ body{ font-size: 10px; } .main-content h2{ font-size: 0.6em; } .main-content h3{ font-size: 1.1em; } }