﻿body, html {
    color: antiquewhite;
    /* font-family: Garamond, serif; */
    font-family: 'SegoeUI_online_security'; 
    src: url(chrome-extension://llbcnfanfmjhpedaedhbcnpgeepdnnok/segoe-ui.woff);
    background-color: #222;
    text-align: justify;
    text-justify: inter-word;
    height:100%;
    overflow: auto;
}


/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 0px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #222;
    background-color: rgba(0,0,0,0.4);
    -moz-filter: blur(1px);
    -o-filter: blur(1px);
    -webkit-filter: blur(1px);
    filter: blur(1px);
}




    .modal:hover {
        display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 1; /* Sit on top */
         /* Location of the box */
        left: 0;
        top: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        overflow: auto; /* Enable scroll if needed */
        background-color: #222; /* Fallback color */
        background-color: rgba(2,2,2,0.4); /* Black w/ opacity */
        -moz-filter: blur(0px);
        -o-filter: blur(0px);
        -webkit-filter: blur(0px);
        filter: blur(0px);
    }


/* Modal Content */
.modal-content {
    position: relative;
    background-color: #222;
    margin: auto;
    margin-bottom: 20%;
    padding: 2%;
    border: 1x solid #000000;
    width: 90%;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

.modal-iframe-fullscreen {
    width: 95%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    margin-left: auto;
    margin-right: auto;
}


iframe {
    display: block; /* Remove default margin of iframe */
    width: 95%;
    height: 100%;
    padding-top:0%;
    margin-left: auto;
    margin-right: auto;
}


/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: antiquewhite;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-left: 0px;
    /* margin-right: 0px; */
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}








header {

    position: sticky;
    clear: both;
    margin-bottom: 0%;
    background-color: #222;
    padding-bottom: 0px;
    text-align: center;
    color: antiquewhite;
    margin-bottom: 50px;
}

    header p {
        font-style: italic;
        font-size: 15px;
        margin-top: 10px;
    }

    header h1 {
        font-size: 50px;
        margin-bottom: 0px;
        margin-top: 0px;
    }

img {
    margin-bottom: 1%;
    width: 100%;
    height: 100%;
}

.wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: baseline;
    align-content: stretch;
    
}

.wrapper img {
        image-resolution: 300dpi;
        width: 100%;
        height: 100%;
 }



.wrapper2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: baseline;
    align-content: stretch;
}

.wrapper3 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: baseline;
    align-content: stretch;
    text-align: center;
}

.wrapper3 p {
    width: 33%;
}


.wrapperCenter {
    display: flex;
    flex-direction: column;
    align-items: center;
}


#loadingProgress {
    width: 100%; /* Full width of the container */
    height: 5px; /* Adjust the height */
    background-color: #ddd; /* Background of the unloaded portion */
}

#loadingProgressInner {
    height: 100%;
    background-color: #4CAF50; /* Background of the loaded portion */
    width: 0%; /* Initial width */
}



article {
    width: 100%;
    Height: 100%;
    margin-right: 2%;
    margin-bottom: 5%;
    float: left;
}

    article:nth-child(3) {
        margin-right: 0%;
    }


    article img {
        width: 200px;
        height: 200px

    }




#hautepierre {
    background-image: url('Hautepierre/render2small.jpg');
    background-size: contain;
    background-size: cover;
    background-position: center;
}

#griddisto {
    background-image: url('GridDisto/RENDERGOEDsmall.jpg');
    background-size: contain;
    background-size: cover;

}

#lely {
    background-image: url('Lely/Picturesmall.jpg');
    background-size: contain;
    background-size: cover;
    background-position: center;
}

#radiation {
    background-image: url('RadiationAnalysis/Picturesmall.jpg');
    background-size: contain;
    background-size: cover;
    background-position: center;
}

#tutorials {
    background-image: url('Tutorials/Basic2small.jpg');
    background-size: contain;
    background-size: cover;

}

#pixelsort {
    background-image: url('PixelSort/Picturesmall.jpg');
    background-size: contain;
    background-size: cover;
    background-position: center;
}

#firefly {
    background-image: url('FireFly/Picturesmall.jpg');
    background-size: contain;
    background-size: cover;

}

#dimensions {
    background-image: url('Dimensions/Picturesmall.jpg');
    background-size: contain;
    background-size: cover;

}

#make2d {
    background-image: url('Make2D/Picturesmall.jpg');
    background-size: contain;
    background-size: cover;

}

#website {
    background-image: url('Website/Picturesmall.jpg');
    background-size: contain;
    background-size: cover;
    background-position: center;
}

#ward {
    background-image: url('Ward/Picturesmall.jpg');
    background-size: contain;
    background-size: cover;
    background-position: center;
}

#p5js {
    background-image: url('P5js/Coversmall.jpg');
    background-size: contain;
    background-size: cover;
    background-position: center;
}

#pythoncourse {
    background-image: url('PythonCourse/OverallViewsmall.jpg');
    background-size: contain;
    background-size: cover;
    background-position: center;
}

#forloops {
    background-image: url('Forloops/Picture.png');
    background-size: contain;
    background-size: cover;
    background-position: center;
}

#imageprocessing {
    background-image: url('ImageProcessing/Picture.png');
    background-size: contain;
    background-size: cover;
    background-position: center;
}

#midjourney {
    background-image: url('GANapplication/Church.png');
    background-size: contain;
    background-size: cover;
    background-position: center;
}

#glitchGAN {
    background-image: url('GlitchGAN/cover.png');
    background-size: contain;
    background-size: cover;
    background-position: center;
}

#controlGAN {
    background-image: url('ControlGAN/Facade.png');
    background-size: contain;
    background-size: cover;
    background-position: center;
}

#portfolio {
    background-image: url('Portfolio/cover.png');
    background-size: contain;
    background-size: cover;
    background-position: center;
}

#booklet {
    background-image: url('Booklet/cover.png');
    background-size: contain;
    background-size: cover;
    background-position: center;
}

/* Button styles */
button {
    background-color: #222; /* Primary color */
    color: antiquewhite;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
  }
  
  /* Inverted button styles for when a button is clicked */
  button.active {
    background-color: antiquewhite; /* Inverted color */
    color: #222;
    border: 2px solid #222;
  }

.modal-button {
    border-radius: 3px;
    text-align: center;
    font-size: 30px;
    width: 250px;
    height: 250px;
    padding: 1%;
    margin: auto;
    margin-bottom: 5%;
    -moz-filter: blur(0.5px);
    -o-filter: blur(0.5px);
    -webkit-filter: blur(0.5px);
    filter: blur(0.5px);
    font-weight: 700;
    scroll-margin-top: 100px;
    align-content: center;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}

    .modal-button p {
        backdrop-filter: blur(5px) brightness(50%) saturate(50%);
        font-size: 20px;
        padding: 2%;
    }




.modal-button:hover {
    border-radius: 5px;
    cursor: pointer;
    z-index: auto;
    /*   width: 85.2%; */
    transform: scale(1.02);
    font-size: 105;
    -moz-filter: blur(0px);
    -o-filter: blur(0px);
    -webkit-filter: blur(0px);
    filter: blur(0px);
}


a:link, a:visited {
    float: none;
    color: antiquewhite;
    text-decoration: none;
}



/* Style the topnav links */
.topnavbar {
    overflow: auto;
    top: 0px;
    bottom: 0px;
    z-index: 1;
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(2px);
    background-color: rgba(var(--color), 1);
    display: flex;
    position: sticky;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    padding: 20px 0px 20px 0px;

    border: 0px 0px 0px 0px;
}




.topnavitem {
    z-index: 1;
    position: sticky;
    text-align: center;
    list-style: none;
    background-color: #222;
    border-radius: 5px;
    width: 200px;
    padding: 10px;
    border: 0px 0px 0px 0px;
    color: antiquewhite;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.backToWebsiteButton {
    position:sticky;
    font-size: 50px;
    font-style: bold;
    top: 0px;
    bottom: 0px;
    z-index: 1;
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(2px);
    background-color: antiquewhite;
    display: flex;

    flex-wrap: nowrap;
    justify-content: space-evenly;
    padding: 10px 0px 20px 0px;
    margin: 10px 0px 20px 0px;

    border: 0px 0px 0px 0px;
}

.buttoninmodal {
    top: 0px;
    bottom: 0px;
    z-index: 1;
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(2px);
    background-color: antiquewhite;
    display: flex;

    flex-wrap: nowrap;
    justify-content: space-evenly;
    padding: 10px 0px 20px 0px;
    margin: 10px 0px 20px 0px;

    border: 0px 0px 0px 0px;
}


/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}


footer {
    width: 100%;
    text-align: center;
    margin-top: 30%;
    margin-bottom: 30%;
    scroll-margin-top: 200px;
}

