body{
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.recensies-main{
    max-width: 80rem;
    margin-inline:auto;
    padding-inline: 1rem;
}

.card{
    border-radius: 1rem;
    width: 100%;
    max-width: 40rem;
    margin-block:2rem;
    
    border: solid 1px oklch(0% 0 0/40%);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items:left;
    box-shadow: 0.5rem 0.5rem 1.5rem oklch(0% 0 0/30%);

    h1{
        text-align: center;
        margin-block-end: 2rem;
    }
        
    div{
        margin-block:1rem;
        margin-inline:1rem; 
    }
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    }

button, input[type="submit"], input[type="button"] {
    margin-block: 1rem;
    margin-inline:5rem;
    color:var(--bg);
    background-color: var(--hbcolor);
    padding: 0.5rem 0.5rem;
    border-radius: 0.5rem;
    display: inline-block;

    &:hover {
        background-color: var(--navcolor);
        transition: all 0.3s ease;        
        }
}

.box{
    display: flex;
    flex-direction: column;
    min-width: 12rem;
    width: 100%;
}

ul{
    padding:0rem;
}

/* CONTAINER VOOR RECENSIES */
.rec-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    border: solid 1px oklch(0% 0 0/40%);
    border-radius: 1rem;
    box-shadow: 0.5rem 0.5rem 1.5rem oklch(0% 0 0/30%);
    padding: 1rem;
    margin-bottom: 2rem;
}

/* LINKERKANT (tekst) */
.rec-left {
    flex: 1;
    padding-right: 1rem;
    max-width: 51rem;

    strong{
        line-height: 3rem;
    }
}

/* RECHTERKANT (foto) */
.rec-right {
    max-width:calc(100%-51rem) ;      
    border-radius: 0 1rem 1rem 0;

    img{
        max-width: 100%;
        max-height: 10rem;
    }
}

.stars {
    color: oklch(0.7848 0.1811 95.3305);
    font-size: 1.2em;
    }

.THX {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;       
    min-height: 60vh;         
    text-align: center;

    p{
        font-size: 7rem;
        font-weight: bold;
    }
}

#debug{
    border-width: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: 0;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    padding: 0;
}

.links{
    display: flex;
    flex-direction: row;

    a{
        font-size: 1.2rem;
    }
}

.home{
    margin-block: 1rem;
    margin-inline:5rem;
    color:var(--bg);
    background-color: var(--hbcolor);
    padding: 0.5rem 0.5rem;
    border-radius: 0.5rem;
    display: inline-block;

    &:hover {
        background-color: var(--navcolor);
        transition: all 0.3s ease;        
        }
}

a{
        text-decoration: none;
    }


@media (min-width: 40em) {
    .card {
        width: 100%;
        margin-block: 3rem;
        margin-inline: auto;
        padding-block: 2rem;

       div{
        margin-inline:5rem;
       }
    }

    .rec-right{
        max-height: 15rem;
        padding:1rem;
        
        img{
            max-width: 20rem;
        }
    }

    .THX {
        font-size: 1.6rem;
        min-height: 70vh;
    }
}

@media (min-width: 50em) {
    .rec-item {
        flex-direction: row;
    }
}

@media (min-width: 60em) {
    .card {
        width: 80%;
        margin-block: 4rem;
        padding-block: 3rem;
    }
    .THX {
        font-size: 2rem;
        min-height: 100vh;
    }
    .rec-left{
        max-width: 50rem;
        margin-inline-start: 1rem;
    }

    .rec-right{
        img{
            max-width: 29rem;
        }
    }
}
