/*Edija css fails*/
.navbar{
    margin: 10px;
    height: 70px;
}
.navbar_logo{
    height: 64px;
}
.virsraksts{
    text-align: center;
    margin-bottom: 30px;
    margin-top: 30px;
}
#footer {
    position: relative;
    margin-top: auto;
    width: 100%;
    
}
#pieregistret{
    height:50px;
    color: #fff;
    background-color: #d1731b;
    border: 5px #d1731b;
    border-radius: 5px;
}
#pieregistret:hover{
    size: 40px;
    background-color: #000;
}
/*Rainera css fails*/
header {
    background-color: #f8f9fa; 
    color: #000;
    padding: 10px 20px;
    display: flex; 
    justify-content: space-between;
}

body {
    height: 110vh;
    background-image: linear-gradient(339deg, rgba(47, 47, 47,0.02) 0%, rgba(47, 47, 47,0.02) 42%,transparent 42%, transparent 99%,rgba(17, 17, 17,0.02) 99%, rgba(17, 17, 17,0.02) 100%),linear-gradient(257deg, rgba(65, 65, 65,0.02) 0%, rgba(65, 65, 65,0.02) 11%,transparent 11%, transparent 92%,rgba(53, 53, 53,0.02) 92%, rgba(53, 53, 53,0.02) 100%),linear-gradient(191deg, rgba(5, 5, 5,0.02) 0%, rgba(5, 5, 5,0.02) 1%,transparent 1%, transparent 45%,rgba(19, 19, 19,0.02) 45%, rgba(19, 19, 19,0.02) 100%),linear-gradient(29deg, rgba(28, 28, 28,0.02) 0%, rgba(28, 28, 28,0.02) 33%,transparent 33%, transparent 40%,rgba(220, 220, 220,0.02) 40%, rgba(220, 220, 220,0.02) 100%),linear-gradient(90deg, rgb(255,255,255),rgb(255,255,255));
    display: flex;
    flex-direction: column;
}
 
.button-izvelne {
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 30px; 
    height: 20px; 
    z-index: 999; 
    position: relative; 
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 2px; 
}
 
.button-izvelne select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.dropdown {
    position: relative;
    display: inline-block;
    margin-right: 20px; 
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 1;
    left: 0; 
    top: 100%;
    width: 200px; 
}

.dropdown-content button,
.dropdown-content label {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    background-color: transparent;
    border: none;
    width: 100%; 
    text-align: left;
    font-weight: normal;
}

.dropdown-content button:hover {
    background-color: #f1f1f1;
    cursor: pointer;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* Custom style for the "Meklēt" button */
#btn-apskatit {
    background-color: #d1731b; /* Orange background color */
    border-color: #d1731b; /* Orange border color */
    color: #fff; /* White text color */
}

#btn-apskatit:hover {
    background-color: #000; /* Dark background color on hover */
    border-color: #000; /* Dark border color on hover */
}

.button-container {
    display: block;
}
 
.show {
    display: block;
}
 
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 5vw;
    padding: 0;
    list-style-type: none;
  }

.card {
    position: relative;
    display: block;
    height: 100%;  
    border-radius: calc(var(--curve) * 1px);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s;
  }

.card:hover {
    transform: scale(1.05);
    cursor: pointer;
}
 
.card-text{
    font-size: 35px;
}
.card-img-top {
    background-color: #ccc;
    width: 420px;
    height: 256px;
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); 
    opacity: 0;
    transition: opacity 0.3s ease;
}

 
.card:hover .btn-apskatit {
    opacity: 1;
    cursor: pointer;
}

.message-box {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #ffcccc;
    color: #333;
    padding: 10px;
    border-radius: 5px;
    display: none;
    z-index: 9999;
}

.button-izvelne {
    margin-top: 0px;
    margin-right: 10rem;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center; 
    flex-grow: 1; 
    margin-top: 20px;
}

.logo-container:hover {
    cursor: pointer;
}

/*Rinalda css fails*/
.image-container {
    width: 100%; 
    height: 0;
    padding-top: 56.25%; 
    background-size: cover;
    background-position: center;
}

.info-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.image-box {
    width: 800px;
    height: 500px;
    border: 1px solid rgba(204, 204, 204, 0.5);
    background-color: #ccc;
    display: flex;
    justify-content: center; 
    align-items: center; 
    overflow: hidden;
}

.image-box img {
    width: auto; 
    height: auto;
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
}
