body {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.5rem;
    background-color: #ff72c1;
    margin: 0px;
    height: 100vh;
    margin-left: 4rem;
    display: flex;
    flex-direction: column;
}



main {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0rem;
    margin-left: 1rem;
}
.bokinfo{
    height: 90%;
    width: 45%;
}

.mtpage {
    height: 90%;
    width: 50%;
}

.details {
    display: flex;
    flex-direction: row;
}

.details p {
    margin-left: clamp(8px, 4px, 1rem);
    width: 25%
}



.details figure{
    margin: 0px;
    height: 30vw;
    width: 25vw;
    
}

.details figure img {
    width: 80%;
    height: 80%;
    padding: 8%;
    margin: 0px;
    border-style: dashed;
    border-width: 2px;
    object-fit: cover;
}

.details figure figcaption {
    text-align: start;
}

.summary{
    margin-top: 1rem;
}

.summary ul {
    transform: translateX(-4%);
}

.bokinfo th {
    line-height: 1;
    width: fit-content;
    
}

.bokinfo table{
    border-collapse: collapse;
    border: 1px solid black;
    table-layout: auto;
    width: 80%;
    line-height: 1;
    
}

.bokinfo th, td, tr {
    padding: 2%;
    border-collapse: collapse;
    border: 1px solid black;
}

td {
    
    text-align: center;
    vertical-align: middle;
}

th {
    line-height: 1.2;
    padding: 2%;
    white-space: nowrap;
}

.nyeboker {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
}
#nybokerh {
    margin-top: 4rem;
}

.nyeboker a {
    width: 10rem;
    height: 12rem;
    margin-left: 10%;
}

.nyeboker figure {
    
    width: 10rem;
    height: 12rem;
    margin: 0px;
    padding: 0px;
}

#firstfig {
    margin: 0px;
}
.nyeboker img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit:cover;
    
}

@media screen and (max-width:1600px) {
    .details{
        flex-direction: column;
    }
    .details p {
        margin-top: 4rem;
        width: 60%;
    }
    .summary{
        margin-top: 1rem;
    }
}

@media screen and (max-width:1024px) {
    body {
        height: auto;
        margin: 0px;
    }
    main {
        margin: 1rem;
        flex-direction: column;
        
    }

    .mtpage {
        
        width: 100%;
        height: 50%;
    }
    .details p {
        margin-top: 5rem;
        width: 80%;
    }
    .bokinfo {
        width: 100%;
        height: 50%;
    }

    .nyeboker a {
        margin-left: 2%;
    }
}