@font-face {
    font-family: IQOS;
    mso-font-alt: "Calibri";
    src: url(https://o3area.com/iqos/fonts/IQOS-Regular.woff2) format("woff2"),
        url(https://o3area.com/iqos/fonts/IQOS-Regular.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #fff;
    font-family: IQOS;
}

.no-interaction {
    pointer-events: none;
    cursor: no-drop;
}

.no-interaction .name:not(.selected) {
    opacity: 0.6;
}

.bg {
    background-image: url(assets/images/backround.jpg);
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    width: 100vw;
    background-size: 100vw 100vh;
    position: fixed;
    z-index: -1;
}

.btn {
    display: inline-block;
    border: 1px solid #fff;
    outline: none;
    box-shadow: none;
    background-color: #fff;
    color: #17253F;
    font-size: clamp(16px, 4vw, 43px);
    line-height: 29px;
    padding: 18px 15px;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s;
}

.btn.orange {
    color: #fff;
    background-color: #ED7D31;
    border: 1px solid #ED7D31;
}

.btn:hover {
    border: 1px solid #fff;
    background-color: #17253F;
    color: #fff;
}

.btn.end-game {
    min-width: 250px;
}

.btn.end-game:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.headline {
    background-color: #17253F;
    box-shadow: 4px 4px 22px rgba(0, 0, 0, 0.25);
    border-radius: 26px;
    max-width: 570px;
    padding: 60px 35px;
    margin: 0 auto;
    text-decoration: none;
}

.screen--4 .headline {
    max-width: 670px;
}

.screen--4 .headline p b {
    display: block;
    margin-bottom: 15px;
    margin: 0 auto;
    text-decoration: none;
}

.screen--4 .headline p a {
    text-decoration: none;
    color: #ED7D31;
}

.headline h1 {
    font-size: clamp(51px, 8vw, 91px);
    line-height: 98%;
    text-align: center;
}

.headline p {
    font-size: 51px;
    line-height: 57px;
    text-align: center;
}

.disclaimer {
    background-color: #fff;
    color: #000;
    padding: 6px 10px;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
}

#game-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#screen-1 {
    text-align: center;
}

#screen-1 > img {
    max-width: 456px;
    width: 100%;
    height: auto;
}

#screen-1 > p {
    margin-top: 30px;
    font-size: 29px;
    line-height: 66%;
    text-align: center;
    cursor: pointer;
}


.screen--2 .half {
    flex-basis: 50%;
    flex-grow: 1;
}

.instructions {
    background-color: #17253F;
    color: #fff;
    text-align: center;
    padding: 50px 20px 80px;
}

.instructions h2 {
    font-size: 45px;
    font-weight: 700;
    line-height: 32px;
}

.instructions ol {
    display: inline-block;
    text-align: left;
    margin: 30px 0 40px;
}

.screen {
    width: 100%;
    min-height: 100vh;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    display: none;
}

.screen--1.show,
.screen--3.show,
.screen--4.show {
    display: flex;
}

.screen--2.show {
    display: flex;
}

.screen--2 .heets-packshot {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url(assets/images/screen-2.png);
    padding-bottom: 24%;
}

.screen--3 {
    padding-bottom: 80px;
}

.screen--3 h2 {
    font-size: 45px;
    font-weight: 700;
    text-align: center;
    margin: 20px 0;
    line-height: 32px;
}

#game-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

#game-grid .grid-column {
    width: 50%;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

#game-grid .grid-column > div {
    height: 330px;
    max-width: 470px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#game-grid .grid-column > div img {
    height: 100%;
    width: auto;
    pointer-events: none;
    display: inline-block;
    margin: 0;
}

#game-grid .grid-column.packshots {
    align-items: flex-end;
}

#game-grid .grid-column.packshots > div {
    justify-content: flex-end;
}

#game-grid .grid-column.names>div {
    justify-content: flex-start;
}

#game-grid .grid-column h2 {
    text-align: center;
    margin-bottom: 10px;
}

#game-grid .grid-column span {
    display: block;
    max-width: 470px;
    margin: 0;
    border-radius: 13px;
    padding: 10px 30px;
    background-color: #fff;
    color: #17253F;
    font-size: 62px;
    line-height: 79px;
    text-align: center;
    pointer-events: none;
}


#game-grid .grid-column .packshot.selected img,
#game-grid .grid-column .name.selected span {
    filter: drop-shadow(2px 0 0 #17253F)
            drop-shadow(0 2px 0 #17253F)
            drop-shadow(-2px 0 0 #17253F)
            drop-shadow(0 -2px 0 #17253F);
}

#game-grid .grid-column .packshot.paired img {
    /* background-color: #4CAF50; */
    /* color: white; */
    filter: drop-shadow(2px 0 0 #4CAF50) drop-shadow(0 2px 0 #4CAF50) drop-shadow(-2px 0 0 #4CAF50) drop-shadow(0 -2px 0 #4CAF50);
}

#game-grid .grid-column .name.paired span {
    background-color: #4CAF50;
    color: white;
    filter: none;
}

#game-grid .grid-column .packshot.selected.wrong img {
    /* background-color: #4CAF50; */
    /* color: white; */
    filter: drop-shadow(2px 0 0 #E44234) drop-shadow(0 2px 0 #E44234) drop-shadow(-2px 0 0 #E44234) drop-shadow(0 -2px 0 #E44234);
}

#game-grid .grid-column .name.selected.wrong span {
    background-color: #E44234;
    color: white;
    filter: none;
}

#game-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

#game-controls button {
    padding: 10px 20px;
    font-size: 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#game-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

#game-info span {
    font-size: 20px;
    margin-right: 20px;
}

#game-info #timer {
    color: red;
    font-weight: bold;
}

/* @media (max-width: 768px) {
    #game-grid {
        flex-direction: column;
    }

    #game-grid .grid-column {
        width: 100%;
    }
} */


@media only screen and (max-width: 600px) {

    #screen-1 {
        padding: 0 40px;
    }

    .headline {
        padding: 40px 10px;
    }

    .headline h1 {
        font-size: 51px;
    }

    .headline p {
        font-size: 31px;
        line-height: 39px;
    }

    #screen-1>p {
        font-size: 19px;
        margin-top: 25px;
    } 

    .disclaimer {
        font-size: 10px;
    }

    .screen--2 .heets-packshot {
        padding-bottom: 35%;
    }

    .instructions {
        padding: 30px 0 80px;
    }

    .instructions h2 {
        font-size: 25px;
    }

    .instructions ol {
        padding-left: 45px;
    }

    .instructions ol li {
        font-weight: 400;
        font-size: 25px;
        line-height: 38px;
    }

    .btn {
        font-size: 23px;
        padding: 5px 8px;
    }

    .screen--3 h2 {
        font-size: 25px;
        line-height: 32px;
    }

    #game-grid {
        margin: 0;
    }

    #game-grid .grid-column>div {
        max-width: 187px;
        height: 114px;
    }

    #game-grid .grid-column span {
        max-width: 187px;
        font-size: 21px;
        line-height: 29px;
        padding: 10px 35px;
    }

    .screen--4 {
        padding: 0 15px;
    }

}