

/* Hide scrollbar for Chrome, Safari and Opera */
.image-container::-webkit-scrollbar {
  display: none;
}

.portrait {
  /* transform: translate(240px) rotate(-4deg); */
  transition: transform 0.5s;
  position: relative;
  width: auto;
  max-height: 65vh;
  min-height: 400px;
  min-width: 360px;
  object-fit: cover;
  object-position: top;
  box-shadow: 9px 10px 23px 1px rgba(0,0,0,0.6);
  -webkit-box-shadow: 9px 10px 23px 1px rgba(0,0,0,0.6);
  -moz-box-shadow: 9px 10px 23px 1px rgba(0,0,0,0.6);

  -webkit-user-drag: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
}

#portrait-1 {
  object-position: 60% 40%;
}

#portrait-2 {
  object-position: center;
}

#portrait-4 {
  object-position: 50% 70%;
}

.portrait-click {
  transform: translate(10px); 
}

#card-details {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: white;
  min-width: 360px;
  min-height: 60vh;
  text-align: center;
  margin-left: auto;
  padding: 15px 0 15px;
  border-radius: 10px;
  box-shadow: 9px 10px 23px 1px rgba(0,0,0,0.6);
  -webkit-box-shadow: 9px 10px 23px 1px rgba(0,0,0,0.6);
  -moz-box-shadow: 9px 10px 23px 1px rgba(0,0,0,0.6);
}

h1.card-text {
    letter-spacing: -3px;
}

h5.card-text {
    letter-spacing: -1px;
}

.enter-btn {
  margin: 40px auto;
  width: 20%;
}

.links-container {
  margin-top: auto;
  padding-top: 10px;
  margin-bottom: 10px;
}

a {
  margin-top: 20px;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.pf-link + .pf-link {
  margin-left: 35px;
}

.pf-link > img:hover {
  transition: transform 0.25s;
  transform: scale(1.15);
}

#links-div {
  flex-direction: column;
}

.page-link {
  background-color: transparent;
  border: none;
  color: black;
}


.hover-button {
    position: absolute;
    bottom: 30%;
    left: 20%;
    transform: translate(-50%, -50%);
    display: none;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.image-container:hover .hover-button {
    display: block;
}

@media only screen and (max-width: 759px) {
    #card {
        margin: 5px !important;
    }

    .image-container {
        transition: transform 0.5s;
        width: 360px;
        max-height: 20vw;
        transform: scale(1);
        clip-path: polygon(5% 0, 95% 0, 95% 100%, 5% 100%);
    }

    .portrait-click {
        transform: translate(0px); 
    }

    #card-details {
        transform: scale(0.8);
        margin-top: -70px;
        min-height: 250px;
        min-width: 400px;
    }
}

@media only screen and (max-width: 635px) {
    #card {
        margin: 5px !important;
    }

    .image-container {
        width: 360px;
        max-height: 20vw;
        transform: scale(0.8);
        clip-path: polygon(5% 0, 95% 0, 95% 100%, 5% 100%);
    }

    #card-details {
        transform: scale(0.8);
        margin-top: -90px;
        min-height: 250px;
        min-width: 360px;
    }
}


@media only screen and (min-height: 1000px) {
    #card {
        flex-direction: column !important;
    }

    .image-container {
        width: 350px;
        max-height: 45vh !important;
        transform: scale(1);
    }

    .portrait {

        width: 350px;
        max-height: 50vw;
        transform: scale(1);

    }

    #card-details {
        /* transform: scale(0.7); */
        min-height: 20vh;
    }
}