@keyframes backgroundcoloranimation {
    0% {
        background: rgba(252, 252, 252);
    }

    25% {
        background: rgba(128, 200, 255);
    }

    50% {
        background: #8cc73f;
    }

    75% {
        background: #f3d333;
    }

    100% {
        background: #f78e56;
    }
}

@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700&display=swap");

body {
    /*max-width: 100%;*/
    /*max-height: 100%;*/
    /*background:rgba(128,200,255);*/
    background: url("/geo/japan-unsplash-romeo.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    /*background-size: 100%;*/
    /*background-size: 100% 100vh;*/
    /*object-fit: cover;*/
    /*background-size: cover; */
    /*background-position: center center;*/
    /*animation: backgroundcoloranimation 14s infinite;*/
    animation-direction: alternate;
    /*background-repeat:no-repeat;*/
    /*background-size: 100% 100%; */
    font-family: "Source Sans Pro", sans-serif;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

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

#main-big-container {
    margin-top: -35px;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    font-family: "Montserrat", sans-serif;
}

#sf-image {
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 0;
}

.card {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 15.59px;
    box-shadow: 0 0.4px 3.6px rgba(0, 0, 0, 0.004),
        0 1px 8.5px rgba(0, 0, 0, 0.01), 0 1.9px 15.7px rgba(0, 0, 0, 0.019),
        0 3.4px 28.2px rgba(0, 0, 0, 0.03), 0 6.3px 54.4px rgba(0, 0, 0, 0.047),
        0 15px 137px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    position: relative;
    width: 400px;
    margin-top: 15px;
}

.card7 {
    overflow-y: auto;
    background: rgba(1, 2, 1, 0.7);
    width: 290px;
    max-height: 55vh;
    /*max-height: 405px;*/
    position: fixed;
    margin-top: 20px;
    font-family: 'Montserrat';
    /*margin-left: 500px;*/
    /*display: inline-block;*/
    left: 50%;
    margin-left: -145px;
    /*transform: translateX(-50%);*/
    padding: 0px;
    display: none;
    /*padding-left: 15px;*/
    border-radius: 10px;
    /*padding-right: 15px;*/
    font-size: 18px;
    opacity: 0.9;
    vertical-align: center;
    margin: auto;
    color: white;
    z-index: 5000000000;
    border: white 1px;
    box-shadow: 0 0.4px 3.6px rgba(0, 0, 0, 0.15),
        0 1px 8.5px rgba(0, 0, 0, 0.01), 0 1.9px 15.7px rgba(0, 0, 0, 0.15),
        0 3.4px 28.2px rgba(0, 0, 0, 0.03), 0 6.3px 54.4px rgba(0, 0, 0, 0.15),
        0 15px 137px rgba(0, 0, 0, 0.15), 0 0 7px 7px rgba(0, 0, 0, 0.25);
    /*box-shadow: 0 0 7px 7px rgba(0, 0, 0, 0.25);*/
    padding-bottom: 12px;
}

.card8 {
    overflow-y: auto;
    background: rgba(1, 2, 1, 0.7);
    width: 290px;
    max-height: 55vh;
    /*max-height: 405px;*/
    position: fixed;
    /*margin-top: 20px;*/
    font-family: 'Montserrat';
    /*margin-left: 500px;*/
    /*display: inline-block;*/
    left: 50%;
    margin-left: -145px;
    /*transform: translateX(-50%);*/
    padding: 0px;
    display: none;
    /*padding-left: 15px;*/
    border-radius: 10px;
    /*padding-right: 15px;*/
    font-size: 18px;
    opacity: 0.9;
    vertical-align: center;
    margin: auto;
    color: white;
    z-index: 5000000000;
    border: white 1px;
    box-shadow: 0 0.4px 3.6px rgba(0, 0, 0, 0.15),
        0 1px 8.5px rgba(0, 0, 0, 0.01), 0 1.9px 15.7px rgba(0, 0, 0, 0.15),
        0 3.4px 28.2px rgba(0, 0, 0, 0.03), 0 6.3px 54.4px rgba(0, 0, 0, 0.15),
        0 15px 137px rgba(0, 0, 0, 0.15), 0 0 7px 7px rgba(0, 0, 0, 0.25);
    /*box-shadow: 0 0 7px 7px rgba(0, 0, 0, 0.25);*/
    /*padding-bottom: 12px;*/
}

.card9 {
    overflow: hidden;
    background: rgba(1, 2, 1, 0.7);
    max-height: 55vh;
    position: absolute;
    font-family: 'Montserrat';
    left: 13px;
    bottom: 10px;
    display: none;
    opacity: 0.9;
    vertical-align: center;
    margin: auto;
    color: white;
    z-index: 5000000000;
    border: white 1px;
    box-shadow: 0 0.4px 3.6px rgba(0, 0, 0, 0.15),
        0 1px 8.5px rgba(0, 0, 0, 0.01), 0 1.9px 15.7px rgba(0, 0, 0, 0.15),
        0 3.4px 28.2px rgba(0, 0, 0, 0.03), 0 6.3px 54.4px rgba(0, 0, 0, 0.15),
        0 15px 137px rgba(0, 0, 0, 0.15), 0 0 7px 7px rgba(0, 0, 0, 0.25);
    -moz-border-radius: 20px;
    border-radius: 20px;
    width: 46.3px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 1.3em;
}

.card10 {
    overflow: hidden;
    background: #fcfcfc;
    max-height: 55vh;
    position: absolute;
    font-family: 'Montserrat';
    right: 8px;
    bottom: 62px;
    display: none;
    opacity: 1;
    vertical-align: center;
    margin: auto;
    color: black;
    z-index: 5000000000;
    border: white 1px;
    box-shadow: 0 0.4px 3.6px rgba(0, 0, 0, 0.15),
        0 1px 8.5px rgba(0, 0, 0, 0.01), 0 1.9px 15.7px rgba(0, 0, 0, 0.15),
        0 3.4px 28.2px rgba(0, 0, 0, 0.03), 0 6.3px 54.4px rgba(0, 0, 0, 0.15),
        0 15px 137px rgba(0, 0, 0, 0.15), 0 0 7px 7px rgba(0, 0, 0, 0.25);
    -moz-border-radius: 4px;
    border-radius: 4px;
    /*width: 46.3px;*/
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 1.3em;
    transition-duration: 0.02s;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
}

.card10:hover {
    border: solid red 2px;
}

.top {
    background-color: #eee;
    border-radius: 15.59px;
    margin: 16px 0;
    width: 260px;
}

.text {
    box-sizing: border-box;
    padding: 0 20px 20px;
    width: 100%;
}

.title {
    align-items: center;
    display: flex;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 4px;
    position: relative;
}

.buttons {
    display: flex;
    /*margin-top: 8px;*/
    width: 100%;
}

.button {
    align-items: center;
    background: #edf1f7;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    height: 50px;
    justify-content: center;
    margin: 0 5px 28px 20px;
    width: 100%;
}

.button:last-child {
    margin: 0 20px 20px 5px;
}

.button-primary {
    background-color: #1178a4;
    color: #fff;
}

.button-primary-hover {
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.1);
}

.button-primary-hover:hover {
    /*font-size: 15.5px;*/
    /*font-weight: bold;*/
    color: white;
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.05);

}

.button-hover {
    transform: scale(1.01);
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.05);
}

.button:hover {
    transform: scale(1.02);
}

.button:hover~#arrow-btn {
    margin-left: 10px;
}

.game-name {
    height: 30px;
    line-height: 30px;
    font-size: 18px;
    background-color: #392b2c;
    color: white;
    width: 100.3%;
    margin-left: 1px;
    margin-right: 1px;
    /*border-radius: 15.59px;*/
    border-top-left-radius: 19px;
    border-top-right-radius: 19px;
    /*margin-left: -20px;*/
    /*margin-right: -20px;*/
    margin-top: -1px;
    text-align: center;
}

.back-mybtn {
    /*  position: fixed;
top: 0.4%;
left: 0.5%;*/
    color: white;
    font-weight: bold;
    text-shadow: -2px -2px 0 #05828e,
        2px -2px 0 #05828e,
        -2px 2px 0 #05828e,
        2px 2px 0 #05828e,
        -3px 0 0 #05828e,
        3px 0 0 #05828e,
        0 -3px 0 #05828e,
        0 3px 0 #05828e;
    text-transform: uppercase;
}

.nav {
    width: 100%;
    height: 10rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid rgba(255, 255, 255, .05);
    transition: height .5s ease;
}

nav {
    /*font-family: 'Montserrat';*/
    z-index: 100000000000;
}

.nav a {
    text-decoration: none;
    color: #fff;
    font-size: 1.6rem;
}

.nav .logo {
    font-size: 3.5rem;
    font-weight: bold;
}

.nav-list {
    list-style: none;
    display: flex;
    margin-right: auto;
    /*margin-left: 4rem;*/
}

.nav-link {
    margin: 0 2rem;
    position: relative;
}

.nav-link::after {
    content: '';
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 0;
    bottom: -3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

#nav-cta {
    display: inline-block;
    background-color: #fff;
    color: #313131;
    padding: 1rem 2rem;
    border-radius: 2rem;
    transition: background-color .5s ease;
}

#nav-cta:hover {
    background-color: #d3d3d3;
}


/*Apply styles after scroll*/
.scrolling-active {
    background-color: #fff;
    box-shadow: 0 3px 1rem rgba(0, 0, 0, .1);
}

.scrolling-active .nav {
    height: 6.6rem;
}

.scrolling-active .nav a {
    color: #313131;
}

.scrolling-active #nav-cta {
    background-color: #313131;
    color: #fff;
}

.scrolling-active #nav-cta:hover {
    background-color: #151515;
}

.scrolling-active .nav-link::after {
    background-color: #313131;
}

.dot {
    height: 10px;
    width: 10px;
    margin-left: 3.5px;
    margin-right: 3.5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}

#myarrow:hover {
    color: #0060f6;
}

#second-card {
    display: none;
}

#third-card {
    display: none;
}

#fourth-card {
    display: none;
}

#fifth-card {
    display: block;
}

#sixth-card {
    display: none;
}

#eigth-card {
    display: none;
}

#seventh-card {
    /*display: none;*/
    visibility: visible;
}

#seventh-card2 {
    display: none;
    /*visibility: visible;*/
}

#cityguesser1:hover {
    transform: scale(1.01);
    opacity: 0.8;
    /*letter-spacing: 1px;*/
}

.hoverme:hover {
    transform: scale(1.01);
}

#hover-times:hover {
    color: red;
}

.br-tag {
    display: none;
}

/* CARD FOR CHOOSING GAMEMODE  */

.cardx {
    margin: 32px 0;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 96, 246, 0.23);
    background: white;
    cursor: pointer;
    width: 100%;
    min-height: 80px;
    border-radius: 5px;
    display: flex;
}

.cardx:hover {
    /*border-style: solid;*/
    /*  border-color: rgba(0,96,246,0.23);
box-sizing: border-box;*/
    /*outline: 5px solid rgba(0,96,246,0.23);*/
    box-shadow: 0 0 5px rgba(0, 96, 246, 1);
    /*opacity: 0.9;*/
}

.cardx .icon-container {
    width: 80px;

    display: flex;
    justify-content: space-around;
    align-items: center;
}

.cardx .description {
    display: flex;
    justify-content: center;
    align-items: flex-start;

    flex-direction: column;
    flex-grow: 1;
    flex-basis: 0;

    padding: 8px 8px 8px 0;
}

.cardx .description .name {
    font-weight: bold;
    font-size: 1.3em;
}

.cardx .description .name span {
    font-size: .6em;
    font-weight: normal;
    font-style: italic;

    color: #bbb;
}

@media screen and (device-aspect-ratio: 2/3) {

    select,
    textarea,
    input[type="text"],
    input[type="password"],
    input[type="datetime"],
    input[type="datetime-local"],
    input[type="date"],
    input[type="month"],
    input[type="time"],
    input[type="week"],
    input[type="number"],
    input[type="email"],
    input[type="url"] {
        font-size: 16px;
    }
}

/* iPhone 5, 5C, 5S, iPod Touch 5g */
@media screen and (device-aspect-ratio: 40/71) {

    select,
    textarea,
    input[type="text"],
    input[type="password"],
    input[type="datetime"],
    input[type="datetime-local"],
    input[type="date"],
    input[type="month"],
    input[type="time"],
    input[type="week"],
    input[type="number"],
    input[type="email"],
    input[type="url"] {
        font-size: 16px;
    }
}

/* iPhone 6, iPhone 6s, iPhone 7 portrait/landscape */
@media screen and (device-aspect-ratio: 375/667) {

    select,
    textarea,
    input[type="text"],
    input[type="password"],
    input[type="datetime"],
    input[type="datetime-local"],
    input[type="date"],
    input[type="month"],
    input[type="time"],
    input[type="week"],
    input[type="number"],
    input[type="email"],
    input[type="url"] {
        font-size: 16px;
    }
}

/* iPhone 6 Plus, iPhone 6s Plus, iPhone 7 Plus portrait/landscape */
@media screen and (device-aspect-ratio: 9/16) {

    select,
    textarea,
    input[type="text"],
    input[type="password"],
    input[type="datetime"],
    input[type="datetime-local"],
    input[type="date"],
    input[type="month"],
    input[type="time"],
    input[type="week"],
    input[type="number"],
    input[type="email"],
    input[type="url"] {
        font-size: 16px;
    }
}

.overlay2 {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Gray color with 60% transparency */
    z-index: 9999;
    /* Higher z-index to ensure it appears on top of other elements */
}

.text2 {
    color: white;
    text-align: center;
    font-size: 5vw;
}
