.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/Introbackground.jpg') !important;
    background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
    
    
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease;
}
.intro-image {
    width: 550px;
    cursor: pointer;
    animation: fadeIn 2s ease forwards;
    margin-top: 15%;
}

.hidden {
    display: none;
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8);}
    to { opacity: 1; transform: scale(1);}
}

body {
	font-family: Arial, sans-serif;
	margin-top: 5px;
	padding: 0;
    background-image: url('../images/ALL3.jpg') !important;
    background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.BOX-CONTAINER {
    margin-top: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 45px;
}
.BOX {
    width: 450px;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 10px;
    font-size: 25px;
    color: gold;
    text-shadow: 1px 1px 2px black;
    transition: transform 0.3s;

    background-image: url('../images/PCbackground3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.BOX:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.BOX:nth-child(2) {
    background-image: url('../images/PSbackground111.jpg');
}
.BOX:nth-child(3) {
    background-image: url('../images/XBbackground11.jpg');
}

@media (min-width: 1500px) {

    
}

@media (max-width: 1499px) and (min-width: 769px) {
    body {
        display: grid;
        grid-template-columns: 25% 75%;
        height: 80vh;
        overflow: hidden;
    }
    .intro-screen {
        height: 100vh;
    }
    .intro-image {
        width: 60%;
    }
    .BOX-CONTAINER {
    display: flex;
    flex-direction: column;
    height: 80vh;
    gap: 25px;
    padding: 30px;
    margin-top: 0;
    }
    .BOX {
        width: 280px;
        height: 550px;
    }
}

@media (max-width: 1200px) and (min-width: 769px) and (min-height: 800px) {
    body {
        display: flex;
        flex-direction: row;
        height: 100vh;
        overflow: hidden;
        align-items: center;
        justify-content: center;
        background-size: cover;
	    background-position: center;
	    background-repeat: no-repeat;
    }
    .intro-screen {
        height: 100vh;
    }
    .intro-image {
        width: 60%;
    }
    .BOX-CONTAINER {
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    gap: 25px;
    padding: 0;
    margin-top: 0 auto;
    }
    .BOX {
        height: 260px;
        width: 400px;
    }

}

@media (max-width: 1200px) and (min-width: 769px) and (max-height: 799px) {

   
}

/* Media Querry for LAPTOP */


@media (max-width: 1300px) and (min-width: 1100px) {
    body {
        display: grid;
        justify-content: center;
        align-items: center;
        height: 80vh;
        overflow: hidden;
    }
    .intro-screen {
        height: 100vh;
    }
    .intro-image {
        width: 40%;
    }
    .BOX-CONTAINER {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 70vh;
        gap: 25px;
        padding: 30px;
        margin-top: 50px;
        margin-left: 50px;
    }
    .BOX {
        width: 350px;
        height: 550px;
    }
}
@media (max-width: 700px) and (min-width: 600px) and (max-height: 650px) {
    body {
        display: flex;
        flex-direction: row;
        height: 100vh;
        overflow: hidden;
        align-items: center;
        justify-content: center;
    }
    .intro-screen {
        height: 100vh;
    }
    .intro-image {
        width: 60%;
    }
    .BOX-CONTAINER {
        display: grid;
        grid-template-columns: 1fr;
        height: auto;
        gap: 25px;
        padding: 0;
        margin-top: 10px;
    }
    .BOX {
        height: 160px;
        width: 160px;
    }
   
}
@media (max-width: 700px) and (min-width: 600px) and (max-height: 300px) {
    .BOX-CONTAINER {
    display: flex;
    flex-direction: column;
    height: 60vh;
    gap: 25px;
    padding: 30px;
    margin-top: -5px;
    }
    .BOX {
        width: 150px;
        height: 150px;
    }
    .intro-screen {
        height: 100vh;
    }
    .intro-image {
        width: 30%;
    }
}


@media (max-width: 480px) {

    .intro-screen {
        position: fixed;
        inset: 0;
        background: black;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        opacity: 1;
        transition: opacity 0.8s ease;
        border-radius: 20px;

        background-image: url('../images/mobilebackground.jpg') !important;
        background-size: cover;
	    background-position: center;
	    background-repeat: no-repeat;
    }
    .intro-image {
        height: 300px;
        width: 300px;
    }
    

    html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    touch-action: none;
    overscroll-behavior: none;
  }

    body {
    background: black !important;
  }

  
    body::before {
    content: "";
    position: fixed;
    inset: -6px;
    background: black;
    z-index: -1;
  }

  
    .main-box {
    height: 100dvh;   
    display: flex;
    flex-direction: column;
  }

 
  header.naslov {
    height: 48px;
    line-height: 48px;
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 15px;
    flex-shrink: 0;
  }

  
  .BOX-CONTAINER {
    flex: 1;                
    display: flex;
    flex-direction: column;
    justify-content: center; 
    gap: 10px;              
    padding: 10px;
    margin-top: 0;
  }


  .BOX {
    width: 92vw;
    max-width: 360px;
    height: 30dvh;           
    max-height: 250px;
    min-height: 120px;

    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
  }
}