:root{
    --mainColor: rgb(78, 33, 253);
   --secondColor: #9F9FAD;
   --heroRubrik: 5.6rem;
   --title: 4rem;
   --buttontext: 1rem;
   --mainfont: 'Akira Expanded';
   --secondfont: "Spline Sans"; 
}

.d-none{
    display: none;
}

.main{
    width: 100%;
}

.projects{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
}

.scroll-to-top {
    position: fixed;
    bottom: 5px;
    right: 40px;
    background-color: var(--mainColor);
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 1000;
  }
  
  .scroll-to-top.show {
    opacity: 1;
    visibility: visible;
  }
  

.projects__rolling--right{
    margin-right: 40px;
    white-space: nowrap;
    overflow: hidden;
    width: 1.5rem;
    height: 350px;
    writing-mode: vertical-lr;
}

.projects__rolling{
    margin-left: 40px;
    white-space: nowrap;
    overflow: hidden;
    width: 100px;
    height: 350px;
    writing-mode: vertical-lr;
}

.projects__rolling-text--right{
    color: var(--mainColor);
    font-size: 1.5rem;
    display: inline-block;
    animation: rolling_words_right 110s linear infinite;
}

.projects__rolling-text{
    color: var(--mainColor);
    font-size: 1.5rem;
    display: inline-block;
    animation: rolling_words 110s linear infinite;
}


.project-cards{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    
}

.project-card__wrapper{
    width: 250px;
    height: 350px;
    margin-bottom: 40px;
    border-color: var(--mainColor);
    border-style: solid;
    border-width: 2px;
    border-radius: 10px;
}

.project-card__img-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.project-card__img{
    width: 250px;
    height: 175px;
    border-style: solid;
    border-width: 0px 2px 2px 2px;
    border-radius: 10px;
    border-color: var(--mainColor);
}

.project-card__info-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 50%;
    padding: 15px;
}

.project-card__title{
    font-size: 1.2rem;
    color: var(--mainColor);
}

.project-card__button-wrapper{
    display: flex;
    justify-content: flex-start;
    margin-top: auto;
    
}

.project-card__button-link{
    font-size: 0.8rem;
    text-decoration: none;
    color: var(--mainColor);
    padding: 7px;
    border: 2px solid;
    border-radius: 5px;
    display: flex;
    margin-right: 15px;
    
}

.project-card__button-link:hover{
    color: white;
    background-color: var(--mainColor);
    
}

.project-card__button{
    display: none;
}


.project-card__tools{
    font-size: 0.7rem;
    color: var(--mainColor);
    margin-top: 10px;
}

/*About Me Styling*/

.about-me{
    display: flex;
    justify-content: center;
}

.about-me__profile{
    margin: 150px;
    display: flex;
    
}

.about-me__img{
    margin-right: 200px;
    max-width: 450px;
    width: 450px;
    height: auto;
    border: 2px solid;
    border-color: var(--mainColor);
    border-radius: 10px;
    
}

.about-me__title{
    font-size: 3rem;
    color: var(--mainColor);
    padding-bottom: 20px;
}

.education-wrap{
    border-width: 1px 0 1px 0;
    border-style: solid;
    border-color: #4E21FD;
}

.education-wrap--design{
    border-width: 0px 0 1px 0;
    border-style: solid;
    border-color: #4E21FD;
}

.about-me__text{
    font-family: var(--secondfont);
    font-weight: 600;
    width: 100%;
    max-width: 450px;
    line-height: 28px;
    padding-bottom: 25px;
}

.about-me__text-edu{
    font-family: var(--secondfont);
    font-weight: 600;
    max-width: 450px;
    width: 100%;
    line-height: 28px;
    padding-top: 25px;
    padding-bottom: 25px;
}


.tools{
    padding-top: 25px;
    height: auto;
    max-width: 450px;
    width: 100%;
}

.about-me__tool{
    width: 50px;
    height: 50px;
    margin: 5px;
    
}