body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.column {
    flex: 1;
    padding: 10px;
    text-align: center;
}

.left {
    background-color:#ffffff;
}

.center {
    background-color:#ffffff;
}

#funtzio-mota {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#funtzio-mota div {
    margin: 10px 0;
    position: relative;
}

#funtzio-mota input {
    position: absolute;
    left: -9999px;
}

#funtzio-mota label {
    display: block;
    height: 70px;
    width: 150px;
    position: relative;
    padding: 25px 30px 15px 62px;
    border-radius: 100px;
    color: #fff;
    background-color: #6a8494;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}

#funtzio-mota label::before {
    content: '';
    display: block;
    position: absolute;
    top: 32px;
    bottom: 32px;
    left: 10px;
    width: 32px;
    border: 3px solid #fff;
    border-radius: 100px;
    transition: background-color .2s;
}

#funtzio-mota label:hover, input:focus + label {
    box-shadow: 0 0 20px rgba(0, 0, 0, .6);
}

#funtzio-mota input:checked + label {
    background-color: #ab576c;
}

#funtzio-mota input:checked + label::before {
    background-color: #fff;
}

/*------------------------ Grid Styles----------------------- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(10, 50px); /* 10x10 grid */
    grid-template-rows: repeat(10, 50px); /* 10x10 grid */
    grid-gap: 5vh; /* Gap between circles */
    max-width: 80vw;
    margin: auto;
}

.circle {
    width: 40px;
    height: 40px;
    background-color: rgb(223, 223, 223);
    border-radius: 50%;
    cursor: pointer;
}

.circle:hover {
    background-color: rgb(223, 223, 223);
}

.vector {
    position: absolute;
    background-color: rgb(82, 41, 41);
    pointer-events: none;
}

/*------------------ Arrowhead Styles---------------------- */
.arrowhead {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 12px solid rgb(82, 41, 41);
    transform: translate(-50%, -50%);
}

/*----------------- Button styles -------------------------- */

form ul { 
    list-style-type: none;
    display: flex;
    align-items: center; 

}

form ul li { 
    display: inline-block;
    margin: 10px;
}

.botoiak input{
    height: 60px;
    font-size: 50px;
    width: 100px;
    text-align: center;
}

.botoiak button{
    padding: 30px 40px 30px 40px;
    border-radius: 100px;
    color: #fff;
    background-color: #6a8494;
    cursor: pointer;
    border: 0px;
}

.botoiak button:hover{
    padding: 30px 40px 30px 40px;
    border-radius: 100px;
    color: #fff;
    background-color: #ab576c;
}



button {
    width: 200px;
    height: 100px;
    background-color: rgb(31, 27, 21);
    border: none;
    color: rgb(169, 169, 198);
    cursor: pointer;
    position: relative;
}


button::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(255, 119, 0, 0.321);
    
}

button:hover::before{
    height: 100%; 
    clip-path:circle(18%);
    animation: rot 1s linear both infinite;    
} 


@keyframes rot{
    from {
      clip-path: polygon(50% 50%, 0% 0%, 0% 0%);
    }
    25% {
      clip-path: polygon(50% 50%, 0% 0%, 100% 0%);
    }
    25.000001% {
      clip-path: polygon(50% 50%, 0% 0%, 100% 0%, 100% 0%);
    }
    50%{
      clip-path: polygon(50% 50%, 0% 0%, 100% 0%, 100% 100%);
    }
    50.000001%{
      clip-path: polygon(50% 50%, 0% 0%, 100% 0%, 100% 100%, 100% 100%);
    }
    75%{
      clip-path: polygon(50% 50%, 0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
    75.000001%{
      clip-path: polygon(50% 50%, 0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 100%);
    }
    to{
      clip-path: polygon(50% 50%, 0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%);
    }
  }

/*https://codepen.io/liuxiaole-the-sasster/pen/Zdrmxg*/


/* CSS for the refresh button */
.refresh-button-container {
    text-align: center;
    margin-top: 30px; /* Adjust as needed */
  }
  
  .refresh-button {
    padding: 30px 40px 30px 40px;
    border-radius: 100px;
    color: #fff;
    background-color: #6a8494;
    cursor: pointer;
    border: 0px;
    margin-top: 200px;
  }
  
  .refresh-button:hover {
    padding: 30px 40px 30px 40px;
    border-radius: 100px;
    color: #fff;
    background-color: #ab576c;
  }
