* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

h1 {
    margin-top: 3vh;
    margin-bottom: 0.3rem;
}
h2 {
    margin-top: 3vh;
    margin-bottom: 0.3rem;
}

/* css header */
header {
    position: sticky;
    top: 0;
    background-color: #cfc2a6;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px
}

header h1 {
    font-family: 'Lobster', cursive;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 0px;
}

#ondertitel{
    text-align: center;
    margin-top: -30px;
    font-style: italic;
    font-size: 0.8rem;
    margin-bottom: 25px;
}

.menu, .submenu {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 15px;
}

.menu a, .submenu a {
    font-weight: bold;
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
}

nav li {
    margin: 5px 10px;
}


nav a:hover {
    color: #4b3077;
}

nav a.active {
    color: #007BFF;
}

.hamburger, #menu-toggle {
    display: none;
}

.submenu {
    display: none;
    flex-direction: column;
    background: #d9d2b1;
    padding: 10px;
    margin: 0;
    border-radius: 8px;
    gap: 5px;
    position: absolute; 
}

.mijn-hobbys:hover .submenu {
    display: flex;
}

.mijn-hobbys > a{
    pointer-events: none;
}

.submenu li a {
    font-size: 14px;
    padding: 5px;
}
/* css footer */
footer {
    text-align: center;
    padding: 15px;
    background-color: #f8f8f8;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

/* css main */
main {
    max-width: 100%;
    padding: 0;
}
.main-text{
    text-align: center;
    padding: 15px;
    max-width: 1000px;
    margin: auto;
}
#main-textcontact{
    padding: 15px;
    max-width: 1000px;
    margin: auto;
}
#main-textfotogalerij{
    text-align: center;
    padding: 15px;
    max-width: 1500px;
    margin: auto;
}
.eerstetitel{
    text-align: center;
}
/* css banner */
.hobby-fotos{
    display: grid;
    margin-top: -5vh;
    margin-bottom: 2vh;
    grid-template-columns: repeat(4, 1fr);
}

.hobby-fotos img{
    width: 100%;       
    height: 30vh;      
    display: block;    
    object-fit: cover;
}
/* css home */
#kat, #kevin{
    width: 300px;
    max-width: 100%;
    margin-top: 15px;
    height: auto;
}
#lijst{
    list-style: none;
}
/* css gamen */
#pcvps5{
    max-width: 800px;
    height: auto;   
    margin-top: 15px;
}
.tekstlinks, .tekstlinksmening, .teksttitellinks{
    text-align: left;
}
.tekstrechts, .tekstrechtsmening, .teksttitelrechts{
    text-align: right;
}
.tekstlinks, .tekstrechts{
    margin-bottom: 10px;
}
.tekstlinksmening, .tekstrechtsmening{
    margin-bottom: 50px;
}
.game-figurerechts {
    float: right;   
    max-width: 220px;
    margin: 0 10px;
}
.game-figurelinks {
    float: left;
    max-width: 280px;
    margin: 0 10px;
}
.game-figurerechts img, .game-figurelinks img {
    width: 100%; 
    height: auto;    
    border-radius: 8px;
}

.game-figurerechts figcaption, .game-figurelinks figcaption, .game-mobiel figcaption {   
    text-align: center;
    font-weight: bold;
}

.game-mobiel {
    display: none;
}
/* css lezen */
#mangavsmanhwa{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 15px;
}
#mangavsmanhwa picture{
    flex: 1;
}
#mangavsmanhwa img{
    width: 300px;
    height: 700px;
}
#recom{
    list-style-position: inside;
}

#recom a:link, #recom a:visited, #recom a:hover, #recom a:active {
    color: black;
    text-decoration: none;
}
/* css series/films */
#netflix{
    max-width: 700px;
    height: auto;   
    margin-top: 15px;
}

#flex1, #flex2{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 15px;
    gap: 20px;
}

#flex1 figure, #flex2 figure{
    flex: 1;
}
#flex1 img, #flex2 img{
    max-width: 100%;
    width: 300px;  
    height: 400px;  
    object-fit: cover;  
    border-radius: 8px;
}

#flex1 figcaption, #flex2 figcaption{
    text-align: center;
    font-weight: bold;
}
/* css biljarten */
#biljart{
    max-width: 900px;
    height: auto;
    margin-top: 15px;
}
/* css tips */
.tips{
    list-style-position: inside;
    list-style-type: upper-roman;
}
.tips li::marker{
    font-weight: bold;
}
#kader{
    border: 2px solid red;    
    background-color: #ffe5e5;  
    border-radius: 8px;          
    margin: 20px 0;
    padding-bottom: 50px;
}
#algemeen{
    padding-bottom: 15px;
    margin-top: 15px;
}
/* css fotogalerij */
#expedition33{
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    grid-template-rows: auto auto auto;
    margin: 0 auto;
}
#expedition33 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#exp1{
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 2;
}
#exp2{
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 4;
}
#exp4{
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 3;
    grid-row-end: 4;
}
#exp3{
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 2;
    grid-row-end: 3;
}
#arc{
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    grid-template-rows: auto auto auto auto;
    margin: 0 auto;
}
#arc img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#arc1{
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 2;
}
#arc5{
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
}
#arc2{
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 2;
    grid-row-end: 5;
}
#arc4{
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 4;
}
#arc6{
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 4;
    grid-row-end: 5;
}
#overwatch2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    margin: 0 auto;
}
#overwatch2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#ow1{
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
}
#ow2{
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
}
#ow3{
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
}
#monsterhunterwilds{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    margin: 0 auto;
}
#monsterhunterwilds img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#mh1{
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
}
#mh2{
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
}
#mh3{
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 4;
}
#mh4{
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 4;
    grid-row-end: 5;
}
#mh5{
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 5;
}
#arkascended{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    margin: 0 auto;
}
#arkascended img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#ark1{
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
}
#ark2{
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 2;
    grid-row-end: 3;
}
#ark3{
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 4;
}
#ark4{
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 3;
    grid-row-end: 4;
}
#ark5{
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 4;
    grid-row-end: 5;
}
#ark6{
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 4;
    grid-row-end: 5;
}
/* css contact */
#h2contact{
    text-align: center;
    margin: 0 0 30px 0;
}

#contact {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

#contact-form {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#contact-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#contact-form input, textarea, button {
    padding: 8px;
    font-size: 1rem;
}

#contact-form button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    font-size: 1rem;
}

#contact-form button[type="button"] {
    background-color: #6c757d;
}

#contact-info {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 350px;
}

#adres{
    display: flex;
    gap: 5px;
    align-items: flex-start;
}

#adres address{
    display: flex;
    flex-direction: column;
}

.contact-info h2 {
    margin-top: 0px;
}

@media screen and (max-width: 1000px) {
    /*gamen*/
    #pcvps5{
        max-width: 80vw;
    }
    .game-figurelinks, .game-figurerechts{
        max-width: 25vw;
    }
    /*lezen*/
    .mangavsmanhwa img{
        max-width: 35vw;
        height: 70vw;
    }
    /*series&films*/
    #netflix{
        max-width: 80vw;
    }
    /*biljart*/
    #biljart{
        max-width: 80vw;
    }

}

@media screen and (max-width: 768px) {
    /*contact*/
    #contact {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #contact-form,
    #contact-info {
        max-width: 100%;
        width: 90%; 
    }

    #contact-form{
        text-align: left;
    }

    #adres {
        justify-content: center;
    }

    /*menu*/
    .eerstetitel{
        margin-top: 15px;
    }

    .menu{
        flex-direction: column;
        background-color: #cfc2a6;
        width: 200px;          
        position: absolute;
        top: 60px;
        right: 20px;
        padding: 10px;
        border-radius: 10px;
        display: none;          
    }

    #menu-toggle:checked ~ nav ul.menu {
        display: flex;
    }

    .hamburger {
        display: block;
        position: absolute;
        top: 30px;       
        right: 20px;     
        font-size: 32px;
        cursor: pointer;
    }

    .hobby-fotos{
        display: none;
    }
    /*gifs*/
    #kat, #kevin{
        width: 40vw;
    }
    /*lezen*/
    #mangavsmanhwa{
        gap: 20px;
    }
}

@media screen and (max-width: 640px){
    /*home*/
    #kat{
        max-width: 150px;
    }
    /*gamen*/
    .game-figurelinks, .game-figurerechts{
        display: none;
    }

    .teksttitellinks, .teksttitelrechts, 
    .tekstlinks, .tekstrechts, .tekstlinksmening, .tekstrechtsmening {
        text-align: center;
    }

    .game-mobiel {
        display: block;
        margin-top: 20px;
    }

    .game-mobiel img{
        max-width: 50vw;
        border-radius: 8px;
    }

    /*lezen*/
    #recom{
        text-align: left;
    }

    /*series&films*/
    #kevin{
        max-width: 200px;
    }

    /*tips*/
    .tips{
        text-align: left;
    }
    
}