@keyframes rotate {
	100% {
		transform: rotate(1turn);
	}
}

a:hover {
	text-decoration: none;
}

.hidden {
    display: none;
}

body {
	/* background-image: url('../img/background.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	min-height: 100vh; */
}

body.bingo .chicken-dinner {
    display: block;
	margin-top: 15px;
	text-align: center;
}

main {
    padding-bottom: 30px;
}

h1 {
    color: #00796b;
    font-weight: 700;
    margin: 30px 0 70px 0;
    text-align: center;
}

div.bingo-field-container {
    max-width: 100%;
    width: 550px;
}

div.field {
    padding: 0;
}

div.field .inner {
    cursor: pointer;
    display: flex;
    height: calc(100% - 6px);
    margin: 0 3px;
    overflow: hidden;
    padding: 15px;
    position: relative;
    transition: all 0.7s;
}

div.field.active .inner {
    background-color: #dd0000;
    color: #fff;
}

div.field .inner:before {
    animation: rotate 20s linear infinite;
    background-color: #399953;
    background-image: linear-gradient(#399953, #399953), linear-gradient(#fbb300, #fbb300), linear-gradient(#d53e33, #d53e33), linear-gradient(#377af5, #377af5);
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    background-repeat: no-repeat;
	background-size: 50% 50%, 50% 50%;
    content: '';
    height: 200%;
    left: -50%;
	position: absolute;
	top: -50%;
	width: 200%;
    z-index: -2;
}

div.field .inner:after {
	background: rgba(255,255,255,0.3);
	background: white;
    content: '';
	height: calc(100% - 8px);
	left: 4px;
    position: absolute;
	top: 4px;
	width: calc(100% - 8px);
    z-index: -1;
}

div.field p {
    font-weight: 700;
    margin: auto;
    text-align: center;
}

div.popup {
	display: none;
}

div.popup h2 {
    font-size: 35px;
    margin-bottom: 30px;
    text-align: center;
}

div.fancybox-content {
    background-color: #00796b;
    color: #fff;
    padding: 30px;
}

@media(max-width: 700px) {
	.chicken-dinner img {
		width: 180px;
	}

    div.field .inner {
        padding: 5px;
    }

    div.field p {
        font-size: 14px;
        font-weight: 500;
    }
}

@media(max-width: 400px) {
    div.field p {
        font-size: 13px;
        font-weight: 400;
        line-height: 16px;
    }
}
