@import url("https://use.typekit.net/dkj5gbs.css"); /* adobe fonts */

p {
    font-family: "Lato", sans-serif;
    font-size: 1vmax;
    color: rgb(190,190,190);
    line-height: 100%;
    margin: 0px;
}

h1 {
    font-family: "Lato", sans-serif;
    font-size: 2.4vmax;
    color: rgb(231, 231, 231);
    line-height: 100%;
}

h2 {
    font-family: "Lato", sans-serif;
    font-size: 2vmax;
    color: rgb(207, 207, 207);
    line-height: 100%;
}

h4 {
    font-family: "Lato", sans-serif;
    font-size: 1.3vmax;
    color: rgb(231, 231, 231);
    line-height: 100%;
}

.textentrybox {
    font-family: "Lato", sans-serif;
    font-size: 1.5vmax;
    color: rgb(231, 231, 231);
    line-height: 100%;
    /* Set background to be translucent with blur*/
    background-color: rgba(0, 0, 0, 0.5);
    border: 0.2vmin solid rgba(255, 255, 255, 0.2);
    border-radius: 0.8vmin;
}

.formtextentrybox {
    font-family: "Lato", sans-serif;
    font-size: 1vmax;
    color: rgb(231, 231, 231);
    line-height: 100%;
    /* Set background to be translucent with blur*/
    background-color: rgba(0, 0, 0, 0.5);
    border: 0.2vmin solid rgba(255, 255, 255, 0.2);
    border-radius: 0.8vmin;
}


/* Button with a style corrersponding to the textentrybox */
.textentryboxbutton {
    font-family: "Lato", sans-serif;
    font-size: 1.5vmax;
    color: rgb(231, 231, 231);
    line-height: 100%;
    background-color: #007bff;
    border: 0.1vmin solid rgba(255, 255, 255, 0.2);
    padding: 0.6vmin;
    border-radius: 0.8vmin;
}

button {
    font-family: "Lato", sans-serif;
    font-size: 1vmax;
    color: rgb(231, 231, 231);
    line-height: 100%;
    background-color: #1e00ff;
    border: 0.1vmin solid rgba(255, 255, 255, 0.2);
    padding: 0.6vmin;
    border-radius: 0.8vmin;
}

.centercontainer {
    position: absolute;
    left: 50%; /* relative to nearest positioned ancestor or body element */
    top: 50%; /*  relative to nearest positioned ancestor or body element */
    transform: translate(-50%, -50%); /* relative to element's height & width */
    max-width: 90vw;
    max-height: 90vh;
}

.indexentry {
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    padding: 1.5vmin 3vmin 3vmin 3vmin;
    border-radius: 2vmin;
    border: 0.4vmin solid rgba(0, 123, 255, 0.599);
    /* blur the background*/
    backdrop-filter: blur(5px);
}

.landingbackground {
    background-image: url('/images/landing1.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    width: 100%;
}

.gamebackground {
    background-image: url('/images/background2.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    min-width: 100%;
    overflow-x: hidden;
}

.gameoverlay {
    z-index: 10;
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgb(7, 7, 48) 24%, rgba(34,1,1,1) 56%, rgba(0,35,45,1) 100%);
    opacity: 0.95;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    position: fixed;
}

.darkbackground {
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,61,1) 24%, rgba(34,1,1,1) 56%, rgba(0,35,45,1) 100%);
}

.noyscroll {
    overflow-y: hidden;
}

.noxscroll {
    overflow-x: hidden;
}

/* .joinbutton {
    color:white;
    background-color: #007bff;
    border: none;
    border-radius: 0.2vmax;
} */

.row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5vmax;
}

.rowspacebetween {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5vmax;
}

.banktransferrow {
    justify-content: start;
}

.userdropdown, .propertydropdown {
    background-color: rgba(0, 0, 0, 0.5);
    color: rgb(231, 231, 231);
    backdrop-filter: blur(5px);
    border: 0.05vmin solid rgba(231, 231, 231, 0.3);
    border-radius: 2vmin;
    padding: 0.3vmax 0.5vmax;
    font-size: 1vmax;
}

#music {
    opacity: 0.8;
    bottom: 0;
    right: 0;
    position: absolute;
}

/* Game containers */
.gamecontainer {
    width: 95vw;
    overflow: hidden;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1vh;
}

.innergamecontainer {
    background-color: rgba(0, 0, 0, 0.5);
    /* blur the background */
    backdrop-filter: blur(5px);
    border: 0.05vmin solid rgba(231, 231, 231, 0.2);
    border-radius: 2vmin;
    padding: 0 2vw;
}

.gamehistoryevent {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 0px;
    padding: 1vmin;
    margin: 0.6vmin 0;
    border-radius: 1vmin;
    border: 0.1vmin solid rgba(231, 231, 231, 0.2);
    background-color: rgba(0, 0, 0, 0.5);
    /* blur the background */
    backdrop-filter: blur(5px);
}

/* Make everything inside gamehistoryevent have no margin*/
.gamehistoryevent * {
    margin: 0;
}

.userpropertysummarycontainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5vmin;
    padding: 0.5vmax 0;
}

.playerpropertyminitile {
    width: fit-content;
    border-radius: 0.3vmax;
    padding: 0px;
    display: flex;
    flex-direction: column;
}

.propertyminitiletopcolor {
    width: 100%;
    height: 0.6vmax;
}

.propertyminitiletext {
    padding: 0.4vmax 0.7vmax;
}

#propertiescontainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5vmin;
    padding: 0.5vmax 0;
}

.propertytile {
    width: fit-content;
    border-radius: 0.3vmax;
    padding: 0px;
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.9);
}

.propertytiletopcolor {
    width: 100%;
    height: 1.2vmax;
}

.propertytiletext {
    padding: 0.4vmax 0.7vmax;
}

/* animations */

/* Fade in */
.fade-in {
    animation: fadeIn ease 3s;
    -webkit-animation: fadeIn ease 3s;
    -moz-animation: fadeIn ease 3s;
    -o-animation: fadeIn ease 3s;
    -ms-animation: fadeIn ease 3s;
}

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

    100% {
        opacity: 1;
    }
}