
:root{
    --blue: #283c3b;
    --dark-color: var(--black);
    --secondary-dark-color: var(--black);
    --med-color: var(--black);
    --secondary-light-color: #eeddd5;
    --white : #f5f5f5;
    --black : #111111;
}




#aboutsection{
    display:flex;
    flex-direction:row;
    align-items:stretch;
    margin-bottom:40px;
    gap:20px;
}

#aboutimg{
    width:30%;
    flex-shrink:0;
}
#aboutimg img{
    width:100%;
    border-radius:20px;
    border: solid 2px var(--secondary-dark-color);
    height:100%;
    object-fit:cover;
}
#abouttext{
    width:60%;
    font-size:1.5vw;
    line-height:1.6;
    /* Ensure child elements like #softwareicons don't overflow */
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
}
#abouttext h3{
    border-bottom: 2px solid var(--secondary-dark-color);
}

#aboutimg, #abouttext{
    padding:20px;
}

@media (max-width: 800px) {
    #aboutsection{
        flex-direction:column;
    }
    #aboutimg, #abouttext{
        width: 90%;
    }
    #abouttext{
        padding-top: 0px;
        margin-top: 0px;

        font-size: 18px;

        padding-bottom: 0px;
        margin-bottom: 0px;
    }
    .hideOnMobile {
        display: none;
        visibility: collapse;
    }
}



#software-section{
    border: solid 2px var(--secondary-dark-color);
    border-radius: 20px;
    padding: 10px;
}

#software-section p{
    text-align: center;
    font-size: 2vw;
    border-bottom: 2px dashed var(--secondary-dark-color);
    padding-bottom: 10px;
    margin-top: 0px;
}
@media (max-width: 800px) {
    #software-section p {
        font-size: 20px;
    }
}


#softwareicons{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 800px) {
    #softwareicons {
        width: 100%;
        gap: 10px;
    }
}

#softwareicons img{
    width: auto;
    width: 5%;
    flex: 1 1 0;
    object-fit: contain;

}

@media (max-width: 600px) {
    #softwareicons img {
        margin-bottom: 10px;
        max-width: 60px;
    }
}










/* THIS IS WHERE THE CAROSEL IS:::  */
#littleimgs{
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:top;
    width: 100%;
    gap:0px;
    margin: 10px 0;
}   

#littleimgs img{
    display:block;
    border-radius: 0px;
    width: 100px;
    object-fit: cover;
}

#littleimgs button {
    color: var(--black);
    font-size: 80px;
    border-radius: 0px;
    background-color: rgba(0, 0, 0, 0);
    transition: 0.25s;
}
@media (max-width: 700px) {
    #littleimgs button {
        font-size: 45px;
        padding: 8px;
    }
}
#littleimgs #prev{
    border-right: var(--black) solid 2px;
}
#littleimgs #next{
    border-left: var(--black) solid 2px;
}

#littleimgs button:hover{
    color: var(--white);
    transition: 0.25s;
}






/* viewport */
.carousel-window{
  overflow:hidden;
  width: 90%;
}

/* track of all images */
.carousel-track{
  display:flex;
  transition: transform 0.4s ease;
}

/* each image takes 1/3 of window */
.carousel-track img{
  flex: 0 0 calc(100% / 3);
  width: 100%;
  border-radius:20px;
  border: solid 2px var(--secondary-dark-color);
  border-left: none;
  object-fit:cover;
}

/* buttons */
#prev, #next{
  border:none;
  background: var(--secondary-dark-color);
  padding:8px 12px;
  cursor:pointer;
  border-radius:4px;
  font-size:20px;
}
#prev:hover, #next:hover{
  background: var(--med-color);
  color: var(--dark-color);
}









