body {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    margin: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: radial-gradient(
    circle, 
    hsl(353.25deg 85.79% 61.37%),
    hsl(350.09deg 95.04% 23.73%)
    );
}

form, #result {
    margin: 20px;
    /*background: rgb(236 215 160);*/
    background: transparent;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 300px;
    max-height: 300px;
    width: 100%;
    height: 100%;
    justify-content: center;
    /*border: 3px solid #a4853e;*/
    border: transparent;
}

input, button {
    margin: 5px;
    padding: 10px;
    font-size: 16px;
    text-align: center;
    border-radius: 5px;
    border: 0;
    /*width: 100%;*/
    /*max-width: 250px;*/
}

label {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

label input {
    margin-right: 10px;
}

.sockray-bt {
    background: #a4853e;
    color: white;
    /*max-width: 250px;*/
    cursor: pointer;
}

input[type="checkbox"] {
    width: unset;
}

.tncCheck {
    font-size: 12px;
    color: white;
}

#tnc-link {
    color: #ffffff;
    text-decoration: underline;
    cursor: pointer;

}

#tnc-link:hover {
    text-decoration: underline;
}

.logoContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5% auto;
    bottom: 5%;
    width: 90%;
    flex-direction: row;
    align-content: center;
}

.loginForm {
    display: flex;
}

.loginFormTitle {
    text-align: center;
    color: white;
    font-size: 24px;
}

.styled-select {
    margin: 5px;
    padding: 10px;
    font-size: 16px;
    text-align: center;
    border-radius: 5px;
    border: 0;
    /*width: 100%;*/
    /*max-width: 250px;*/
}

/* Splash screen styling */
.splashScreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle, 
    hsl(353.25deg 85.79% 61.37%),
    hsl(350.09deg 95.04% 23.73%)
  );
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Make sure it's on top of everything else */
  flex-direction: column;
  transition: opacity 1s ease-out;
}

.splashScreen.fade-out {
  opacity: 0;
}

.splash-logo {
    max-width: 80%;
    max-height: 80%;
}

.mterra-logo {
    max-width: 6%;
    max-height: 50%;
    margin: 3%;
    top: 0;
    left: 0;
    position: fixed;
}

.prizekv-logo {
    max-width: 40%;
    max-height: 80%;
    left: 5%;
    position: relative;
    animation: expand-shrink 1s infinite;
    animation-delay: 1s;
}

.dtr-logo {
    max-width: 25%;
    max-height: 80%;
    position: relative;
    top: 0%;
    margin-top: unset;
    animation: expand-shrink 1s infinite;
    animation-delay: 1s;
    /*animation: bounce 2s infinite;*/
}

.pt-logo {
    max-width: 30%;
    max-height: 80%;
    position: relative;
    margin-top: -3%;
    /*animation: expand-shrink 1.2s infinite;*/
    /*animation: bounce 2s infinite;*/
}

.date-logo {
    max-width: 16%;
    max-height: 80%;
    position: relative;
    top: 0%;
    z-index: 1;
    /*animation: bounce 2s infinite;*/
}

.mahsing-logo {
    max-width: 5%;
    max-height: 80%;
    position: fixed;
    bottom: 4%;
    right: 4%;
}

.tesla-logo {
    max-width: 6%;
    max-height: 80%;
    position: fixed;
    bottom: 7%;
    right: 3%;
    animation: moveRightToLeft 5s cubic-bezier(0.42, 0, 0, 0.96) infinite;
}

.errormsg {
    color: white;
    font-size: 12px;
    text-align: center;
    text-decoration: double;
    padding: 0px 0px 5px;
}

@keyframes moveRightToLeft {
  0% {
    transform: translateX(30vw); /* Start from right */
  }
  50% {
    transform: translateX(calc(30vw - 31vw)); /* Stop in the middle */
  }
  60% {
    transform: translateX(calc(30vw - 31vw)); /* Pause in the middle */
  }
  100% {
    transform: translateX(-120vw); /* Move off to the left */
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

@keyframes expand-shrink {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Media queries for mobile phones (portrait and landscape) */
@media (max-width: 600px) {
    body {
        font-family: 'Montserrat', sans-serif;
        display: flex;
        margin: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100vh;
        background: radial-gradient(
        circle, 
        hsl(353.25deg 85.79% 61.37%),
        hsl(350.09deg 95.04% 23.73%)
        );
    }
    
    form, #result {
        margin: 20px;
        /*background: rgb(236 215 160);*/
        background: transparent;
        border-radius: 15px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        max-height: 300px;
        width: 100%;
        height: 100%;
        justify-content: center;
        /*border: 3px solid #a4853e;*/
        border: transparent;
    }
    
    input, button {
        margin: 5px;
        padding: 10px;
        font-size: 16px;
        text-align: center;
        border-radius: 5px;
        border: 0;
        /*width: 100%;*/
        /*max-width: 250px;*/
    }
    
    label {
        display: flex;
        align-items: center;
        margin: 10px 0;
    }
    
    label input {
        margin-right: 10px;
    }
    
    .sockray-bt {
        background: #a4853e;
        color: white;
        /*max-width: 250px;*/
        cursor: pointer;
    }
    
    input[type="checkbox"] {
        width: unset;
    }
    
    .tncCheck {
        font-size: 12px;
        color: white;
    }
    
    #tnc-link {
        color: #ffffff;
        text-decoration: underline;
        cursor: pointer;
    
    }
    
    #tnc-link:hover {
        text-decoration: underline;
    }
    
    .logoContainer {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 5% auto;
        bottom: 5%;
        width: 90%;
        flex-direction: row;
        align-content: center;
    }
    
    .loginForm {
        display: flex;
    }
    
    .loginFormTitle {
        text-align: center;
        color: white;
        font-size: 24px;
    }
    
    .styled-select {
        margin: 5px;
        padding: 10px;
        font-size: 16px;
        text-align: center;
        border-radius: 5px;
        border: 0;
        /*width: 100%;*/
        /*max-width: 250px;*/
    }
    
    /* Splash screen styling */
    .splashScreen {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(
        circle, 
        hsl(353.25deg 85.79% 61.37%),
        hsl(350.09deg 95.04% 23.73%)
      );
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000; /* Make sure it's on top of everything else */
      flex-direction: column;
      transition: opacity 1s ease-out;
    }
    
    .splashScreen.fade-out {
      opacity: 0;
    }
    
    .splash-logo {
        max-width: 80%;
        max-height: 80%;
    }
    
    .mterra-logo {
        max-width: 20%;
        max-height: 50%;
        margin: 10%;
        top: 0;
        left: unset;
        position: fixed;
    }
    
    .prizekv-logo {
        max-width: 100%;
        max-height: 80%;
        left: 5%;
        position: relative;
        animation: expand-shrink 1s infinite;
        animation-delay: 1s;
    }
    
    .dtr-logo {
        max-width: 80%;
        max-height: 80%;
        position: relative;
        top: 1%;
        margin-top: 5%;
        animation: expand-shrink 1s infinite;
        animation-delay: 1s;
        /*animation: bounce 2s infinite;*/
    }
    
    .pt-logo {
        max-width: 95%;
        max-height: 80%;
        position: relative;
        margin-top: -5%;
    }
    
    .date-logo {
        max-width: 51%;
        max-height: 80%;
        position: relative;
        top: 1%;
        z-index: 1;
        /*animation: bounce 2s infinite;*/
    }
    
    .mahsing-logo {
        max-width: 13%;
        max-height: 80%;
        position: fixed;
        bottom: 4%;
        right: 6%;
    }
    
    .tesla-logo {
        max-width: 18%;
        max-height: 80%;
        position: fixed;
        bottom: 6%;
        right: 7%;
        animation: moveRightToLeft 5s cubic-bezier(0.42, 0, 0, 0.96) infinite;
    }
    
    .errormsg {
        color: white;
        font-size: 12px;
        text-align: center;
        text-decoration: double;
        padding: 0px 0px 5px;
    }
}

/* Media queries for tablets (portrait and landscape) */
@media (min-width: 601px) and (max-width: 1024px) {
    
}

/* Media queries for iPads (portrait and landscape) */
@media (min-width: 768px) and (max-width: 1024px) {
    
    .mterra-logo {
        max-width: 12%;
        max-height: 50%;
        margin: 5%;
        top: 0;
        left: 0;
        position: fixed;
    }
    
    .dtr-logo {
        max-width: 100%;
        max-height: 100%;
        position: relative;
        top: 0%;
        margin-top: unset;
        animation: expand-shrink 1s infinite;
        animation-delay: 1s;
        /* animation: bounce 2s infinite; */
    }
    
    .pt-logo {
        max-width: 65%;
        max-height: 80%;
        position: relative;
        margin-top: -5%;
    }
    
    .date-logo {
        max-width: 40%;
        max-height: 80%;
        position: relative;
        top: 0%;
        z-index: 1;
        /* animation: bounce 2s infinite; */
    }
    
    .prizekv-logo {
        max-width: 85%;
        max-height: 80%;
        left: 4%;
        position: relative;
        animation: expand-shrink 1s infinite;
        animation-delay: 1s;
    }
    
    .mahsing-logo {
        max-width: 8%;
        max-height: 80%;
        position: fixed;
        bottom: 4%;
        right: 4%;
    }
    
    .tesla-logo {
        max-width: 10%;
        max-height: 80%;
        position: fixed;
        bottom: 6%;
        right: 3%;
        animation: moveRightToLeft 5s cubic-bezier(0.42, 0, 0, 0.96) infinite;
    }
    
}

/* Media queries for desktops and laptops */
@media (min-width: 1025px) and (max-width: 1366px) {
    .dtr-logo {
        max-width: 33%;
        max-height: 80%;
        position: relative;
        top: 0%;
        margin-top: unset;
        animation: expand-shrink 1s infinite;
        animation-delay: 1s;
        /* animation: bounce 2s infinite; */
    }
    
    .pt-logo {
        max-width: 40%;
        max-height: 80%;
        position: relative;
        margin-top: -3%;
        /* animation: expand-shrink 1.2s infinite; */
        /* animation: bounce 2s infinite; */
    }
    
    .date-logo {
        max-width: 22%;
        max-height: 80%;
        position: relative;
        top: 0%;
        z-index: 1;
        /* animation: bounce 2s infinite; */
    }
    
    .prizekv-logo {
        max-width: 55%;
        max-height: 80%;
        left: 5%;
        position: relative;
        animation: expand-shrink 1s infinite;
        animation-delay: 1s;
    }
}

/* Media queries for large screens (e.g., 4K TVs) */
@media (min-width: 1441px) and (orientation: portrait) {
    
    .dtr-logo {
        max-width: 100%;
        max-height: 100%;
        position: relative;
        top: 0%;
        margin-top: unset;
        animation: expand-shrink 1s infinite;
        animation-delay: 1s;
        /* animation: bounce 2s infinite; */
        width: 1200px;
    }
    
    .pt-logo {
        max-width: 100%;
        max-height: 100%;
        position: relative;
        margin-top: -3%;
        /* animation: expand-shrink 1.2s infinite; */
        /* animation: bounce 2s infinite; */
        width: 1400px;
    }
    
    .date-logo {
        max-width: 100%;
        max-height: 100%;
        position: relative;
        top: 0%;
        z-index: 1;
        /* animation: bounce 2s infinite; */
        width: 800px;
    }
    
    .prizekv-logo {
        max-width: 100%;
        max-height: 100%;
        left: 2%;
        position: relative;
        animation: expand-shrink 1s infinite;
        animation-delay: 1s;
        width: 1500px;
    }
    
    .loginFormTitle {
        text-align: center;
        color: white;
        font-size: 80px;
    }
    
    form, #result {
        margin: 20px;
        /* background: rgb(236 215 160); */
        background: transparent;
        border-radius: 15px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        max-width: unset;
        max-height: unset;
        width: 100%;
        height: 100%;
        justify-content: center;
        /* border: 3px solid #a4853e; */
        border: transparent;
    }
    
    input, button {
        margin: 2%;
        padding: 5%;
        font-size: 50px;
        text-align: center;
        border-radius: 50px;
        border: 0;
        /* width: 100%; */
        /* max-width: 250px; */
    }
    
    .styled-select {
        margin: 2%;
        padding: 5%;
        font-size: 50px;
        text-align: center;
        border-radius: 50px;
        border: 0;
        /* width: 100%; */
        /* max-width: 250px; */
    }
    
    .tncCheck {
        font-size: 25px;
        color: white;
    }

}

@media (min-width: 1441px) and (orientation: landscape) {
    
    .dtr-logo {
        max-width: 100%;
        max-height: 100%;
        position: relative;
        top: 0%;
        margin-top: unset;
        animation: expand-shrink 1s infinite;
        animation-delay: 1s;
        /* animation: bounce 2s infinite; */
        width: 450px;
    }
    
    .pt-logo {
        max-width: 100%;
        max-height: 100%;
        position: relative;
        margin-top: -3%;
        /* animation: expand-shrink 1.2s infinite; */
        /* animation: bounce 2s infinite; */
        width: 550px;
    }
    
    .date-logo {
        max-width: 100%;
        max-height: 100%;
        position: relative;
        top: 0%;
        z-index: 1;
        /* animation: bounce 2s infinite; */
        width: 300px;
    }
    
    .prizekv-logo {
        max-width: 100%;
        max-height: 100%;
        left: 2%;
        position: relative;
        animation: expand-shrink 1s infinite;
        animation-delay: 1s;
        width: 700px;
    }
    
    form, #result {
        margin: 20px;
        /* background: rgb(236 215 160); */
        background: transparent;
        border-radius: 15px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        max-width: unset;
        max-height: unset;
        width: 100%;
        height: 100%;
        justify-content: center;
        /* border: 3px solid #a4853e; */
        border: transparent;
    }
    
    input, button {
        margin: 2%;
        padding: 5%;
        font-size: 16px;
        text-align: center;
        border-radius: 10px;
        border: 0;
        /* width: 100%; */
        /* max-width: 250px; */
    }
    
    .styled-select {
        margin: 2%;
        padding: 5%;
        font-size: 16px;
        text-align: center;
        border-radius: 10px;
        border: 0;
        /* width: 100%; */
        /* max-width: 250px; */
    }
    
    .tncCheck {
        font-size: 9px;
        color: white;
    }
    
}