body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
}

.container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.sidebar {
    width: 23.5%;
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top:3.5%;
    padding-left:1.5%;
    padding-right:1.5%;
    position: fixed;
    height: 100%;
    box-shadow: 5px 0px 8px rgba(0, 0, 0, 0.35);

    /*transform: translateX(-100%);*/
    animation: slideInLeft 0.6s ease-out forwards;
    animation-delay: 0.3;
}

.sidebar .profile {
    outline: solid 2px #484848;
    margin-top: 15%;
    width: 125px;
    height: 125px;
    border-radius: 100%;
    background-color: #c4c4c4;
    margin-bottom: 18px;
}

.sidebar h1 {
    font-size: 26px;
    margin: 0;
}

.sidebar h2 {
    font-size: 18px;
    margin: 5px 0 20px;
    color: #888888;
}

.sidebar .about-title {
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    text-align: left;
}

.sidebar .about {
    margin-bottom: 35px;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    width: 100%;
}

.sidebar .link-section-list {
    padding-left: 1%;
    margin-left: 0px;
    display: flex;
    align-items: flex-start; 
    gap: 25px;
}

.sidebar .link-icon {
    display: inline-block;
}

.link-section-icon {
    width: 35px; 
    height: auto;
}

.main-content {
    flex: auto;
    flex-direction: column;
    align-items: center;
    padding: 5%;
    margin-left: 32%;
    margin-right: 8%;

    opacity: 0;
    animation: fadeInRight 0.55s ease-in forwards;
    animation-delay: 0.2s;
}

.main-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.main-content a {
    color: #5cbdfd;
}

.main-content a:visited {
    color: #e371fa
}

.education {
    margin-bottom: 25px;
}

.education container {
    display: flex;
    align-items: flex-start;
    background-color: #121212; 
    color: white;
    padding: 10px;
    font-family: Arial, sans-serif;
}

.education h3 {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 22px;
}

.education img {
    height: 75px;
    margin-right: 3px;
    object-fit: scale-down;
    flex-shrink: 0;
}

.work-logo {
    height: 100px;
    width: 120px;
    margin-right: 3px;
    object-fit: scale-down;
    flex-shrink: 0;
}


.education h4 {
    margin: 2px 0 0;
    font-size: 18px;
    color: #888888
}

.education p {
    margin: 8px 0 0;
    font-size: 12px;
    color: #888888
}

.education ul {
    margin-left: 0%; 
    margin-right: 0%; 
    padding: 0%;
    padding-left: 4%;
    padding-right: 10%;
    list-style-position: inside;

    flex-direction: column;
    display: flex;
    flex-shrink: 0;
}

.education li {
    font-size: 14px;

    flex-grow: 1;
    
    list-style: disc;
    line-height: 1.5;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.project-card {
    background-color: #1a1a1a;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 3px 8px 7px rgba(0, 0, 0, 0.6);
    transition: transform 0.2s, box-shadow 0.2s;
    outline: solid 1.85px #3b3b3b;
}

.project-card:hover {
    outline: solid 3.2px #51acfc;
    transform: translateY(-5px); 
    box-shadow: 6px 10px 10px rgba(0, 0, 0, 0.75); 
    /*cursor: pointer;*/
  }

.project-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.project-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.portfolio a {
    color: inherit;
    text-decoration: none; 
}

.portfolio a:visited {
    color: inherit;
    text-decoration: none; 
}

.go-back {
    position: sticky;
    top: 0%;
    padding-top: 0.1%;
    padding-bottom: 0.1%;
    background-color: #121212;
}

.go-back h3:hover {
    transform: translateX(3px); 
}

  @keyframes fadeInRight {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

@media (max-width: 600px) {
    .container  {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    
        display: flex;
        position: relative;
        flex-direction: column;
        align-items: center;

        margin-right: 8%;
        margin-left: 0%;
        
        /*
        margin-right: 0%;
        margin-left: 0%;
       
        padding-top: 0.5%;
        padding-bottom: 2%;
        padding-left: 3%;
        padding-right: 10%;
        */
        padding-left: 3.5%;
        padding-right: 3.5%;

        height: 85vh;
        box-shadow: 0px 10px 8px rgba(0, 0, 0, 0.35);
    }

    .sidebar .profile {
        margin-top: 6%;
        width: 130px;
        height: 130px;
        margin-bottom: 5px;
    }

    .main-content {
        flex: auto;
        /*padding: 5%;*/
        /*
        margin-left: 1%;
        margin-right: 2%;
        margin-bottom: 5%;
        */
        margin-left: 0%;
        margin-right: 8%;

        padding-right: 8%;
        opacity: 0;
        animation: fadeInRight 0.55s ease-in forwards;
        animation-delay: 0.2s;
    }
}


@media (max-height: 625px) and (min-width: 600px) {
    .sidebar {
        width: 35%;
        padding-top:1%;
        padding-left:1%;
        padding-right:1%;
        position: fixed;
        height: 100%;
        box-shadow: 5px 0px 8px rgba(0, 0, 0, 0.35);
        margin-bottom: 10%;
    }

    .sidebar .profile {
        margin-top: 3%;
        width: 70px;
        height: 70px;
        margin-bottom: 5px;
    }

    .sidebar .about {
        padding: 0px;
        margin-top: 0px;
        margin-bottom: 0px;
        font-size: 12px;
        line-height: 1.2;
        text-align: left;
        width: 100%;
    }

    .sidebar h1 {
        font-size: 20px;
        margin: 0;
    }

    .sidebar h2 {
        font-size: 12px;
        margin: 0px 0 0px;
        color: #888888;
    }

    .link-section-icon {
        width: 25px; 
        height: auto;
    }

    .main-content {
        flex: auto;
        flex-direction: column;
        align-items: center;
        padding: 3%;
        margin-left: 38%;
        margin-right: 4%;
    
        opacity: 0;
        animation: fadeInRight 0.55s ease-in forwards;
        animation-delay: 0.2s;
    }
    
}
