.avatar-home{
    display: none;
    transition: width 0.6s ease-in-out;
}

.nav-home.expand .avatar-home{
    position: relative;
    width: 79%;
    aspect-ratio: 1 / 1;
    display: block;
    transition: width 0.6s ease-in-out;
}

.nav-home.expand {
    width: 19%; /* eindwaarde */
    transition: width 0.6s ease-in-out;
    position: fixed;
}

.nav-home span {
    font-size: 0;
    overflow: hidden;
    display: inline-block;
}

.nav-home.expand span {
    animation: typing 0.6s ease-in forwards;
}

@keyframes typing {
  from { font-size: 0; }
  to { font-size: 1.75rem; }
}

.nav-home .sociaal-buttons-main{
    display: none;
}

.nav-home.expand .sociaal-buttons-main {
    display: flex;
    animation: width 0.6s ease-in forwards;
}

.nav-home .sociaal-main{
    display: none;
    width: 0px;
    height: 0px;
    display: none;
}

.nav-home.expand .sociaal-main {
    display: flex;
    animation: sociaal 0.6s ease-in forwards;
}

@keyframes sociaal {
  from {     width: 0px;
    height: 0px; }
  to {     width: 45px;
    height: 45px; }
}

.nav-home p {
    font-size: 0;
    overflow: hidden;
    display: inline-block;
}

.nav-home.expand p {
    animation: p 0.6s ease-in forwards;
}

@keyframes p {
  from { font-size: 0; }
  to { font-size: 16px; }
}


.banner {
    max-width: 0;
    overflow: hidden;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out, max-height 0.6s ease-in-out;
}

.banner.expand {
    max-width: 100%; /* of iets groots genoeg voor je content */
    transform: translateX(0);
    opacity: 1;
}

.section-tekst, .section-foto{
    overflow: hidden;
}

.section-tekst.expand {
    animation: fadeInSlide 0.6s ease-in forwards;
    position: absolute;
    overflow: hidden;
    bottom: 0;
    left: 0;
}

.section-foto.expand {
    animation: fadeInSlide 0.6s ease-in forwards;
    position: absolute;
    overflow: hidden;
    bottom: 0;
    right: 0;
}

@keyframes fadeInSlide {
  from {
    opacity: 1;
    transform: translateX(0%);
  }
  to {
    opacity: 0;
    transform: translateX(100vw);
  }
}

.overflow{
    overflow: hidden;
}



.avatar-container {
        max-width: 0;
    overflow: hidden;
    transform: translateX(-100%);
    opacity: 0;
transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out, max-height 0.6s ease-in-out;
}

.avatar-container.expand {
    max-width: 100%; /* of iets groots genoeg voor je content */
    transform: translateX(0);
    opacity: 1;
}