@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');
html{
    scroll-behavior: smooth;
}

.active {
            transform: rotateY(180deg);
  }
.absolute {
	position: relative;
	top: -40px;
	left: 5px;
    width:100px;
    }
a{
  padding: 20px;

}
#input{
    padding-bottom: 30px;
    padding-top: 10px;
    
}
#myText{
        padding: 14px;
        border-radius: 5px;
   }
#dog{
    display:flex;
    align-items:center;
    flex-direction: column;
    margin-top: 10px;
    }
    #dog:hover{
        background-color: lightseagreen;
        border-radius: 5px;
    }
    #cat{
    display:flex;
    align-items:center;
    flex-direction: column;
    margin-top: 10px;
    }
    
    #unsplash:hover {
        background-color: darkslategrey;
    }
    #cat:hover,#color:hover,#input:hover{
        background-color: lightseagreen;
        border-radius: 5px;
    }

        #flexcontainer{
            margin-top:90px;
            width:100%;
            background-color: rgba(255, 192, 203,0.5);
        }
        .navi{
            display: flex;
            justify-content: right;
        }
      
      
        body {
            margin: 0;
            padding: 0;
            background-color:darkslategrey;
            font-family: 'Montserrat', sans-serif;

        }
         a {
           
            bottom: 43px;
            color: white;
            text-decoration: none;
            cursor: pointer;
            width: 100%;
            text-align: center;
            height: 25%;
            align-items: center;
            display: flex;
            justify-content: center;
           
            font-size:0.8em;
     
        }

        a.author{
            border-bottom-right-radius: 10px;
            border-bottom-left-radius: 10px;
            background-color:rgba(0, 0, 0, 0.7);
            height: 3px;
            width: 110px;
            position: relative;
            transform: scaleX(-1);
        }
    .box.solved{
        transform: scaleX(-1);
    }
     p {
         margin: 0;
         margin-top: 10px;
         margin-bottom:10px;
     }
        .active-icon{
            background-color: rgba(0, 0, 0, 0.7);
            color:white;
        }
        .active,
        .box {
            width: 150px;
            height: 150px;
            border-radius: 10px;
            box-shadow: 1px 1px 3px #222;

        }
        .box-view {
            width: 150px;
            height: 150px;
            background-size: cover;
            z-index:-1;
            position: relative;
            border-radius: 10px;
            background-position: center;
        }
        #game {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr;
            width: 660px;
            height: 660px;
            margin: 70px auto;

        }
        #unsplash{
            padding: 14px;
            background: darkcyan;
            border: 0;
            border-radius: 5px;
            color:white;

        }
        .hidden {
            background-color: white;
        }
        .dog{
            background-color: white;
            background-image: url("../img/dog.svg");
            background-size: 70%;
            background-repeat: no-repeat;
            background-position: center center;
        }
        .cat{
            background-color: white;
            background-image: url("../img/cat.svg");
            background-size: 70%;
            background-repeat: no-repeat;
            background-position: center center;
        }
        .color{
            background-color: white;
            background-image: url("../img/color-palette.svg");
            background-size: 70%;
            background-repeat: no-repeat;
            background-position: center center;
        }
        .unsplash{
            background-color: white;
            background-image: url("../img/Unsplash_Logo_Full_Stacked.svg");
            background-size: 70%;
            background-repeat: no-repeat;
            background-position: center center;
        }

        .invisible {
            display: none;
        }
        .black {
            background-color: rgba(0, 0, 0, 0.7);
            position: absolute;
            top: 30%;
            left: 25%;
            right: 25%;
            border-radius: 5px;
            padding-bottom: 2em;
            padding-top: 2em;
            color: white;
        }
        .menu img{
            width: 50px;
            padding:15px;
        }
       
      
        .d-none {
            display: none;
        }
        #popupbox{
            text-align:center;
        }
        #nachrichtbox{
            text-align:center;
        }
        

        #introScreen {
            width: 360px;
            background-color: white;
            border-radius: 5px;
            margin: 100px auto 0px;
            text-align: center;
        }
        .nav-btn{
            position: fixed;
            top:15px;
            right:15px;
        }
     /*    .bar1,
        .bar2,
        .bar3 {
            width: 55px;
            height: 5px;
            background-color: pink;
            margin: 6px 0;
            -webkit-transition: 0.4s;
            transition: 0.4s;
        } */
        .name-d-none{
            display: none;
        }
        .points {
            color: white;
            position: fixed;
            left: 135px;
            top: 80px;
        }
        @media only screen and (max-width: 670px) {
       
           
       
            a.author {
                border-bottom-right-radius: 10px;
                border-bottom-left-radius: 10px;
                background-color: rgba(0, 0, 0, 0.7);
                height: 3px;
                width: 40px;
                position: relative;
                transform: scaleX(-1);
                font-size: 0.5em;
            }
  
            .menu{
            padding: 10px;
         }
         .box {
            width: 80px;
            height: 80px;
        }
        .box-view {
            width: 80px;
            height: 80px;

        }
        .navi{
            display: flex;
            flex-direction: column;
            text-align:center;
            justify-content:center;
        }
        #game {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr;
            width: 360px;
            height: 360px;
            margin-top:100px;

        }
        .points {
            position: fixed;
            width: 300px;
            top: 20px;
            left: 80px;
        }
     
      
       #dog{
        flex-direction:column-reverse;
    }
  
    #cat{
        flex-direction:column-reverse;
    }
  
       .d-none{
           display:none;
       }
        }
