* {
    margin: 0;
    padding: 0;
}

/* body {
    background-color: #FFFCEE;
} */

/* DESKTOP */

/* Header */
.pc-header {
    width: 100%;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../images/SubPageHeader.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    /* border: 1px solid red; */
}

.pc-header h1 {
    /* letter-spacing: 0.2em; */
    opacity: .8;
    text-shadow: 0 5px 10px rgba(0, 0, 0, 1);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 1);
    background: rgba(0, 0, 0, .2);
}

.highlighted {
    background-color: rgba(173, 173, 173, 0.5);
    cursor: pointer; /* Change cursor to pointer on hover */
    /* border: 1px solid blue; */
}
/* Body */

/* Carousel */
.pc-links-carousel-background {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
    /* border: 1px solid red; */
}

.pc-links-carousel-background img {
    width: 100%;
    height: 100%;
}

.pc-links-carousel {
    width: 90%;
    height: 100vh;
    margin: auto;
    padding: 2rem 0 0 0;
    position: absolute;
    z-index: 1;
    /* border: 1px solid blue; */
}

.pc-carousel-header {
    width: 100%;
    height: 10%;
    display: flex;
    /* border: 1px solid green; */
}

.pc-header-text {
    width: fit-content;
    height: 100%;
    display: flex;
    align-items: center;
    /* border: 1px solid blue; */
}

.pc-header-typewriter {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    /* border: 1px solid red; */
}

.pc-carousel {
    width: 80%;
    height: 80%;
    position: relative;
    padding: 1rem;
    margin: auto;
    /* border: 1px solid violet; */
}

.pc-carousel-slide {
    height: 100%;
    width: 100%;
    display: none;
    overflow: hidden;
}

.pc-bg-slide {
    height: 100%;
    width: 100%;
    display: none;
    overflow: hidden;
}

#first {
    display: block;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: 0.8;}
    to {opacity: 1;}
}

@keyframes fade {
    from {opacity: 0.8;}
    to {opacity: 1;}
}

.pc-carousel-title {
    position: absolute;
    color: black;
    letter-spacing: 2px;
    line-height: 35px;
    top: 40%;
    left: 15%;
    -webkit-animation-name: posi;
    -webkit-animation-duration: 2s;
    animation-name: posi;
    animation-duration: 2s;
    z-index: 1;
}

@-webkit-keyframes posi {
    from {left: 25%;}
    to {left: 15%;}
}

@keyframes posi {
    from {left: 25%;}
    to {left: 15%;}
}

@-webkit-keyframes zoom {
    from {transform: scale(1, 1);}
    to {transform: scale(1.5, 1.5);}
}

@keyframes zoom {
    from {transform: scale(1, 1);}
    to {transform: scale(1.5, 1.5);}
}

.pc-carousel-slide img {
    height: 100%;
    width: 100%;
    transform: scale(1.5, 1.5);
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 40s;
    animation-name: zoom;
    animation-duration: 40s;
}

.pc-bg-slide img {
    height: 100%;
    width: 100%;
    transform: scale(1.5, 1.5);
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 40s;
    animation-name: zoom;
    animation-duration: 40s;
    filter: blur(3px);
}
/* End of Carousel */

/* Links */
.pc-links-container {
    width: 90%;
    height: 60vh;
    margin: auto;
    /* padding: 2rem 0 0 0; */
    /* border: 1px solid red; */
}

.pc-links-tag {
    width: 100%;
    height: 20%;
    display: flex;
    align-items: end;
    /* border: 1px solid green; */
}

.pc-links-tag h1 {
    text-indent: 2rem;
    /* color: #003595; */
}

.pc-links {
    width: 100%;
    height: 80%;
    padding: 0.5rem 0;
    display: flex;
    overflow-x: scroll;
    flex-wrap: wrap;
    flex-direction: column;
    border: 6px solid #FFCE00;
    border-style: double none;
}

.pc-link-box {
    width: 40%;
    height: 100%;
    margin: 0 0.5rem;
    border: 1px solid black;
    border-radius: 5%;
}

.pc-link-image {
    object-fit: cover;
    width: 100%;
    height: 80%;
    border-bottom: 1px solid black;
    border-radius: 5% 5% 0 0;
    overflow: hidden;
}

.pc-link-image img {
    width: 100%;
    height: 100%;
    border-radius: 5% 5% 0 0;
}

.pc-link-image img:hover {
    transition: transform 1s ease-in-out;
    transform: scale(1.1, 1.1);
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0s;
    animation-name: zoom;
    animation-duration: 0s;
    animation-timing-function: linear;
}

.pc-link-content {
    width: 100%;
    height: 20%;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    /* border: 1px solid green; */
}

.pc-content-title {
    width: 70%;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    /* border: 1px solid red; */
}

.pc-content-date {
    width: 30%;
    text-align: right;
    border-left: 1px solid black;
}
/* End of Links */

/* MOBILE */


@media screen and (max-width: 768px) {
    .pc-carousel {
        width: 90%;
    }

    .pc-carousel-header {
        display: block;
    }

    .pc-header-text {
        height: 50%;
        width: 100%;
    }

    .pc-header-typewriter {
        height: 50%;
        width: 100%;
    }

    .pc-carousel-slide img {
        height: 100%;
        width: 100%;
        transform: none;
        animation-name: none;
        animation-duration: 0;
    }
    
    .pc-bg-slide img {
        height: 100%;
        width: 100%;
        transform: none;
        animation-name: none;
        animation-duration: 0;
        filter: blur(3px);
    }

    .pc-link-box {
        width: 100%;
    }

    .pc-link-image img:hover {
        transition: none;
        transform: none;
        animation-name: none;
        animation-duration: 0;
        animation-timing-function: none;
    }
}