/* submit.css */
@import url('/tailwind.css');
@import url('/app/global.css');

@import url('/app/submit/submit-home.css');

.drop-shadow {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.custom-link {
    background-color: #000;
    color: #fff !important;
    padding: 4px 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1;
    
    /* Remove all browser default outlines and borders */
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

html, body {
    min-height: 100vh !important;
    width: 100% !important;
    background-color: white !important;

    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0; */
}

/* Create a pseudo-element for the background image to have better control */
/* body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/assets/img/GXkJB4ma4AAgobW.jpeg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position-y: -3.5rem;
    background-size: 100% auto;
    z-index: 0;
    pointer-events: none;
} */

.submit-page-bg::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/assets/img/86647840_p0.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom;
    background-size: 33.5% auto;
    z-index: 0;
    pointer-events: none;
}

.submit-music-image-container {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.submit-container {
    text-align: center;
    max-width: 800px;
    width: 100%;
    padding: 2rem;
}

.submit-title {
    font-size: 4rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.submit-description {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 3rem;
}

.submit-buttons-container {
    min-height: 50vh;
    min-width: 50vw;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    flex-wrap: wrap;
}

.submit-button {
    background-color: #000;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 10rem;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: pointer;
    user-select: none;
    border: none;
    outline: none;
}

.submit-button:hover {
    background-color: #333;
    /* transform: translateY(-2px); */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.submit-button:active {
    transform: translateY(0);
}

.button-text {
    flex: 1;
    text-align: center;
    margin-right: 1rem;
}

.button-arrow {
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    min-width: 1.5rem;
    text-align: center;
    transform: rotate(-90deg);
    display: inline-block;
}

/* .submit-button:hover .button-arrow {
    transform: rotate(-180deg);
} */

/* Marquee styles */
.marquee-container {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10;
    width: 100vw;
    background-color: #000;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 90s linear infinite;
    padding-left: 100%;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.marquee-item {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin: 0 8px;
}

.marquee-description {
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    color: white;
}

/* Main content styles */
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 64px 16px 0;
    overflow: hidden;
}

.content-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 1;
}

.small-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    z-index: 10;
}

.large-title {
    font-size: 80px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 88%;
    letter-spacing: -0.04em;
    color: var(--text-color);
    text-align: center;
    z-index: 10;
}

/* Button styles */
.two-buttons-container {
    display: flex;
    justify-content: center;

    /* margin-top: 20rem; */
}

.button-group {
    display: flex;
    height: 45px;
    overflow: hidden;
}

.button-art {
    font-family: var(--font-inter);
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    height: 100%;
    width: 125px;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 9999px;
    border-bottom-left-radius: 9999px;
    padding-left: 45px;
    padding-right: 16px;
    background-color: black;
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.button-music {
    font-family: var(--font-inter);
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    height: 100%;
    width: 125px;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 9999px;
    border-bottom-right-radius: 9999px;
    padding-left: 20px;
    padding-right: 45px;
    background-color: #000;
    color: white;
    border: none;
    cursor: pointer;
}

/* Shape SVG styles */
.shape-svg {
    margin: 0 -1px;
    height: 100%;
    width: auto;
}

/* Image container */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 24px auto 0;
}

.image-wrapper {
    position: relative;
    max-height: 60vh;
}

.main-image {
    object-fit: contain;
    max-height: 70vh;
    width: auto;
}



















/* Making submit.php responsive on all devices */

/* Desktop | 1281px - 1440px  */
@media (max-width: 1280px) {
  /* None, coded on macbook m1 pro */
}

/* Medium Laptop/Desktop | 1515px - 1920px */
@media (max-width: 1515px) {
 /* None, coded on macbook m1 pro */
}

/* Small Laptop/Desktop | 1024px - 1280px */
@media (max-width: 1024px) {
  /* None, coded on macbook m1 pro */
}

/* Mobile Small Portrait (Normal) | up to 480px */
/* S20+, iPhone 12, iPhone 13 */
@media (max-width: 480px) and (orientation: portrait) {
  .submit-page-bg h1 {
    font-size: 3rem;
  }

  .submit-page-bg h1 {
    padding-top: 6.5rem !important;
  }
  
  .submit-page-bg p {
    font-size: 1rem;
    max-width: 90%;
    margin-top: 1rem;
  }
  
  .two-buttons-container {
    padding: 0 2rem;
    margin-top: 3rem;
    align-items: center;
  }

  .mb-10 {
    margin-bottom: 2rem;
  }
  
  .button-art {
    width: 125px;
    font-size: 16px;
    border-top-left-radius: 9999px;
    border-bottom-left-radius: 9999px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding-left: 35px;
    padding-right: 12px;
  }
  
  .button-music {
    width: 125px;
    font-size: 16px;
    border-top-right-radius: 9999px;
    border-bottom-right-radius: 9999px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-left: 16px;
    padding-right: 35px;
  }
  
  .submit-page-bg::before {
    background-size: 100% auto;
    background-position: bottom center;
  }
}

/* Mobile Small Landscape (Seitlich gehlaten) | up to 950px */
/* S20+, iPhone 14, iPhone 15 Pro in Landscape (Seitlich gehlaten) */
@media (max-width: 950px) and (orientation: landscape) {
  .html, body {
    overflow-y: clip;
  }

  .submit-page-bg h1 {
    font-size: 2.5rem;
    padding-top: 6rem !important;
    
    padding-right: 15rem !important;
  }
  
  .submit-page-bg p {
    font-size: 0.9rem;
    margin-top: 0.5rem;

    margin-right: 15rem !important;
  }
  
  .two-buttons-container {
    margin-top: 3rem;
    align-items: center;

    margin-right: 15rem !important;
  }
  
  .button-group {
    height: 40px;
  }
  
  .button-art {
    width: 100px;
    font-size: 0.8rem;
    border-top-left-radius: 9999px;
    border-bottom-left-radius: 9999px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding-left: 25px;
    padding-right: 10px;
  }
  
  .button-music {
    width: 100px;
    font-size: 0.8rem;
    border-top-right-radius: 9999px;
    border-bottom-right-radius: 9999px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-left: 12px;
    padding-right: 25px;
  }
  
  .mb-10 {
    margin-bottom: -1rem;
  }
  
  .submit-page-bg::before {
    background-size: 37.5% auto;
    background-position: bottom right;
    z-index: 0;
  }
}

/* Mobile Large Portrait (Normal) | 481px - 600px */
/* iPhone 14 Pro Max, Pixel 7 Pro, larger phones */
@media (min-width: 481px) and (max-width: 600px) and (orientation: portrait) {
  .submit-page-bg h1 {
    font-size: 3.5rem;
    padding-top: 2.5rem;
  }
  
  .submit-page-bg p {
    font-size: 1.1rem;
    max-width: 85%;
    margin-top: 1.5rem;
  }
  
  .two-buttons-container {
    margin-top: 4rem;
    padding: 0 1.5rem;
  }
  
  .button-group {
    height: 52px;
  }
  
  .button-art,
  .button-music {
    width: 130px;
    font-size: 1.1rem;
  }
  
  .submit-page-bg::before {
    background-size: 70% auto;
    background-position: bottom center;
  }
}

/* Tablet Portrait (Normal) | 601px - 1024px */
@media (min-width: 601px) and (max-width: 1024px) and (orientation: portrait) {
  .submit-page-bg h1 {
    font-size: 4rem;
    padding-top: 11rem !important;
  }
  
  .submit-page-bg p {
    font-size: 1.2rem;
    margin-top: 1rem;
  }
  
  .two-buttons-container {
    margin-top: 3rem;
    align-items: center;
  }
  
  .button-group {
    height: 55px;
  }
  
  .button-art,
  .button-music {
    width: 140px;
    font-size: 1.2rem;
  }
  
  .submit-page-bg::before {
    background-size: 75% auto;
    background-position: bottom center;
  }
}

/* Tablet Landscape (Seitlich gehlaten) | 951px - 1366px */
@media (min-width: 951px) and (max-width: 1366px) and (orientation: landscape) {
  .submit-page-bg h1 {
    font-size: 4.5rem;
    padding-top: 2rem;
  }
  
  .submit-page-bg p {
    font-size: 1.1rem;
    margin-top: 1rem;
  }
  
  .two-buttons-container {
    margin-top: 3rem;
  }
  
  .button-group {
    height: 50px;
  }
  
  .button-art,
  .button-music {
    width: 135px;
    font-size: 1rem;
  }
  
  .submit-page-bg::before {
    background-size: 40% auto;
    background-position: bottom center;
  }
}