/* /assets/css/theme.css */

/* General Styles */
body {
    margin: 0;
    padding: 0;
    background-color: #EAF3EF;
}
 
.header2Line{
    background-color:  #605dba; 
    font-size:31px;
    font-size: 1.2em;
    color: #FFFFFF;
}


.generic-text{
    font-family: 'Arial', sans-serif;
    font-size: 1.2em;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
    text-transform: uppercase;
}

.generic-text a{
    text-decoration: none;
    color:inherit;
}

/* Header Styles */
header {
    height: 9vh;
    background: #605dba;
    display: flex;
    justify-content: space-between;
    align-items: center
    padding: 0 10px;
    
}

header img {
    max-height: 50px;
}

#clock {
    font-size: 1.5rem;
}

.gpsicon{
    /* Add any styles for the GPS container */
    margin-right:10px;
}

.footer-link-nincsvita{
    text-decoration: none;
    text-transform:uppercase;
}

.version-number{
    text-transform:uppercase;
}

/* Main Container Styles */
main {
    flex-grow: 1;
    background: #EAF3EF; 
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 25px;
    height: 79vh;
}

/* Footer Styles */
footer {
    height: 8vh;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #747ed1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
}


svg {
    height: 65%;
    padding: 5%;
}
svg path {
    fill: none;
    stroke-width: 2px;
    opacity: 0;
    stroke: #fafafa;
    animation: 6s outline infinite alternate;
    stroke-dasharray: 2600;
    stroke-dashoffset: 2600;
}

@keyframes outline {
    from {
        stroke-dashoffset: 2700;
        opacity: 0.8;
    }

    to {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes text {
    from {
        stroke-dashoffset: 1000;
        opacity: 0;
    }

    to {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.cls-1 {
    fill: #9f89fe;
    stroke: #070759;
}

.cls-1,
.cls-2,
.cls-3,
.cls-4,
.cls-5 {
    stroke-miterlimit: 10;
}

.cls-2 {
    fill: #33a9fe;
}

.cls-2,
.cls-3,
.cls-4,
.cls-5 {
    stroke: #070759;
}

.cls-3 {
    fill: #0aa7f1;
}

.cls-4 {
    fill: #20d8be;
}

.cls-5 {
    fill: #33f0bd;
}

.btn-blue{
    background-image: linear-gradient(0deg,#2c46a7,#3757c4);
    border: 1px solid #E6E5F4 !important;
    color: white;
}


.fridgeInfoBadge{
    background: #7CB798;
    color: white;
    font-family: 'Arial', sans-serif;
    font-size: 1.2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    padding: 5px;
    border-radius: 15px;
}

.fridge-btn{
    font-size:40px;
    padding: 25px;;
    width:80px;
}

.point-btn{
    font-size:40px;
    padding: 10px;;
    width:40px;
}

.fridge-temp-inp{
    font-size:60px;
}


.point-temp-inp{
    font-size:25px;
}

.fridge-btn-action{
    font-size:30px;
    padding: 10px;
}

.fridge-action-btn-success{
    background-image: linear-gradient(90deg,#2c46a7,#3757c4);
}


.fridge-action-btn-cancel{
    background-image: linear-gradient(90deg,#E2626B,#F78B77)
}


.shake-animation {
    animation: shake 1.5s;
    border: 2px solid red; /* Add red border */

}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    75% { transform: translateX(-10px); }
    100% { transform: translateX(0); }
}



#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
  }
  
  /* Show the snackbar when clicking on a button (class added with JavaScript) */
  #snackbar.show {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
  }
  
  /* Animations to fade the snackbar in and out */
  @-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }
  
  @keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }
  
  @-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }
  
  @keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }