@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=DM+Serif+Text:ital@0;1&display=swap');

* {
    margin: 0;
    list-style: none;
    text-decoration: none;
}

body {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 90vw;
    padding-left: 5vw;
    padding-top: 3vw;
}

html {
    scroll-behavior: smooth;
}

p {
    font-family: "DM Sans", serif;
    font-size: 1.2vw;
}

h1 {
    font-family: "DM Serif Text", serif;
    font-weight: normal;
    font-size: 5vw;
    font-style: italic;
    margin-bottom: 2vw;
}

h2 {
    font-family: "DM Serif Text", serif;
    font-weight: normal;
    font-size: 2.5vw;
    word-spacing: 2vw;
    padding-right: 10vw;
}

h3 {
    font-family: "DM Serif Text", serif;
    font-weight: normal;
    font-size: 1.8vw;
    padding-bottom: 1vw;
    padding-top: 2.5vw;
}

h4 {
    margin-top: 3vw;
    font-size: 1.5vw;
    font-family: "DM Sans", serif;
}

.box {
    display: flex;
    position: relative;
    flex-direction: column;
    border: 0.1vw solid #1C46FF;
    border-radius: 0.5vw;
    padding: 1vw 3vw;
    margin-top: 5vw;
    margin-right: 5vw;
    margin-bottom: 1vw;
    width: 83vw;
}

.content {
    display: flex;
    position: flex;
    flex-direction: row;
    flex-wrap: wrap;
    top: 10vw;
    row-gap: 2vw;
    padding-top: 2vw;
}

.content img {
    width: 40vw;
    margin-top: 1vw;
    padding-right: 1.3vw;
}

img {
    margin-top: 0.5vw;
    overflow: hidden;    
}

#posterBox .content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* Create 3 equal columns */
    gap: 10px;  /* Optional: Adds space between the images */
    margin-bottom: 2vw;
}

#posterBox .content img {
    width: 100%;  /* Ensure the images take up the full width of the grid cell */
}

.dropShadow {
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2));
}

.cta {
    position: absolute;
    top: 20px;           /* Position it 20px from the top */
    right: 20px;
    margin: auto;
    padding: 12px 18px;
    transition: all 0.2s ease;
    border: none;
    background: none;
    cursor: pointer;
  }
  
  .cta:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 50px;
    background: rgb(211, 199, 255);
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
  }
  
  .cta span {
    position: relative;
    font-family: "Ubuntu", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #234567;
  }
  
  .cta svg {
    position: relative;
    top: 0;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #1C46FF;
    stroke-width: 2;
    transform: translateX(-5px);
    transition: all 0.3s ease;
  }
  
  .cta:hover:before {
    width: 100%;
    background: rgb(211, 199, 255);
  }
  
  .cta:hover svg {
    transform: translateX(0);
  }
  
  .cta:active {
    transform: scale(0.95);
  }