@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&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");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}
:root {
  --blue-color: #3498db;
  --padding: 20px;
  --white-color: white;
}

body {
  background: linear-gradient(to right, rgb(201, 191, 191), black);
  background-size: cover;
  font-family: "Poppins", sans-serif;
}

/* utility classes */
ul {
  list-style: none;
  display: flex;
}
a {
  text-decoration: none;
}
h1 {
  color: var(--white-color);
  font-size: 3rem;
}
h3 {
  font-size: 2rem;
}
p {
  font-size: 20px;
}
/* main css */

nav {
  background-color: black;
  opacity: 0.7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: fixed;
  z-index: 3;
  padding: 2px 0;
}

.logo h1 {
  text-align: center;
  letter-spacing: 10px;
  font-family: "Playfair Display", serif;
  cursor: pointer;
  transition: 0.9s ease-in-out;
  color: var(--white-color);
  padding-left: 40px;
}

.logo h1:hover {
  color: var(--blue-color);
  transform:scale(0.5)
}

.nav-bar {
  height: 60px;
  flex-grow: 1;
  display: flex;
  justify-content:end
}

ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
 
}
ul li {
  overflow: hidden;
  padding-top: 5px;
  height: 50%;
  transition: 0.5s;
}



ul li a {
  color: white;
  padding: 10px 20px;
  font-size: 1.4rem;
  
}
ul  :hover {

  transform:scale(1.1);
  color: blue;
}

/* nav bar end */

header {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-container {
  position: relative;
  top: 30px;
  width:90%;
  height: 90%;
  gap: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* left text */
.left-intro {
  display: flex;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.left-intro h1 {
  font-weight: 900;
  margin: 2px 7px;
}
.left-intro h3 {
  color: #0867a5;
  margin: 2px 7px;
}
.left-intro p {
  color: var(--white-color);
  line-height: 22px;
  margin: 2px 7px;
  height: 16%;
}
.hire-me {
  letter-spacing: 3px;
  text-align: center;
  background-color: var(--blue-color);
  display: block;
  width: 15%;
  padding: 9px 4px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 650;
  color: darkblue;
  transition: 0.3s;
  margin: 2px 7px;
}
.hire-me:hover {
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  color: black;
  transform: scale(0.8);
  background-color: #0099ff;
}

.social-icons {
  width: 100%;
  height: 12%;
  display: flex;
  align-items: baseline;
  justify-content: baseline;
}
.social-icons a {
  position: relative;
  right: 15px;
  margin: 2px;
  padding: 5px;
  display: block;
  font-size: 1.6rem;
}
.social-icons a i{
  padding: 10px;
  color:darkblue;
  font-size: 1.8rem;
 }

/* right-profile-pic */
.right-profile-pic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.right-profile-pic img {
  width: 480px;
  filter: contrast(1.22);
  filter: opacity(1px);
  filter: saturate(1.4);
  border-radius: 50%;
  transition: transform 1s ease;
}

.right-profile-pic img:hover {
  cursor: pointer;
  transform: scale(1.1);
}
/* section 1 start */
.section-one {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.section-one-container {
  position: relative;
  top: 30px;
  width: 90%;
  height: 90%;
  gap: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.my-picture {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 80%;
}
.my-picture img {
  width: 390px;
  filter: contrast(1.22);
  filter: opacity(1px);
  filter: saturate(1.4);
  border-radius: 50%;
  transition: transform 1s ease;
}

.my-picture img:hover {
  cursor: pointer;
  transform: scale(1.1);
  box-shadow: 2px 2px 10px purple;
}

.right-about-me {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  height: 100%;
}
span {
  color: #0099ff;
}

.right-about-me p {
  width: 100%;
  line-height: 35px;
  color: whitesmoke;
}

.read-more {
  text-align: center;
  background-color: var(--blue-color);
  display: block;
  width: 24%;
  padding: 8px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: darkblue;
  transition: 0.3s;
}
.read-more:hover {
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  color: black;
  font-size: 1.3rem;
  background-color: #0099ff;
}

/* section2 */
.section-two {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.section-two-container {
  position: relative;
  top: 10px;
  width: 90%;
  height: 95%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.my-projects {
  overflow: hidden;
  margin-top: 10px;
  letter-spacing: 10px;
  text-align: center;
  width: 90%;
  font-size: 3.8rem;
}
.projects-box {
  margin-top: 5px;
  width: 85%;
  height: 70%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
}

.project-small-box {
  background-position: center;
  background-size: cover;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-left: 40px;
  width: 70%;
  border-radius: 10px;
  transition: all 0.5s ease-in-out;
}
.project-small-box:hover {
  transform: scale(1.1);
  border-radius: 20px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.project-one {
  background-image: linear-gradient(rgba(0, 0, 0, 0.658), rgba(0, 0, 0, 0.315)),
    url(https://www.emertxe.com/wp-content/uploads/2023/06/ds-project-arbitrary-precision-calculator.jpg);
}
.project-two {
  background-image: linear-gradient(rgba(0, 0, 0, 0.658), rgba(0, 0, 0, 0.315)),
    url(https://miro.medium.com/v2/resize:fit:828/format:webp/1*taE6PU7FLnrbcovWiWMIog.png);
}
.project-three {
  background-image: linear-gradient(rgba(0, 0, 0, 0.658), rgba(0, 0, 0, 0.315)),
    url(https://www.firstnationalatm.com/wp-content/uploads/2018/09/ATM_keypad_fb-1024x535.jpg);
}
.project-four {
  background-image: linear-gradient(rgba(0, 0, 0, 0.658), rgba(0, 0, 0, 0.315)),
    url(https://www.getmailbird.com/wp-content/uploads/2015/05/Todoist-review.png);
}

.project-five {
  background-image: linear-gradient(rgba(0, 0, 0, 0.658), rgba(0, 0, 0, 0.315)),
    url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTckGO_iyydNsGsHbZ8i8TP6JNB6G-HZIU3Ng&s);
}

.project-six {
  background-image: linear-gradient(rgba(0, 0, 0, 0.658), rgba(0, 0, 0, 0.315)),
    url(https://live-production.wcms.abc-cdn.net.au/e8de340d8478bc729e392d5a4949a3f0?impolicy=wcms_crop_resize&cropH=1688&cropW=3000&xPos=0&yPos=0&width=862&height=485);
}

.section-three {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.section-three-container {
  position: relative;
  top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 90%;
  height: 90%;
  gap: 20px;
}
.contact {
  width: 100%;
  text-align: center;
  letter-spacing: 5px;
  font-size: 3rem;
}

.contact-form {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 90%;
  height: 80%;
  gap: 20px;
}

input {
  width: 80%;
  padding: 15px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1.2rem;
}
.textarea {
  width: 80%;
  height: 20%;
  font-size: 1.2rem;
}

.submit-form {
  background-color: var(--blue-color);
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  font-size: 1.2rem;
}

.submit-form:hover {
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  background-color: #0099ff;
  color: black;
  font-size: 1.3rem;
}

footer {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
}

.footer-container {
  color: white;
  display: flex;
  width: 90%;
  justify-content: space-evenly;
  align-items: center;
  padding: 10px;
}
.social-media {
  width: 40%;
  height: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-media a {
  margin: 10px;
}

.social-media a i {
  background-color: #0099ff;
  color: white;
  border-radius: 50%;
  padding: 8px;
  font-size: 1.4rem;
}
