/* General styles */
body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #444444;
    margin: 0;
    padding: 0;
  }
  
  a {
    color: #03b3a8;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  img.rounded {
    border-radius: 10px;
  }
  


/* Navigation */
nav {
    background-color: #006666;
    display: flex;
    justify-content: center;
    padding: 20px;
  }
  
  nav a {
    background-color: transparent;
    border-radius: 10px;
    color: #ffffff;
    margin: 0 10px;
    padding: 10px 20px;
    text-decoration: none;
  }
  
  nav a:hover {
    background-color: #03b3a8;
  }
   
  
  
  nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-around;
  }
  
  nav li {
    margin: 0;
    padding: 0;
  }
  

  
/* Header */
header {
    background-image: url(files/head.jpg);
    background-size: cover;
    background-position: center;
    height: 500px;
  }
  

/* About section */
#about {
display: flex;
flex-direction: column;
align-items: center;
padding: 50px 0;
}

#about img {
margin-top: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Projects section */
#projects {
background-color: #f5f5f5;
padding: 50px 0;
}


/* Footer */
footer {
background-color: #333333;
color: #ffffff;
text-align: center;
padding: 20px;
} 

p {
    font-size: 18px;
}



h2 {
    text-align: center;
    font-size: 32px;
    margin-top: 50px;
    margin-bottom: 30px;
  }
   






  .project-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  
  .project-block {
    width: 30%;
    margin-bottom: 20px;
    padding: 10px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
  }
  
  .project-block:hover {
    transform: translateY(-5px);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
  }
  
  .project-block img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
  
  .project-block h3 {
    font-size: 18px;
    color: #006666;
    margin: 10px 0;
    text-align: left;
  }
  
  .project-block p {
    font-size: 18px;
    color: #444;
    margin-bottom: 10px;
    text-align: left;
  }
  
  .project-block a {
    display: inline-block;
    background-color: #03b3a8;
    color: #fff;
    font-size: 18px;
    border-radius: 10px;
    padding: 10px;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
  }
  
  .project-block a:hover {
    background-color: #006666;
  }
  

  

  @media screen and (max-width: 767px) {
    .project-block {
      width: 100%;
      margin: 10px 0;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .project-image {
      width: 100%;
      border-radius: 10px 10px 0 0;
    }
  
    .project-details {
      width: 100%;
      padding: 10px;
      border-radius: 0 0 10px 10px;
    }
  
    .project-title {
      font-size: 24px;
      text-align: center;
    }
  
    .project-text {
      font-size: 18px;
      text-align: justify;
    }
  
    .project-button {
      margin-top: 10px;
    }


    .hello-block, .projects-container {
      padding-left: 10px;
      padding-right: 10px;

    }

    .ivanov-content img {
       margin-right: 0px !important;
    }

    .ivanov-block {
      margin-right: 10px !important;
      margin-left: 10px !important;
    }


    .ivanov-content {
      display: block !important;
      text-align:center;
    }

    .ivanov-text {
      text-align:center !important;
    }


  }
  

  .contact-info {
    text-align: center;
  }

  

  img:hover {
    cursor: pointer;
  }
  



  .projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
  }

  @media only screen and (min-width: 992px) {
    .projects-container {
      max-width: 1000px;
      margin: 0 auto;
    }
  }

  
  .hello-block {
    max-width: 1000px;
    margin: auto;
    padding-bottom: 40px;
    text-align: center;
  }



  .ivanov-block {
    margin: auto;
    background-color:#dff0ed;
    border-radius: 10px;
    padding-left:20px;
    padding-right:20px;
    padding-bottom:15px;
  }
  
  .ivanov-block h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
  }
  
  .ivanov-content {
    display: flex;
  }
  
  .ivanov-content img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    margin-right: 20px;
  }
  
  .ivanov-content p {
    font-size: 18px;
    line-height: 1.5;
    text-align: justify;
  }
  
  
  .ivanov-text {
    display:inline-block;
  }


  

  .container {
    max-width: 1000px;
    margin: 0 auto;
  }
  

  
