 :root {
    --main-bg-color: #00b4ff;
    --primary-color: #000000;
    --secondary-color: #313131;
    --user-card-color: #edd9bb;
}

* {
    box-sizing: border-box;
}

@keyframes logo-scale {
    0% { transform: scale(1.4); }
    50% { transform: scale(1.43); }
    100% { transform: scale(1.4); }

}

@font-face {
    font-family: 'RCT2';
    src: url('/fonts/rct2.ttf') format('truetype');
}

body {
    animation: fadeIn 1s;
    -webkit-animation: fadeIn 1s;
    -moz-animation: fadeIn 1s;
    -o-animation: fadeIn 1s;
    -ms-animation: fadeIn 1s;
 
    background-image: url('/images/smw-background.png');
    background-size: cover;
    /* background-size: 100% auto; */
    /*background-repeat: no-repeat;*/
    background-color: var(--main-bg-color);
    font-family: 'RCT2', 'Trebuchet MS', Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/*body {
    animation: fadeIn 1s;
    -webkit-animation: fadeIn 1s;
    -moz-animation: fadeIn 1s;
    -o-animation: fadeIn 1s;
    -ms-animation: fadeIn 1s;
 
    background-image: url('/images/smw-background.png');
    background-repeat: no-repeat;
    object-fit: cover;
    /* background-position: center; 
    background-color: var(--main-bg-color);
    font-family: 'RCT2', 'Trebuchet MS', Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    padding-right: 0px;
    padding-left: 0px;
}*/

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-moz-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-webkit-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-o-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-ms-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

* {
&::-webkit-scrollbar-thumb {
display: none;
background-color: blue;
border-radius: red;
}
&::-webkit-scrollbar-track {
display: none;
background-color: transparent;
}
&::-webkit-scrollbar {
display: none;
width: 4px;
height: 4px;
background-color: transparent;
}
}

.smw-logo {
    content:url("/images/smw-logo.png");
    max-width: 600px;
    pointer-events: none;
    -webkit-touch-callout: none;
}

.wrapper {
    display: flex;
    flex-direction: row;
    
}

.home {
    flex: 1;
    position: relative;
    height: 100vh;
}

.home-container {
    text-align: center;
    margin: 0px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-60%);
}

.home-container img {
    animation: logo-scale forwards 3s infinite ease-in-out;
}

.home-heading {
    margin: 1.4em;
    font-size: 3em;
    text-align: center;
    color: white;
    text-shadow: 5px 5px #00000020;
}

.header {
    margin: 0.5em;
    font-size: 64px;
    text-align: center;
    color: white;
    text-shadow: 5px 5px #00000020;
}

.text {
    margin: 0.5em;
    font-size: 32px;
    text-align: center;
    color: #CECECE;
    text-shadow: 2px 2px #00000020;
}

.text a {
   text-decoration: underline;
   color: cornsilk;
}

/* #live-iframe {
    display: none;
} */

.colored-text {
    color:#006793;
}

.live-text {
    color: #ff2e2e;
}

.users {
    flex: 1;
    width: 50%;
    height: 100vh;
    padding: 12px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.user-wrapper {
    margin: 24px 0;
}

.user-container {
    white-space: normal;
    display: flex;
    background-color: var(--user-card-color);
    border-radius: 0.5em;
    box-shadow: 0 10px 0 var(--secondary-color);
    align-items: center;
    transition: transform .2s; 
}

.user-container:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 0 var(--secondary-color), 0 0 10px #00000020;
}

.user-container .user-img {
    transition: transform .2s; 
}


.user-container:hover .user-img {
    transform: rotate(5deg);
}

.user-img {
    height: 6em;
    border-radius: 8px;
    outline: 5px solid #000000;
    margin: 0 0.5em;
    transform: rotate(-10deg) scale(0.95) translate(0px, 3px); 
    pointer-events: none;
    -webkit-touch-callout: none;
}

a {
    text-decoration: none;
    /* margin: 10px; */
}

a:hover p {
    text-decoration: underline;
}

.user-text {
    width: 100%;
    text-align: center;
}

.user-text h2 {
    margin: 0;
    font-size: 64px;
    color: var(--primary-color);
    text-decoration: none;
}

.user-text p {
    margin: 0;
    font-size: 24px;
    color: var(--secondary-color);
}

  .mobileShow { display: none;}

  /* Smartphone Portrait and Landscape */
  @media only screen
    and (min-device-width : 320px)
    and (max-device-width : 480px) { 
    .mobileShow {
        display: inline;
        text-align: center;
        position: absolute;
        bottom: 20vw;
        left: 20vw;
      }

    .text {
        margin: 0.3em;
        font-size: 25px;
        text-align: center;
        color: #CECECE;
        text-shadow: 2px 2px #00000020;
    }

    .header {
        margin: 0.4em;
        font-size: 64px;
        text-align: center;
        color: white;
        text-shadow: 5px 5px #00000020;
    }

    .user-img {
        height: 5em;
        border-radius: 7px;
        outline: 4px solid #000000;
        margin: 0 0.5em;
        transform: rotate(-10deg) scale(0.95) translate(0px, 3px); 
    }

  }

@media screen and (max-width: 1000px) {

    body {
        padding-right: 1vw;
        padding-left: 1vw;
        background-repeat: repeat-y;
    }
    .wrapper {
        flex-direction: column;
    }

    .home,
    .users {
        flex: 1;
        height: auto; /* Adjust height to auto for responsiveness */
        width: 100%;
    }

    .home-container,
    .users {
        position: static; /* Reset position for responsiveness */
        transform: none;  /* Reset transform for responsiveness*/
        margin: 0; /* Reset margin for responsiveness */
        text-align: center; /* Center content on mobile */
        overflow: auto;
    }

    .home {
        height: 100vh;
        position: relative;
        flex: 0 0 auto;
    }

    .home-container {
        margin: 1vw;
        position: relative;
        transform: translateX(-50%) translateY(-85%);
    }

    .home-container img {
    animation: logo-scale forwards 3s infinite ease-in-out;
    }

    .home-heading {
        font-size: 4vh;
        text-shadow: 0.5vh 0.5vh #00000020;
    }

    .user-container {
        overflow-x: visible;
    }

    .user-text h2 {
        font-size: 8vw;
    }

    .user-text {
        width: 5;
        font-size: 1em;
        text-align: center;
    }

    .smw-logo {
        content:url("/images/smw-logo.png");
        width: 75vw;
        max-width: 350px;
        bottom: 10px;
        pointer-events: none;
        -webkit-touch-callout: none;
    }
}
