#projects {
    justify-content: center;
    width: 100%;
    background: #807f7f;
    padding-top: 10vh;
    padding-bottom: 5vh;
    box-sizing: border-box;
}

#projects-label {
    display: flex;
    color: var(--text-color);
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-family: 'american_captainregular';
}

#projects-label::before,
#projects-label::after {
    content: '';
    border-top: 2px solid var(--text-color);
    width: 100px;
}

#projects-desc {
    padding: 5vw;
    padding-top: 2vh;
    padding-bottom: 0;
    display: flex;
    color: var(--text-color);
    align-items: center;
    justify-content: center;
    text-align: justify;
    font-size: 3vh;
    font-family: var(--text-font);
}

#banner {
    display: flex;
    flex-direction: row;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    margin-top: 2vh;
    padding-top: 5vh;
    padding-bottom: 5vh;
    background-color: #2d3142;
}

::-webkit-scrollbar-track-piece  {
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:horizontal {
    border-radius: 10px;
    background-color: #2d3142;
}

.project-contain {
    display: flex;
    width: fit-content;
    transform: translateX(0vw);
    transition: transform 0.2s ease-in-out;
}

.project {
    display:inline;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #4F5D75;
    height: 60vh;
    width: 300px;
    margin-left: 15px;
    margin-right: 15px;
    transition: transform .1s ease-in-out;
    cursor: pointer;
}

.img-contain {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 40%;
}

.desc-contain {
    display: inline-flex;
    flex-direction: column;
    width: 100%;
    height: 60%;
    justify-content: center;
    align-content: center;
    overflow-y: hidden;
}

.panel-img {
    width: 100%;
    background-color: white;
}

.panel-title {
    display: flex;
    align-content: center;
    justify-content: center;
    text-align: center;
    font-size: 4vh;
    font-family: var(--text-font);
    color: var(--text-color);
    padding: 2vh;
}

.panel-desc {
    display: flex;
    align-content: center;
    justify-content: center;
    text-align: justify;
    overflow: hidden;
    font-size: 90%;
    font-family: var(--text-font);
    color: rgb(190, 190, 190);
    padding: 2vh;
    padding-top: 0;
}

.project:hover {
    transform: scale(1.05);
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

.arrow_box{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 60vh;
    padding-top: 5vh;
    padding-bottom: 5vh;
    transform: translate(0,-5vh);
    background: linear-gradient(-90deg, #2d3142 0%, rgba(255,0,0,0) 100%);
}

.arrow_proj{
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    border-right: 3px solid white;
    border-bottom: 3px solid white;
}

.innerarrow {
    position: relative;
    width: 20px;
    height: 20px;
    border: none;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
}

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

#left {
    transform: rotate(180deg) translate(0,5vh);
    -webkit-transform: rotate(180deg) translate(0,5vh);
    display: none;
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
}

#right{
    right: 0;
    opacity: 1;
    transition: opacity 0.1s ease-in-out;
}

.right_arrow,
.left_arrow {
    height: 100%;
    width: 100%;
    display:flex;
    align-items: center;
    justify-content: center;
}

.arrow_box:hover{
    cursor: pointer;
}

.left_arrow{
    display: flex;
}