body {font-family: Arial, Helvetica, sans-serif;}
* {box-sizing: border-box;}

/* Button used to open the contact form - fixed at the bottom of the page */
.open-button {
    background-color: #ffb200;
    top: 0.7%;
    color: #000;
    font-weight: 900;
    padding: 0px 20px;
    border: solid 2px #5b5b5b;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.9;
    position: absolute;
    bottom: 23px;
    right: 10px;
    width: 100px;
    height: 35px;
    z-index: 99999;
}

/* The popup form - hidden by default */
.form-popup {
    display: none;
    position: absolute;
    width: 70%;
    bottom: 0;
    left: 15%;
    top: 20%;
    /* right: 15px; */
    /* border: 3px solid #f1f1f1; */
    z-index: 99999;

}

/* Add styles to the form container */
.form-container {
    /* max-width: 300px; */
    */position: relative;
    padding: 10px;
    /* width: 50%; */
    left: 26%;
    background-color: #282828;
	border: solid 2px #e5a000;
    border-radius: 5px;
	color: #fff;

}

/* Full-width input fields */
.form-container input[type=text], .form-container input[type=password] {
width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    background: #f1f1f1;

}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus, .form-container input[type=password]:focus {
  background-color: #ddd;
  outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
  background-color: #e5a000;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom:10px;
  opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color: red;
}
/* Add a red background color to the cancel button */
.form-container .register {
  background-color: #14495f;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}
.slider-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.slider img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.provider-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px;
    white-space: nowrap;
    scroll-behavior: smooth;

    /* izgled skrola */
    scrollbar-width: thin;
    scrollbar-color: #444 #111;
}

.provider-row::-webkit-scrollbar {
    height: 6px;
}
.provider-row::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 10px;
}
.provider-row::-webkit-scrollbar-track {
    background: #111;
}

.provider {
    min-width: 44px;
    height: 40px;
    /* border: 6px; */
    flex: 0 0 auto;
    border: solid 2px #ffc107;
    border-radius: 12px;
    background-color: #484848;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    transition: transform 0.2s;
}

.provider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.provider:hover {
    transform: scale(1.1);
    cursor: pointer;
}
    :root {
        --bg: #000;
        --card: #222530;
        --accent: #ffb200;
        --text: #fff;
    }

    body {
        margin: 0;
        padding: 0;
        background: var(--bg);
        font-family: Arial, sans-serif;
        color: var(--text);
    }



    .horizontal-scroll {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding: 8px;
        scroll-behavior: smooth;
    }

    .horizontal-scroll::-webkit-scrollbar {
        height: 8px;
    }
    .horizontal-scroll::-webkit-scrollbar-thumb {
        background: var(--accent);
        border-radius: 4px;
    }

    .icon {
        flex: 0 0 auto;
        width: 150px;
        height: 120px;
        border-radius: 12px;
        background: var(--card);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: transform 0.2s;
        border: 2px solid transparent;
    }

    .icon img {
        max-width: 100%;
        max-height: 100%;
        border-radius: 12px;
    }

    .icon:hover {
        transform: scale(1.1);
        border-color: var(--accent);
    }
	    .icond {
        flex: 0 0 auto;
        width: 80px;
        height: 80px;
        border-radius: 12px;
        background: var(--card);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: transform 0.2s;
        border: 2px solid transparent;
    }

    .icond img {
        max-width: 80%;
        max-height: 100%;
        border-radius: 12px;
    }

    .grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 5px;
        padding: 10px;
        justify-items: center;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .icon {
            width: 100px;
            height: 120px;
        }
        .grid {
            grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        }
    }

    a {
        text-decoration: none;
        color: inherit;
    }
	
	.icon {
        flex: 0 0 auto;
        width: 100px;
        height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon img {
        max-width: 100%;
        max-height: 100%;
        border-radius: 12px;
}

.game-title {
    font-size: 12px;
    margin-top: 5px;
    color: #ffffff;
    text-align: center;
    white-space: normal;
	width: 100px;
    white-space: unset;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
	
}
.gridd {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 u redu */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gridd a img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* Tablet */
@media (max-width: 900px) {
    .gridd {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobilni */
@media (max-width: 600px) {
    .gridd {
        grid-template-columns: repeat(1, 1fr);
    }
}
