* {
    margin: 0;
    padding: 0;
    background-image: url(image/desktop-wallpaper-portfolio-background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

body {
    overflow-x: hidden;
  }


:root {
  --nav-bg: #03000e;
  --nav-shadow: 0px 3px var(--main-clr);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: fixed;
  width: 100%;
  height: px;
  box-shadow: var(--nav-shadow);
}

nav .logo {
  color: #fff;
  text-decoration-color: var(--main-clr);
  font-size: 22px;
  font-family: "Playfair Display", serif;
  font-weight: 100;0px 3px var(--main-clr)
}

nav ul {
  --padding: 35px;
  --font-size: 20px;
  margin-top: 18px;
  list-style: none;
  display: flex;
  align-items: center;
  font-size: var(--font-size);
  overflow-y: hidden;
  transition: 1s cubic-bezier(.68,-0.55,.27,10.55);
  box-shadow: var(--nav-shadow);
}

nav ul li {
  padding: var(--padding);
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  position: relative;
}

nav ul li a::after {
  content: "";
  width: 0%;
  height: 1.7px;
  border-radius: 99px;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

nav .menu {
  width: 22px;
  height: 16px;
  cursor: pointer;
  display: none;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  margin: 20px;
}

nav .menu span {
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: #fff;
  transition: 0.3s ease;
  transform-origin: left;
}

nav .menu.active span:nth-child(1) {
  transform: rotate(40deg);
}

nav .menu span:nth-child(3) {
  transform-origin: left;
}

nav .menu.active span:nth-child(3) {
  transform: rotate(-40deg);
}

nav .menu.active span:nth-child(2) {
  transform: scale(0);
}

@media (max-width: 1060px) {
  nav .menu {
    display: flex;
  }

  nav ul {
    --height: 0px;

    flex-direction: column;
    position: absolute;
    width: 100%;
    left: 0;
    top: 56px;
    height: var(--height);
    transition: 1s cubic-bezier(.68,-0.55,.27,1.55);
  }
  nav ul.active {
    --height: calc(
      (((var(--padding) * 2) + (var(--font-size) * 1.5))) * var(--childenNumber)
    );
    
    
    transition: 1s ease;
  }

  nav ul li {
    width: 100%;
    margin-left: 45%;
  }
  nav ul li a {
    width: 100%;
    text-transform: capitalize;
  }
}

.logo {
    margin-right: 25%;
    margin-top: 1px;
}

.Logo {
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    font-size: 30px;
    color: white;
}

#home-button {
    color: orange;
}

#home-button:hover {
    color: white; 
}

.about {
    margin-top: 5%;
}

#hakkımda-text {
    color: orange;
    padding: 3%; 
    display: flex;
    justify-content: center;
}

.hakkımda-paragraps {
    color: white;
    padding: 3%;
    font-size: 1.2rem;
    margin-top: -2%; 
    font-family: 'Roboto', sans-serif;
    justify-content: center;
    display: flex;
}

.giris-paragraps {
    color: white;
    padding: 3%;
    font-family: 'Oswald', sans-serif;
    font-size: 45px;
    padding-top: 15%;
}

.giris-alt-paragraps {
    color: white;
    padding: 3%;
    font-family: 'Doto', sans-serif;
    font-size: 20px;
    margin-top: -6%;
}

#junior {
    color: yellow;
}

.instagram-icon {
    margin-left: 3%;
    margin-top: -4%;
    width: 33px;
    height: 33px;
}

.linkedin-icon {
    margin-left: 1.5rem;
    margin-top: -4%;
    width: 40px;
    height: 40px;
}

.github-icon {
    margin-left: 1.3rem;
    margin-top: -4%;
    width: 42px;
    height: 42px;
}

.container {
    display: flex;
}

.Anasayfa {
  display: flex;                  
  justify-content: center;       
  align-items: center;         
  height: 100vh;                 
  text-align: center;            
  gap: 20px;                     
  padding-top: 5%;              
}

.row {
  display: flex;
  flex-direction: column;         
  align-items: center;            
  justify-content: center;        
  text-align: center;             
  gap: 20px;                      
}


@media (max-width: 1060px) {
    .Anasayfa {
        padding-top: 15%;
    }

    .about-div {
        margin-top: 4%;
    }
}

@media (max-width: 1060px) {
    .about-div {
        margin-top: 4%;
    }
}

.about-button{
    text-decoration: none;
    color: white;
    margin-left: 3%;
    margin-top: 10%;
}

.about-button:hover {
    color: yellow;
}

.profile-photo {
  border-radius: 50%;
  width: 100%;           
  height: 370px;         
  max-width: 450px;       
  max-height: 450px;      
  object-fit: cover;      
}


.skills-text{
    color: orange;
    padding: 3%; 
    margin-top: 10%;
    display: flex;
    justify-content: center;
}

.giris-paragraps {
    color: white;
    padding: 3%;
    font-family: 'Oswald', sans-serif;
    font-size: 45px;
    padding-top: 15%;
    white-space: nowrap;  
    margin-top: -25px;    
}

.giris-alt-paragraps {
    color: white;
    padding: 3%;
    font-family: 'Doto', sans-serif;
    font-size: 20px;
    margin-top: -6%;
}

.skills {
  margin-top: 10%;
}

#contact-text {
  color: orange;
  padding: 3%; 
  display: flex;
  justify-content: center;
}

.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  height: 100vh; 
  background-color: #f4f4f4; 
  margin-top: 5%;
}

.contact-elemans {
  display: flex;
  flex-direction: column;
  gap: 20px;  
  width: 100%;
  max-width: 500px; 
  padding: 20px;
  background-color: #fff; 
  border-radius: 8px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.contact-elemans input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  margin-bottom: 10px;
}

.contact-elemans input:focus {
  border-color: #007bff;
  outline: none;
}

@media (max-width: 768px) {
  .contact {
      padding: 10px;
  }

  .contact-text {
      font-size: 1.5rem; 
  }

  .contact-elemans {
      padding: 15px;
  }

  .contact-elemans input {
      padding: 10px; 
      font-size: 14px; 
  }
}

input::placeholder {
  color: white;
}

input {
  color: white;
}

input:focus::placeholder {
  color: transparent; 
}

textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  font-size: 16px;
  box-sizing: border-box;
  resize: vertical;
  border: 2px solid whitesmoke; 
  background-color: transparent; 
  color: whitesmoke; 
}

textarea::placeholder {
  color: white; 
}

textarea:focus::placeholder {
  color: transparent; 
}

textarea:focus {
  border-color: #007bff; 
  outline: none; 
}

.send-button {
  width: 10%;
  height: 6%;
  border-radius: 50px;
  color: white;
  margin-top: 2%;
}

@media (max-width: 768px) {
  .send-button {
    width: 25%;
    height: 6%;
    border-radius: 50px;
    color: white;
    margin-top: 2%;
  }

  .contact {
    margin-top: 40%;
  }
}

@media (max-width: 500px) {
  .profile-photo {
    border-radius: 50%;
    width: 80%;            
    height: 300px;        
    max-width: 450px;   
    max-height: 450px;  
    object-fit: cover;  
  }

  .giris-paragraps {
    color: white;
    padding: 3%;
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    padding-top: 15%;
}

.giris-alt-paragraps {
    color: white;
    padding: 3%;
    font-family: 'Doto', sans-serif;
    font-size: 20px;
    margin-top: -6%;
}
}

@media (max-width: 1400px) {
  .profile-photo {
    border-radius: 50%;
    width: 75%;         
    height: 250px;         
    max-width: 450px;     
    max-height: 450px;     
    object-fit: cover;    
  }

  .giris-paragraps {
    color: white;
    padding: 3%;
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    padding-top: 15%;
}

.giris-alt-paragraps {
    color: white;
    padding: 3%;
    font-family: 'Doto', sans-serif;
    font-size: 20px;
    margin-top: -6%;
}

.Anasayfa {
  display: flex;               
  justify-content: center;    
  align-items: center;        
  height: 100vh;                 
  text-align: center;           
  gap: 20px;                     
  padding-top: 8%;          
}
}

#skill {
  scroll-margin-top: 400px; 
}

#hakkımda{
  scroll-margin-top: 500px; 
}
