body {
    margin: 0;
    padding: 0;

    color: #424346;
}



/* HEADER */
body header {
    position: relative;
    height: 100vh;
    width: 100%;
    border-radius: 0 0 25px 25px; 
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(105, 105, 105, 0) 181.47%),
    url(/images/Huis-10.jpeg) no-repeat; 
    background-size: cover;
    box-shadow: 0 10px 30px -18px #000000;
}

body header nav ul {
    margin: 0;
    list-style-type: none;

    display: flex;
    flex-direction: row;
    justify-content: end;
}

body header nav ul li {
    margin: 1em 2em 0em 2em;
}

body header nav ul li button {
    padding: 1em 2em;
    border: none;
    background-color: #495A47;
    border-radius: 5px;

    color: white;
    font-family: "Libre Baskerville";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;    
}

body header nav ul li button:hover {
    background-color: #7f8b7e;
    transition: 300ms;
}



/* TITEL */
body header img {
    margin: 10em 0 0 5em;
    width: 30%;
    filter: invert(100%) sepia(0%) saturate(100%) hue-rotate(180deg) brightness(200%) contrast(100%);
}



@keyframes appear {
    from {
        opacity: 0;
        scale: 0.75;
    }
    to {
        opacity: 1;
        scale: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}



/* MAIN */
main h2 {
    color: #292929;
    font-family: "Libre Baskerville";
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

main p {
    color: #292929;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}



/* SECTION 1 */
.section1 {
    position: relative;
    box-shadow: 0 10px 30px -25px #000000;
}

.intro {
    margin: 0 15% 0 15%;
    padding: 10% 0 10% 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 25px;

    animation: fadeIn ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

.intro h2 {
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 2;

    margin: 0;
}

.intro p {
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 4;

    margin: 15% 5% 0 0;
}

.intro img {
    border-radius: 10px;
    object-fit: cover;
    width: 100%;
}

.intro img:nth-of-type(1) {
    grid-column-start: 4;
    grid-column-end: 6;
    grid-row-start: 1;
    grid-row-end: 2;
}

.intro img:nth-of-type(2) {
    grid-column-start: 4;
    grid-column-end: 5;
    grid-row-start: 2;
    grid-row-end: 4;
}

.intro img:nth-of-type(3) {
    grid-column-start: 5;
    grid-column-end: 6;
    grid-row-start: 2;
    grid-row-end: 4;
}



/* SECTION 2 */
.section2 {
    background: #E8E5D8;
}

.fotoGrid {
    margin: 0 15% 0 15%;
    padding: 10% 0 10% 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.fotoGrid img {
    border-radius: 10px;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;

    animation: fadeIn ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}



/* SECTION 3 */
.section3 {
    position: relative;
    box-shadow: 0 0 30px -15px #000000;
}

.kamers {
    margin: 0 15% 0 15%;
    padding: 10% 0 10% 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr 1fr 1fr;
    gap: 25px;
}

.kamers h2 {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;

    justify-self: center;

    animation: fadeIn ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

.kamers div:nth-of-type(1) {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 2;
    grid-row-end: 3;

    animation: fadeIn ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}

.kamers div:nth-of-type(2) {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 3;
    grid-row-end: 4;

    animation: fadeIn ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}

.kamers div:nth-of-type(3) {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 4;
    grid-row-end: 5;

    animation: fadeIn ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}

.kamers div {
    background-color: #E8E5D8;   
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 2fr;
    grid-template-rows: auto auto auto;
    gap: 25px; 
    border-radius: 25px;
}

.kamers div:nth-of-type(1) img:nth-of-type(1) {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 4;
}

.kamers div:nth-of-type(1) img:nth-of-type(2) {
    grid-column-start: 3;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 4;
}

.kamers div:nth-of-type(2) img:nth-of-type(1) {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 4;
}

.kamers div:nth-of-type(2) img:nth-of-type(2) {
    grid-column-start: 3;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 4;
}

.kamers div:nth-of-type(3) img:nth-of-type(1) {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 4;
}

.kamers div:nth-of-type(3) img:nth-of-type(2) {
    grid-column-start: 3;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 4;
}

.kamers div img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;

    border-radius: 10px;
    margin: 25px;
}



/* SECTION 4 */
.section4 {
    margin: 0;
    background-color: #233F61;

    position: relative;
    align-items: center;
    box-shadow: 0 -10px 30px -15px #000000;
}

.swiper {
    padding: 10% 0 10% 0;
    max-width: 70%;
    text-align: center;

    animation: fadeIn ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

.swiper h2 {
    color: #FFFFFF;
    margin-top: 0;
}

.swiper p {
    color: #FFFFFF;
    margin-bottom: 5%;
}

.swiper-slide {
    border-radius: 25px;
    background-color: #FFFFFF;

    display: flex;
    flex-direction: column;
}

.swiper-slide h3 {
    color: #424346;
    font-family: "Libre Baskerville";
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    margin-top: 5%;
}

.swiper-slide p {
    color: #424346;
    margin: 0 10% 5% 10%;
}

.swiper-slide .details {
    max-width: 25%;
    max-height: 15%;
    margin-bottom: 3%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: 1fr 1fr 1fr;
    column-gap: 5%;
    justify-self: center;
    text-align: left;
}

.swiper-slide .details img {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 4;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.swiper-slide .details .name {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
    margin: 5px 0 0 3px;
}

.swiper-slide .details .date {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
    margin: 0 0 2px 3px;
    align-self: center;
}

.swiper-slide .details .sterren {
    margin: 0 0 0 0;
}

.swiper-pagination {
    margin: 0 0 10% 0;
}

.swiper-button-prev {
    left: 180px;
    transform: translateY(75px);
}

.swiper-button-next {
    right: 180px;
    transform: translateY(75px) rotate(180deg);
}



/* SECTION 5 */
.section5 {
    background: #E8E5D8;
}

.contact {
    margin: 0 15% 0 15%;
    padding: 10% 0 5% 0;

    display: flex;
    flex-direction: column;

    animation: fadeIn ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

.contact h2 {
    text-align: center;
    margin-top: 0;
}

.contact p {
    text-align: center;
    margin-bottom: 1%;
}

.contact p:nth-of-type(2) {
    margin: 0 0 5% 0;
}

.contact h3:nth-of-type(2) {
    font-weight: 500;
}

.contact textarea {
    width: 40%;
    height: 175px;
    padding: 25px;
    border-radius: 10px;
    border: none;
    resize: none;
    vertical-align: top;
    align-self: center;

    color: #292929;
    font-family: Karla;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.contact textarea:focus {
    outline: none;
}

.contact button {
    margin: 25px 0 0 0;
    padding: 1em 2em;

    align-self: center;
    justify-self: center;
    border: none;
    border-radius: 5px;

    background-color: #233F61;

    color: white;
    font-family: "Libre Baskerville";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;  
}

.contact button:hover {
    background-color: #657890;
    transition: 300ms;
    cursor: pointer;
}

.socials {
    margin: 0 35%;
    padding: 0 0 10% 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    justify-self: center;
}

.socials svg {
    margin: 0 2em;
    cursor: pointer;
}

.socials svg:hover path {
    fill: #657890;
    transition: 300ms;
}



/* FOOTER */
footer {
    background-color: #424346;
}

.info {
    margin: 0 15% 0 15%;
    padding: 5% 0 5% 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
}

.info article svg {
    align-self: center;
}

.info article:nth-of-type(2) svg {
    margin-bottom: 10px;
}

.info article:nth-of-type(4) svg {
    padding-bottom: 10px;
}

.info article {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.info article h3 {
    justify-self: center;
    color: #FFFFFF;
    margin-bottom: 4%;

    font-family: "Libre Baskerville";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.info article p {
    color: #FFFFFF;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}


footer p {
    color: #FFFFFF;
    margin: 0;
    padding-bottom: 2%;
    justify-self: center;
}

@media (max-width: 1024px) {
    body header {
        height: auto;
        min-height: 100vh;
        padding-bottom: 4rem;
    }

    body header nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 1rem 1rem 0;
    }

    body header nav ul li {
        margin: 0.5rem;
    }

    body header nav ul li button {
        padding: 0.9rem 1.5rem;
        font-size: 18px;
    }

    body header img {
        display: block;
        width: min(280px, 70%);
        margin: 6rem auto 0;
    }

    .intro,
    .fotoGrid,
    .kamers,
    .contact,
    .socials,
    .info {
        margin: 0 8%;
    }

    .intro {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .intro h2,
    .intro p {
        grid-column: 1 / -1;
    }

    .intro p {
        margin: 1.5rem 0 0;
    }

    .fotoGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .swiper {
        max-width: 90%;
    }

    .swiper-button-prev {
        left: 40px;
    }

    .swiper-button-next {
        right: 40px;
    }

    .info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    main h2 {
        font-size: 32px;
    }

    main p {
        font-size: 18px;
    }

    .intro {
        padding: 4rem 0;
        grid-template-columns: 1fr;
    }

    .intro img {
        min-height: 220px;
    }

    .intro img:nth-of-type(1),
    .intro img:nth-of-type(2),
    .intro img:nth-of-type(3) {
        grid-column: auto;
        grid-row: auto;
    }

    .fotoGrid {
        grid-template-columns: 1fr;
        padding: 4rem 0;
    }

    .kamers {
        padding: 4rem 0;
    }

    .kamers div {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .kamers div img {
        margin: 1rem;
        grid-column: 1;
        grid-row: auto;
        aspect-ratio: 16 / 10;
    }

    .swiper {
        max-width: 100%;
        padding: 4rem 0;
    }

    .swiper-slide .details {
        max-width: 100%;
        justify-self: stretch;
        margin: 0 10% 5%;
        grid-template-columns: 80px 1fr;
        align-items: center;
    }

    .swiper-slide .details img {
        width: 64px;
        height: 64px;
    }

    .swiper-pagination {
        margin-bottom: 1.5rem;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    .contact {
        padding: 4rem 0 2rem;
    }

    .contact textarea {
        width: 90%;
        min-width: 0;
        padding: 1rem;
        font-size: 20px;
    }

    .socials {
        margin: 0 8%;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
        padding-bottom: 2rem;
    }

    .socials svg {
        margin: 0;
        width: 32px;
        height: 32px;
    }

    .info {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 0;
    }

    footer p {
        padding: 0 1rem 1.5rem;
        text-align: center;
    }
}

@media (max-width: 560px) {
    body header nav ul li button {
        padding: 0.8rem 1rem;
        font-size: 16px;
    }

    body header img {
        width: min(240px, 80%);
        margin-top: 4.5rem;
    }

    .intro,
    .fotoGrid,
    .kamers,
    .contact,
    .socials,
    .info {
        margin: 0 1rem;
    }

    .swiper-slide h3 {
        font-size: 24px;
    }

    .swiper-slide p {
        margin: 0 1rem 1rem;
    }

    .contact p {
        margin-bottom: 1rem;
    }

    .socials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
