@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    min-height: 100dvh;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: rgb(21 23 27);

    font-family: "Poppins", sans-serif;
    outline: none;
}

.box {
    width: 850px;
    height: 500px;

    display: flex;
    flex-direction: row;

    border-radius: 5px;
    box-shadow: 12px 10px 10px 2px rgba(12, 12, 12, 0.58);
}

.btn {
    width: 285px;
    height: 40px;

    color: white;
    background-color: rgb(94, 64, 240);

    border: 0;
    border-radius: 5px;

    cursor: pointer;
    transition-duration: 0.5s;
}

.btn:hover {
    background-color: rgb(70, 33, 255);
}

.content {
    width: 60%;
    height: 100%;
    padding: 30px 80px;

    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 100px;

    background-color: rgb(113 85 249);
    color: white;

    border-radius: 5px;
}

.content span { 
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;

    font-weight: 500;
    
    cursor: pointer;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input {
    height: 35px;
    width: 285px;
    padding: 0 10px;

    background-color: rgb(12, 12, 12, 0.58);

    border: solid 2px rgb(12, 12, 12, 0.58);
    border-radius: 3px;
    color: white;
    outline: 0;
    letter-spacing: 0.7px;
}

form input::placeholder {
    color: rgb(173, 173, 173);
}

.iAgree {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;

    font-size: 11px;
}

.iAgree input {
    cursor: pointer;
}

.icons {
    width: 18px;
}

.info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info button {
    width: 140px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background-color: rgb(21 23 27);
    color: white;

    border: 0;
    border-radius: 30px;
    
    cursor: pointer;

    transition-duration: 0.5s;
}

.info button:hover {
    background-color: rgb(0, 0, 0);
}

.info p{
    font-size: 40px;
    font-weight: 500;

    max-width: 90%;
}

.inputDesign {
    height: 35px;
    width: 285px;
    padding-left: 10px;
    display: flex;
    justify-content: center;
    background-color: rgb(12, 12, 12, 0.58);

    border: 0;
    border-radius: 3px;
}

.login {
    width: 40%;
    height: 100%;
    padding: 30px;

    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;

    background-color: rgb(22 24 28);
    color: white;

    border-radius: 5px;
}

.message {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message h3 {
    font-weight: 500;
}

.message p {
    font-size: 11px;
    color: rgb(173, 173, 173);
    line-height: 1.5;
}

.otherLogins {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;

    font-size: 11px;
}

.socialIcons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

.socialIcons i {
    cursor: pointer;
}

@media (max-width: 900px) {
    .box {
        width: 80%;
    }
    .content {
        display: none;
    }
    .login {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .message {
        width: 280px;
    }
}

/* ========================================= */

/* Brand ticker */
.brand-ticker{
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(0,0,0,0.03));
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.03);
  overflow: hidden;
}

.brand-ticker__inner{
  display: flex;
  gap: 40px;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: ticker 22s linear infinite;
}

/* each brand */
.brand{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 48px;
  opacity: 0.9;
}

/* images inside brand */
.brand img{
  max-height: 36px;
  max-width: 140px;
  object-fit: contain;
  display:block;
  filter: grayscale(0.1) saturate(0.9);
  opacity: 0.95;
}

/* special style for Zeroday if using text */
.brand--zeroday .brand-text{
  display:inline-block;
  font-weight:700;
  font-family: 'Montserrat', sans-serif;
  font-size:16px;
  letter-spacing:0.2px;
  color: #2b2b2b;
  padding: 8px 12px;
  background: #f5f7ff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* pause animation on hover */
.brand-ticker:hover .brand-ticker__inner{
  animation-play-state: paused;
}

/* animation */
@keyframes ticker{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* -50% works because we duplicated the list */
}

/* responsiveness */
@media (max-width: 900px){
  .brand-ticker__inner { gap: 24px; animation-duration: 26s; }
  .brand img { max-height: 28px; }
  .brand { min-width: 120px; height:40px; }
  .brand--zeroday .brand-text { font-size:14px; padding:6px 10px; }
}

@media (max-width: 480px){
  .brand-ticker{ padding:10px 0; }
  .brand-ticker__inner { gap: 18px; animation-duration: 30s; }
  .brand img { max-height: 22px; }
  .brand { min-width: 90px; height:36px; }
  .brand--zeroday .brand-text { font-size:13px; padding:5px 8px; }
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}