/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #13470c;
  color: #13470c;
}

header {
  text-align: center;
  padding: 20px;
  background-color: #13470c;
  color: #fff;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 20px;
}

.cover {
position: relative;
background-image: url(https://media.licdn.com/dms/image/v2/D4E16AQGA49_LevS5PA/profile-displaybackgroundimage-shrink_350_1400/profile-displaybackgroundimage-shrink_350_1400/0/1686600098504?e=1750291200&v=beta&t=4tIfr5d18Sjo6QABKIMmwT5fgG2wVW7-2MHHgGSjN-M);
background-size: cover;
background-position: center;
height: 10rem; 
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}

#main-title {
color: #fff;
font-size: 3rem;
z-index: 2;
position: relative;
}


/* Social Buttons */
.social-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  transition: background-color 0.3s ease;
}

.linkedin {
  background-color: #0077b5;
}

.linkedin:hover {
  background-color: #005983;
}

.github {
  background-color: #333;
}

.github:hover {
  background-color: #000;
}

/* Project Section */
#projects {
  padding: 40px 20px;
  background-color: #13470c;
  text-align: center;
}

#projects h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: #fff;
}

.project-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.project {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 220px;
  height: 150px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project:hover {
  transform: scale(1.03);
  background-color: #f0f0f0;
}

.project h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #222;
}

.project p {
  margin: 0;
  font-size: 1.4rem;
  color: #555;
}



/* Other Websites - Iframe Portals (Vertical layout for 2 sites) */
#links {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.iframe-portal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.iframe-box {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 90%;
  max-width: 1000px;
  height: 600px;
}

.iframe-box h3 {
  margin: 0;
  padding: 12px;
  background-color: #13470c;
  color: #fff;
  font-size: 1.1rem;
}

.iframe-box iframe {
  border: none;
  width: 100%;
  height: 100%;
}


/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 10px;
  width: 60%;
  max-width: 600px;
}

.close-btn {
  color: #aaa;
  font-size: 30px;
  font-weight: bold;
  position: absolute;
  top: 0;
  right: 10px;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* About Me Section */
#about {
  padding: 40px 20px;
  background-color: #fff;
  color: #13470c;
  text-align: center;
}

.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text {
  max-width: 700px;
  text-align: left;
  padding: 0 10px;
  color: #464746;
}

@media (min-width: 768px) {
  .about-container {
      flex-direction: row;
      align-items: flex-start;
      gap: 30px;
  }

  .about-text {
      text-align: left;
  }
}

