﻿body {
    /*font-family: roboto, sans-serif;*/
    background: linear-gradient(to bottom, #000000FF 0px, #00000088 600px), url(/img/authorbg.webp) no-repeat fixed;
    background-size: cover;
}

.title {
    background-color: #000000aa;
    padding: 5px;
    border-radius: 5px;
    color: white;
}

.root
{
    display: flex;
    flex-direction: column;
    align-items: center;
    /*justify-content: center;*/
    padding-top: 50px;
}

/*.pbs-root*/
/*{*/
/*    padding-left: 10px;*/
/*    padding-right: 10px;*/
/*    width: 100%;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*}*/

.project-button
{
    transition: 0.2s;
    background-color: #2a2a2acf;
    padding: 10px;
    box-shadow: 0 0 15px rgb(40, 40, 40);
    border-radius: 10px;
    border: 3px solid #48abe0;
    margin-top: 10px;
    list-style-type: none;
    width: 100%;
}

.project-button:hover {
    cursor: pointer;
    transition: 0.2s;
    border-color: orange;
    /*height: 75px;*/
}

.project-button a {
    list-style-type: none;
    color: white;
}

.pbs-root{
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

@media (max-width: 650px) {
    /*phone*/
    .pbs-root{
        min-width: 250px;
    }
    .pb-content {
        justify-content: center;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .slider-bg{
        margin: auto;
    }
}



@media (max-width: 650px) {
    .project-button{
        width: fit-content;
    }
}

@media (min-width: 650px) {
    /*widescreen*/
    .pbs-root {
        max-width: 550px;
    }
    .pb-content {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .slider-bg{
        margin-left: auto;
    }
    
}

.pb-content {
    text-decoration: none;
    font-size: 30px;
    color: white;
    /*position: relative;*/
    /*padding-top: 1px;*/
    /*color: white; */
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1 1 auto;
}

/* FIXED: Allow project name to shrink if needed */
/*.pb-content > div:last-child {*/
/*    flex-shrink: 1;*/
/*    min-width: 0;*/
/*    overflow: hidden;*/
/*    text-overflow: ellipsis;*/
/*    white-space: nowrap;*/
/*}*/

/* Media queries for responsiveness */



.slider-bg{
    position: relative;
    border-radius: 10px;
    height: 40px;
    width: 200px;
    max-width: 200px;
    background-color: rgba(16, 16, 16, 0.5);
    box-shadow: 0 0 15px rgb(40, 40, 40);
    overflow: hidden;
}

.slider{
    border-radius: 10px 0 0 10px;
    height: 100%;
}


.slider-text{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    text-shadow: 2px 2px 3px #000000;
}

