/* ----------------------
GLOBAL ELEMENTS
---------------------- */
/* TOP & BOTTOM BORDERS */
#border-top, #border-bottom {
    position: fixed;
    display: flex;
    width: 100vw;
    height: 20px;
    background-color: var(--black);
    z-index: 1000;
}

/* LEFT & RIGHT BORDERS */
#border-left, #border-right {
    position: fixed;
    display: flex;
    width: 20px;
    height: 100vh;
    background-color: var(--black);
    z-index: 1000;
}

/* BOTTOM BORDER */ #border-bottom {bottom: 0;}
/* LEFT BORDER */ #border-right {right: 0;}

/* ----------------------
CLOSE BUTTON
---------------------- */
/* BUTTON CONTAINER */
.close-button {
    position: fixed;
    display: flex;
    right: 0;
    bottom: 0;
    z-index: 1001;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background: var(--black);
    align-items: center;
    justify-content: center;
}

/* LEFT LINE */
.leftright {
    height: 1px;
    width: 20px;
    position: absolute;
    background-color: var(--ruby);
    border-radius: 2px;
    transform: rotate(45deg);
    transition: all .3s ease-in;
}

/* RIGHT LINE */
.rightleft {
    height: 1px;
    width: 20px;
    position: absolute;
    background-color: var(--ruby);
    border-radius: 2px;
    transform: rotate(-45deg);
    transition: all .3s ease-in;
}

/* CLOSE BUTTON TEXT */
label {
    color: var(--aqua);
    font-size: .6rem;
    text-transform: uppercase;
    transition: all .3s ease-in;
    opacity: 1;
}

.close {
    position: absolute;
    bottom: 7.5px;
}
  
/* HOVER EFFECTS */
.close-button:hover .leftright {
    transform: rotate(-22.5deg);
    background-color: var(--tan);
}

.close-button:hover .rightleft {
    transform: rotate(22.5deg);
    background-color: var(--tan);
}


/* ----------------------
PORTFOLIO
---------------------- */
#portfolio-holder {
    display: flex;
    width: 100vw;
    min-height: 100vh;
    flex-direction: column;
    background-image: radial-gradient(var(--charcoal), var(--black));
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.portfolio-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 10vh 0;
    width: 80vw;
    max-width: 1440px;
    color: #CCCCCC;
}

.portfolio-dscription {
    width: 100%;
}

/* VIDEO HOLDER */
.vimeo {
	position: relative;
    width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.vimeo iframe, .vimeo object, .vimeo embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* VIDEO HOLDER */
.vimeo-vert {
	position: relative;
    width: 100%;
	padding-bottom: 100%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.vimeo-vert iframe, .vimeo object, .vimeo embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.credits {
    flex: 1;
    align-self: flex-start;
}

/* ----------------------
IMAGE GALLERY
---------------------- */

.image-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.image-gallery .column {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.image-item img {
  width: 100%;
  border-radius: 5px;
  height: 100%;
  object-fit: cover;
}

/* IMAGE DESCRIPTIONS */
.image-item {
  position: relative;
  min-height: 100px;
}

.image-item p {
    padding: 20px;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(00, 00, 00, 0.5);
  top: 0;
  left: 0;
  transform: scale(0);
  transition: all 0.2s 0.1s ease-in-out;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay p {
    padding: 7.5%;
}

/* IMAGE OVERLAY HOVER EFFECT */
.image-item:hover .overlay {
  transform: scale(1);
}

/* RESPONSIVE - <760px */
@media (min-width: 760px) {
    .image-gallery {
        flex-direction: row;
    }

    .close-button {
        bottom: unset;
        top: 0;
    }

    .close-button:hover label {
        opacity: 1;
    }

    label {
        visibility: hidden;
    }
}  

/* RESPONSIVE - <960px */
@media only screen and (min-width: 960px) {
    .portfolio-description {
        width: 60%;
    }
}