:root {
  --theme-color: #83b3ff;
  --title-color: black;
  --link-color: black;
  --select-color: rgba(0, 0, 1, 0.5);
  --footer-text-color: white;
}

* {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
}

html {
    font-family: 'Inter' , sans-serif;
    font-weight: 500;
    font-size: 16px;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    margin: 0 auto;
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1; 
}
header{ 
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5rem;
    padding: 1rem 3rem;
    background-color: var(--header-color);
}
h1{
    color: var(--title-color);
}
.highlight {
    color: var(--theme-color);
}
.logo_title{
    display:flex;
    align-items: center;
    gap: 2rem;
}
nav{
    width: 30vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
nav a {
    font-size: 1.2rem;
}
a {
  text-decoration: none;
  color: var(--link-color);
}
a:hover {
  color: var(--select-color);
}
.logo {
    width: 250px;
    width: 20vw;
    object-fit: cover;
}
.active {
    color: var(--theme-color) !important;
}
table {
    margin: 0 auto;
    border-collapse: collapse;
    width: 90%;
}

th {
    font-weight: bold;
}
th,td {
    padding: 5px;
}
td {
    border-top: 1px solid rgba(0, 0, 0, 0.24);
}
footer {
    margin-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 3rem;
    background-color: var(--theme-color);
    color: var(--footer-text-color);
}
footer a {
    color: var(--footer-text-color);
}

    strong{
        color: rgb(229, 77, 77);
    }
    .create form, .update form {
        display: grid;
        grid-template-columns: 20% 1fr 1fr;
        gap: 10px;
        width: 50%;
        margin: 0 auto;
    }
    label {
        grid-column: 1;
        align-self: center;
    }
    input[type="text"], input[type="email"], input[type="number"], input[type="date"]{
        grid-column: 2 / span 2;
        padding: 1rem;
        
    }
   
    input[type="submit"] {
        grid-column: 2 ;
        width: 5rem;
        height: 2rem;
        margin-left: 1rem;
        background-color: var(--theme-color);
        color: white;
        border: none;
        border-radius: 35px;
      
    }
    table {
        margin-top: 2rem;
    }
    form a {
       grid-column: 3;
       width: 100%;
       background-color: rgb(199, 199, 199);
       border-radius: 2px;
       border: 1px solid gray;
       text-align: center;
       text-decoration: none;
       color: black;

    }
    .pridaj-zaznam {
        font-size: 1.3rem;
    }
    .pridaj-zaznam img {
        width: 25px;
    }
    table img {
        width: 25px;
    }
    .pridaj-zaznam-form {
        display: flex;
        align-items: center;
    }
    .search-label{
        display: flex;
        align-items: center;
        font-size: 1.3rem;
    }   
    .search-label span {
        margin-left: 5px;
    }
    #typed {
        margin-left: 1rem;
    }
    .pridaj-zaznam-form img{
    width: 25px;
    }
    .create, .update {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }
    .create form input, .update form input {
        height: 40px;
    }
    .create h1{
        margin: 0 auto;
    }
    .create strong, .update strong {
        margin: 0 auto;
        font-size: 1rem;
    }
    .button, .create input[type="submit"], .update input[type="submit"] {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100px;
        margin: 0 auto;
        margin-top: 1rem;
    }
    .button {
        border: none;
        border-radius: 5px;
    }
    td{
        text-align: center;
    }