Current directory: /home/klas4s23/domains/585455.klas4s23.mid-ica.nl/public_html/Gastenboek/uploads
.villaContainer {
margin: 10px;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 300px 1fr 1fr;
gap: 0px 0px;
grid-auto-flow: row;
grid-template-areas:
"main main main"
"fotos fotos side"
"fotos fotos side";
}
.main {
grid-area: main;
background-color: var(--primary-color);
color: var(--text-color-light);
padding: 1rem;
display: flex;
flex-direction: row;
height: fit-content;
border-radius: 5px;
}
.main img {
height: auto;
max-width: 400px;
max-height: 250px;
}
.main #mainContent {
margin-left: 1rem;
}
.side {
grid-area: side;
}
.side .infoBlock .details,
.side .infoBlock .actions {
display: flex;
flex-direction: column;
margin: 1rem;
background-color: var(--primary-color);
}
.side .infoBlock .details div {
display: flex;
flex-direction: row;
margin: 10px 0px 0px 10px;
}
.side .infoBlock .details div img {
width: 2rem;
height: 2rem;
margin-right: 1rem;
}
.side .infoBlock .actions {
display: flex;
flex-direction: column;
padding: 10px;
}
.side .infoBlock .actions button {
margin: 10px;
padding: 10px;
border-radius: 5px;
color: var(--text-color-light);
}
.side .infoBlock .actions button#flyerButton {
background-color: var(--secondary-color);
}
.side .infoBlock .actions button#confirmRequestButton,
.side .infoBlock .actions button#moreInfoRequestButton {
background-color: var(--accent-primary);
}
.fotos {
grid-area: fotos;
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.fotos img {
max-height: 25vh;
max-width: 25vw;
margin: 0px 10px 10px 0px;
}
@media (max-width: 768px) {
.villaContainer {
display: flex;
flex-direction: column;
}
.main {
display: flex;
flex-direction: column;
}
.main img {
height: auto;
max-width: 100%;
}
.fotos img {
max-width: none;
max-height: none;
width: 100%;
height: auto;
}
}
.disabled {
pointer-events: none;
opacity: 0.5;
}
.disabled:hover {
cursor: not-allowed;
}