/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}




.container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.profile {
    height: fit-content;
    min-width: 20%;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

ul {
  list-style: none;
} 

.profile img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
}

.profile h1 {
    font-size: 2.2em;
    margin-bottom: 20px;
}

.email, .specialization {
    font-size: 1.1em;
    color: #666;
}



.skills {
    background-color: white;
    display: inline-block;
    margin-top: 30px;    
    font-family: 'Arial', Helvetica, sans-serif;
    list-style: none;
    font-weight: 700;
}

.skills li {
    font-size: 1.5em;
    margin: 18px 0;
}

.skills li:hover {
    opacity: 25%;
}







.browse, .cv {
    display: block;
    margin-top: 30px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    font-size: 24px;
}

.browse:hover, .cv:hover {
    color: #0073e6;
}






.socials {
    margin-top: 35px;
}

.social-link {
    display: inline-block;
    margin: 10px;
    color: #333;
}

.social-link:hover {
    color: #0073e6;
}

ion-icon {
  font-size: 32px;
}








.portfolio-container {
text-align: center;
width: 100%;
padding-left: 20px;

}


.image-thumbnails {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}


img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

img:hover {
  transform: scale(1.025);
}



.slideshow-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.slideshow-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  text-align: center;
}

#slideshow-image {
  width: 70%;
  height: 70%;
  border-radius: 0px;
}


#slideshow-video {
  width: 25%;
  height: 25%;
  border-radius: 0px;
}

.buttons {
  position: absolute;
  top: 50%;
  width: 82%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%) translateX(11%)
}

button {
  padding: 200px 20px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  opacity: 0.7;
}

button:hover {
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 1;
}

button:focus {
  outline: none;
}

.close-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: rgba(255, 0, 0, 0.6);
  color: white;
  padding: 15px 20px 17px 19px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 25px;
}

.close-btn:hover {
  background-color: rgba(255, 0, 0, 0.9);
}





.header {
  text-align: center;
  font-size: 20px;
  line-height: 2;
  gap: 20px;
}


.text-container {
    display: center;
    padding: 20px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.about-text {
  text-align: center;
  padding: 20px;
  width: 100%;
  margin: 0 auto;
  line-height: 2;
  font-size: 17px;
  gap: 20px;

}







.contact-section {
  position: relative;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
  max-width: 600px;
  background: whitesmoke;
  text-align: left;
}

.contact-section h2 {
  font-family: 'Arial', sans-serif;
  color: #333;
  font-size: 1.8em;
  margin-bottom: 20px;
  font-weight: bold;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: 500;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background-color: #ffffff;
}

.contact-form button {
  background-color: #09189b;
  color: white;
  font-size: 16px;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.contact-form button:hover {
  background-color: #373687;
}


.image-about-section {
  display: block;        
  margin: 0 auto;       
  max-width: 50%;      
  height: auto;
}



/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .container {
        flex-direction: column;
        align-items: center;
        
    }

    .text-container {
      flex-direction: column;
      align-items: center;
    }

    .profile {
        width: 100%;
        text-align: center;
    }

        .image-thumbnails {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }

}

@media screen and (max-width: 768px) {
    .image-thumbnails {
        grid-template-columns: 1fr;
    }

}
