/* Body */
body {
    background-image: url("../images/pexels-umkreisel-app-956999.jpg");
    background-size: cover;
}
body::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
body > * {
    position: relative;
    z-index: 2;
}

.conectionInfo{
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.402);
    border: rgba(255, 255, 255, 0.402);
    border-radius: 8px;
    padding: 0px 10px 0px 10px;
}

/* Functie class */
.function {
    transition: color 0.3s, text-shadow 0.3s;
    background-color: #274472; 
    color: white; 
    padding: 20px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    min-width: 80px;
    height: 80px;
}

/* Zit elementen inline */
.inline-element {
    display: inline-block;
}

/* Stop knop */
.stop { 
    background-color: #537ebb; 
    color: white; 
}

/* Aanvals knoppen */
.attack {
    background-color: #ec6455; 
    color: white;
    padding: 10px;
    height: 42px;
}
.attack.active{
    background-color: #65e363;
}

/* Arduino status-knop */
.arduinoStatusCheck{
    transition: color 0.3s, text-shadow 0.3s;
    background-color: transparent; 
    color: white;
    height: 42px;
    border: none;
    font-size: 15px;
    padding: 0px;
}
.arduinoStatusCheck:hover{
    transition: color 0.3s, text-shadow 0.3s;
    text-decoration: none;
    color: #007bff;
}

/* Inlog-knop */
.signInButton{
    background-color: steelblue; 
    color: white; 
    cursor: pointer;
    border: none;
    border-radius: 8px;
    height: 35px;
    margin-left: 40px;
}
.signInButton:hover{
    background-color: rgba(70, 131, 180, 0.900);
}

/* Uitlog-knop */
.signOutButton{
    transition: color 0.3s, background-color 0.3s, text-shadow 0.3s;
    background-color: rgb(224, 92, 58); 
    color: white; 
    cursor: pointer;
    border: none;
    border-radius: 8px;
    height: 35px;
}
.signOutButton:hover{
    transition: color 0.3s, background-color 0.3s, text-shadow 0.3s;
    background-color: rgba(224, 92, 58, 0.918);
    color: rgb(95, 2, 2);
}


/* Wachtwoord input van login venster */
input[type="password"] {
    width: 100%;
    max-width: 400px;
    padding: 0.53rem 1rem;
    font-size: 1rem;
    color: #333;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
input[type="password"]:focus {
    border-color: #4f46e5;
    background-color: #fff;
    outline: none;
}

/* Login pagina alignment */
.loginPage {
    display: flex;
    flex-direction: column;
    align-items: center;
}  

/* DHT11 waarde en Volt meter */
#count-1, #count-2 {
    background-color: #394a87;
    color: white;
    border: 10px solid #394a87;
    border-radius: 8px;
    margin: 0px;
}

/* Socket status */
#statusOfSocket, #statusOfArduino{
    margin: 0px;
}


/* Richtingaanwijzer van de robot */
#robot-container {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 180px;
    height: 185px;
    z-index: 10;
}
#robot {
    width: 120px;
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 1;
}
.arrow {
    position: absolute;
    font-size: 36px;
    color: gray;
    transition: color 0.3s, text-shadow 0.3s;
    z-index: 2;
}

#arrow-up    { top: 0; left: 50%; transform: translateX(-50%); }
#arrow-down  { bottom: 0; left: 50%; transform: translateX(-50%); }
#arrow-left  { top: 50%; left: 0; transform: translateY(-50%); }
#arrow-right { top: 50%; right: 0; transform: translateY(-50%); }

.arrow.active {
    color: #00ddff;
    text-shadow: 0 0 10px #00ddff;
}