main {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: center;

}

main p, main ul {
    text-align: left;
}
main li {
    margin-left: 50px;
}

iframe {
    height: 75vh;
    width: 85vw;
}

.rowcla {
    display: flex;
    flex-direction: row;
    align-self: center;
}

.imgsep {
    margin-left: 10px;
}

.con img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.rowcla img {
    max-width: 60%;
    max-height: 60%;
}
.piximg {
    /*chrom a safari*/
    image-rendering: crisp-edges;
    /*firefox*/
    image-rendering: pixelated;
    object-fit: contain;
}
.gbuttn , .cgbuttn {
    cursor: pointer;
    width: 100px;
}

.gbuttn {
    background-color: blue;
    text-align: center;
    border-radius: 10px;
    border-style: double;
    margin-top: 10px;
    align-self: center;
}
.showsecondgamebuttn, .showfirstgamebuttn, .swapbackroundbuttn {
    color: white;
    text-align: center;
    border-radius: 10px;
    border-width: 5px;
    border-style: ridge;
    padding: 10px;
    cursor: pointer;
}

.showsecondgamebuttn:hover, .showfirstgamebuttn:hover, .swapbackroundbuttn:hover {
    border-style: double;
}
.showfirstgamebuttn {
    background-color: cornflowerblue;
    border-color: blue;
}

.showsecondgamebuttn {
    background-color: coral;
    border-color: chocolate;
}

.swapbackroundbuttn {
    background-color: green;
    border-color: darkgreen;
    margin-top: 10px;
    width: 200px;
    height: 50px;
    align-self: center;
}

.gameinfo {
    display: none;
    flex-direction: column;
    animation: summonabove 1s;
}
.cgbuttn {
    background-color: chocolate;
    text-align: center;
    border-radius: 10px;
    border-style: double;
}
.pigdis {
    width: 400px;
    max-width: 80vw;
    margin-bottom: 10px;
}

.piglibrary {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    gap: 10px; /* Mezera mezi položkami */
    margin-top: 10px;
    max-width: 100vw;
    justify-content: center;
}

.gamepopup {
    display: flex;
    flex-direction: column;
    visibility: hidden;
    background-color: #3636368e;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    z-index: 1;
    height: 80vh;
    width: 90vw;
    position: fixed;
    bottom: 10%;
    align-items: center;
}

.downloadlink {
    height: 190px;
    width: 120px;
    padding: 10px;
    margin-left: 15px;
    margin-right: 15px;
    color: white;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    text-align: center;
}

.win {
    background-image: url(../img/windows-logo.png);
}
.mac {
    background-image: url(../img/apple-logo.png);
}
.lin {
    background-image: url(../img/linux-logo.png);
}

.colcla{
    display: flex;
    flex-direction: column;
    align-self: center;
}

.selection {
    height: 350px;
    display: flex;
    flex-direction: column;
    visibility: hidden;
}

.con {
    color: white;
    background-color: black;
    border-radius: 10px;
    width: 1040px;
    max-width: 70vw;
    max-height: 100%;
    display: flex;
    align-items: center;
    padding: 50px;
    margin-bottom: 10px;
    margin-top: 10px;
    align-self: center;
}

.info {
    display: none;
    border-radius: 10px;
    flex-direction: column;
    align-items: center;
    max-width: inherit;
}

.toptitle {
    margin-top: 10px !important;
}

.info h1, .info h2 {
    margin-bottom:20px;
    margin-top: 40px;
}


.non {
    display:flex;
    flex-direction: column;
}
.non.info img {
    margin: 10px;
    height: 100px;
    width: 100px;
}

.buttn {
    color: white;
    background-color: black;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    margin: 10px;
    height: 100px;
    width: 300px;
    background-size: contain;
    background-repeat: no-repeat;
    transition: background-position 1s;
}
.buttn h1 {
    height: inherit;
}

/*V query*/
/*.buttn:hover {
    background-position: right  bottom !important;
}*/

.py.buttn {
    background-image: url(../img/python-logo.png);
}
.gd.buttn {
    background-image: url(../img/godot_icon.png);
}
.web.buttn {
    background-image: url(../img/php-logo.png);
}

.warrn {
    animation: disclamer 1s alternate infinite;
    text-align: center;
    margin: 20px;
}

.trygame {
    display: flex;
    align-items: center;
    flex-direction: column;
}
@keyframes summon {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 100;
    }
}

@keyframes summonabove {
    0% {
        opacity: 0;  
        transform: translateY(-50px);
    }
    100% {
        offset: 0px; 
        transform: translateY(0);
    }
}

@keyframes disclamer {
    0% {
        color: orange;
    }

    100% {
        color: red;
    }
}