@import url('style.css');

.work-carousel{
    width: 100%; 
    height: 450px;
    position: relative;
    border: 1px solid black;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85), black, rgba(0, 0, 0, 0.85));
    margin: auto;
    padding: 20px;
}
.next, .prev{
    position: absolute;
    top: 25vh;
    color: white;
    width: auto;
    padding: 30px 20px;
    background:rgba(255, 255, 255, 0.1);
    font-weight: bold;
    font-size: 1.5rem;
    border-radius: 0px 5px 5px 0px;
    user-select: none;
    cursor: pointer;
}
.next{
    right: 0;
    border-radius: 5px 0px 0px 5px;
}
.prev {
    left: 0;
}
.next:hover, .prev:hover{
    background:rgba(255, 255, 255, 0.2);
}
.dots-container{
    display: flex;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    bottom: 0;
    margin: 15px;
}
.dots{
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #717171;
    margin: 0 10px;
}
.active, .dots:focus{
    background: #bbb;
}

.work-slides{
    display: none;
    margin: auto auto;
    text-align: center;
}
.work-slides a{

    display: inline-block;
    text-decoration: none;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    margin: 2rem 0;
}
.slide-img{
    height: 17rem;
    max-width: 400px;
}
.details{
    float: right;
    width: 300px;
    margin: 3rem 2rem;
    padding: 2rem 0;
}
.details h1{
    margin-bottom: 1rem;
}
.fade{
    animation-name: fade;
    animation-duration: 1.5s;
}
@keyframes fade {
    from {opacity: 0}
    to {opacity: 1}
}

.heading-title{
    width: 100%;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.heading-title h1 {
    padding: 20px 50px;
    color: white;
    border-radius: 20px;
    background: linear-gradient(to right,  orange, red, blue);
    font-family: 'Courier New', Courier, monospace;
    text-transform: uppercase;
}

.projectbox{
    margin: 10px auto;
    flex: 30%;
}
.project-container{
    display: flex;
    flex-wrap: wrap;
}
.projectbox-content{
    text-align: center;
    border: 1px solid #333;
    border-radius: 10px;
    max-width: 20rem;
    min-height: 13rem;
    margin: 0 auto;
    background-color: var(--sky-blue);
    padding: 5px;
    box-shadow: 0 0 20px 2px gray;
}
.projectbox-content img {
    border-radius: 10px;
    max-width: 100%;
    padding: 0 30%;
}
.projectbox-content p {
    font-family: 'Courier New', Courier, monospace;
    color: white;
    font-weight: bold;
    font-size: 1.8rem;
}
.projectbox-content a{
    text-decoration: none;
    cursor: pointer;
}
.projectbox-content:nth-child(1) {
    background: black;
    color: white;
}

.projectbox-content span {
    border-radius: 10px;
    max-width: 100%;
    padding: 0 30%;
    font-size: 8rem;
    color: white;
}
