/* Main CSS styling */

/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} */

/* layout and typography */
body {
  font-family: 'Jetbrains Mono';
  background-color: #123c45;
  color: #d4f5c6;
  line-height: 1.6;
}

.contact_div{
    align-items: center;
    justify-content: space-evenly;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20vw;
}

.fa-brands {
    font-size: 3rem;
    text-align: center;
    align-self: center;
}

.fa-download{
    font-size: 3rem;
    text-align: center;
    align-self: center;
}

.site_header {
    display: flex;
    justify-content: space-between;
}

hr {
    color: #d4f5c6;
}

hr.dotted {
 border-top: 0.1rem dotted;
 border-bottom: none;
}

hr.dashed {
 border-top: 1px dashed;
 border-bottom: none;
}

h1 {
  font-size: 2rem;
  font-weight: 1000;
  margin-bottom: 30px;
}

p {
  font-size: 1rem;
  font-weight: 400;
}

.contact_icon_button {
    display: inline-block;
    border: none;
    background-color: #ffffff00;
    color: #d4f5c6;
    font-family: 'Jetbrains Mono';
    transition-duration: 0.4s;
}

.contact_icon_button:hover {
    display: inline-block;
    border: none;
    background-color: #ffffff00;
    color: #a9c1ac;
    transition-duration: 0.4s;
}

.intro {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: 1rem;
}

.experience_slot {
    display: inline-block;
    padding: 6px;
    font-size: 1.1rem;
    border: 2px solid #d4f5c6;
    text-align: center;
    border-radius: 10px;
}

.technical_experience_contaniner 
{
    display: flex;
    flex: auto;
    justify-content: space-evenly;
}

strong {
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.featured {
    margin: 30px 0 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #2a7a64;
}

.featured p {
    font-size: 1rem;
}

/* projects */

.project {
    /* margin-top: 40px; */
    display: flex;
    flex-direction: column;
    margin-bottom: 10vh;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    /* margin-bottom: 10px; */
}

.project-title {
    font-size: 1.75rem;
    font-weight: 600;
}

.project-tag {
    font-size: 0.9rem;
    color: #a9c1ac;
    font-style: italic;
    font-weight: 300;
}

.project-description {
    font-size: 1rem;
    margin-bottom: 10px;
    max-width: 700px;
}

.project-description-container {
    display: flex;
    justify-content: space-between;
}

.project-description-item {
    display: inline-block;
    max-width: 50%;
}

.project-images {
    width: 100%;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    cursor: pointer;
}

.project-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.5);
}

.project-image.device {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    flex: 1 1 100%;
}

.project-image.widget {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;     
    flex: 1 1 100%; 
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
  cursor: pointer;
}

.tooltiptext {
  visibility: hidden;
  width: 130px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
}


/* Mobile styling */
@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    h1 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .intro {
        font-size: 0.95rem;
    }

    .project-header {
        flex-direction: column;
        align-items: left; 
        gap: 5px;
    }

    .project-title {
        font-size: 1.25rem;
    }

    .project-tag {
        font-size: 0.85rem;
    }

    .project-images {
        flex-direction: column;
        gap: 20px;
    }

    .project-image.device,
    .project-image.widget {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 16px;
    }
}