/* basis kleuren om het meer variabel te maken*/
:root {
    --bg-color: white;
}

* {
    margin: 0;
    padding: 0;
}

main .hero {
    display: none;
}

.col-lg-8 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: none;
}

.main-container {
    background: var(--bg-color);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column;
    gap: 30px;
    margin: 20px;
    padding: 50px;
    border-radius: 0.25rem;
    border: 0;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
}

.image-generator {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

h1{
	display: none;
}

/*Larno CSS addition*/
.header1 {
    padding-bottom: 25px;
	display: flex;
    text-align: center;
    max-width: 1040px;
}

.par {
    max-width: 1040px;
    text-align: center;
    padding-bottom: 5px;
}

.container-buttons {
    position: relative;
    display: inline-flex;
    justify-content: space-around;
    padding: 10px;
    width: 650px;
    max-width: 100%;
    margin: 15px;
}

.btn {
    border: none;
    color: white;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    font-weight: 300;
    margin: 4px 2px;
    cursor: pointer;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    background-color: #fe4543;
}

.btn:hover {
    background-color: #e24543;
    color: white;
}

#btn4 {
    position: relative;
    display: inline-block;
    width: auto;
	border: none;
    color: white;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    font-weight: 300;
    margin: 4px 2px;
    cursor: pointer;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    background-color: #fe4543;
}

#btn4:hover {
    background-color: #e24543;
    color: white;
}

.native-dropdown {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 50%;
    top: 50%;
    left: 0;
    z-index: 10;
}

.dropdown-content {
    max-width: 100%;
    position: absolute;
    display: none;
    top: calc(100% - 14px);
    right: 0;
    width: 650px;
    z-index: 2;
    background-color: #ffffff;
    border-radius: 0.25rem;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    /*flex-wrap: nowrap;*/
}

.column {
    flex: 1;
    padding: 0.5rem;
}

.dropdown-content a {
    color: #535353;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content.active {
    display: flex;
}


.dropdown-content a::after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    background-color: #ff3333;
    transition: width 0.2s;
    margin-top: 2px;
}

.dropdown-content a:hover::after {
    width: 100%;
}

.arrow {
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
}

.native-dropdown {
    display: none;
}



/*Einde Larno CSS addition*/

/* CSS voor de prompt balk */

.form-bar {
    display: flex;
    align-items: center;
    background: none;
    padding: 0.75rem 1rem;
    border-radius: 0.2rem;
    width: 100%;
    height: calc(1.8em + 1.5rem + 2px);
    margin: 5px auto 40px auto;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.418);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    border: 1px solid #ebf1f5;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    color: #140d0d;
    font-family: inherit;
    outline-offset: -2px;
}

input[type="text"] {
    flex: 1;
    outline: none;
    height: 20px;
	line-height: 20px;
    border: none;
    background-color: rgb(red, green, blue);
    padding: 5px;
    padding-left: 20px;
    border-radius: 5px;
    font-size: 16px;
    border-bottom: none;
}

input[type="text"]:focus {
    outline: none;
    /* border-bottom: 2px solid blawck; */
}

input[type="text"]:read-write {
    outline: none;
    border: none;
}

.button {
    border: none;
    padding: 5px;
    padding-right: 10px;
    color: #535353;
    font-size: 18px;
    margin-left: 5px;
    background: transparent;
}

.button:hover {
    transform: scale(1.3);
    background-color: var(--element_color);
    color: #fe4543;
}

/* CSS voor het gegenereerde plaatje */
.image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    width: 80%;
    height: 35vw;
    transition: opacity 0.5s ease-in-out;
}

.image-container {
    position: relative;
    /* Required for overlay */
    width: 35vw;
    height: 35vw;
    border-radius: 0.25rem;
    box-shadow: 5px 5px 10px #535353;
    overflow: hidden;
}

.generated-image {
    background-color: white;
    width: 100%;
    height: 100%;
    transition: opacity 1s ease-in-out, transform 0.2s ease-in-out;
    cursor: pointer;
}

.generated-image.zoomed {
    transform: scale(1.1);
    /* Zoom effect on hover */
    transition: transform 0.2s ease-in-out;
    /* Transition for zoom effect */
}


/* overige CSS voor email form */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 3;
    /* Ensuring overlay is beneath the popup */
    opacity: 1;
    transition: opacity 0.1s ease;
}

/* Close button styling */
.close-btn {
    position: absolute;
    top: -3px;
    line-height: 40px;
    right: 9px;
    cursor: pointer;
    font-size: 35px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.close-btn:hover {
    opacity: 1;
    /* Make it fully visible on hover */
}

.email-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    overflow: hidden;
    background: white;
    max-width: 700px;
    width: 80vw;
    height: auto;
    border-radius: 0.2rem;
    box-shadow: 5px 5px 10px #535353;
    gap: 20px;
    opacity: 0;
    transition: opacity 1s ease;
}

.email-popup-left {
    max-width: 45%;
    display: flex;
    justify-content: center;
    padding-bottom: 10px;
    padding-top: 5px;
    align-items: left;
    flex-direction: column;
    gap: 5px;
}

.email-popup-image {
    width: 50%;
    height: auto;
}

.iubenda-embed:not(.iubenda-nostyle) {
    padding: 0px 0px !important;
    border: 0px !important;
    font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 1rem !important;
    font-weight: 300 !important;
    line-height: 1.8 !important;
    color: #140d0d;
    height: auto !important;
    font: caption;
    color: #ff3434 !important;
}

.email-form-bar {
    display: flex;
    align-items: center;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 10px;
    padding-right: 10px;
	border: 1px solid #dee2e6;
    border-radius: 35px;
    height: 50px;
    box-shadow: 4px 8px 10px rgba(0, 0, 0, 0.418);
}

input[type="email"] {
    flex: 1;
    outline: none;
    height: 20px;
	line-height: 20px;
    border: none;
    background-color: rgb(red, green, blue);
    padding: 5px;
    border-radius: 5px;
    font-size: 16px;
    border-bottom: none;
}

input[type="email"]:focus {
    outline: none;
    color: #535353;
}

input[type="email"]:read-write {
    outline: none;
    border: none;
}


/* aparte button voor email */
.button-email {
    border: none;
    padding: 5px;
    background-color: #fff0;
    color: #535353;
    font-size: 18px;
    margin-left: 5px;
}

.button-email:hover {
    transform: scale(1.3);
    color: #fe4543;
}

/* progress bar */

#progress-pocket {
    width: 100%;
    height: 15px;
    background-color: #535353;
    border-radius: 20px;
    border: rgb(0, 0, 0) 1px solid;
    margin-top: 30px;
}

#progress-bar {
    width: 1%;
    height: 13px;
    background: linear-gradient(to right, #bf0200, #fe4543);
    text-align: center;
    line-height: 10px;
    color: rgb(0, 0, 0);
    border-radius: 20px;
}

#content-container {
    display: flex;
    width: 100%;
    height: 30vw;
    align-items: center;
    justify-content: center;
	padding: 30px;
    border-radius: 0.25rem;
    border: 0;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
    gap: 40px;
    margin-bottom: 40px;
    transition: opacity 1s ease;
}

#loading-rotating-info {
    max-width: 350px;
}

#rotating-image {
    width: auto;
    height: 100%;
    border-radius: 0.25rem;
    border: 0;
    box-shadow: 3px 3px 6px #535353;
}

#loading-rotating-info {
	flex-grow: 1;
}

/* zoekfunctie css */
.project-recs {
    width: 100%;
    max-height: 450px;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease;
    position: relative;
    gap: 30px;
}

.project-recs-section-title {
    display: flex;
    opacity: 0;
    padding-bottom: 20px;
}

.project-rec {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30%;
    height: 100%;
    cursor: pointer;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-radius: 0.25rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out;
}

.rec-company {
    color: #adb5bd;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin: 10px;
    margin-bottom: 0px;
}

.rec-image {
    height: auto;
    width: 100%;
}

.project-title {
    font-size: 1.3rem;
    overflow: hidden;
    font-family: "Bodoni Moda", "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: -0.035em;
    line-height: 1.2;
    margin: 10px;
    margin-top: 0px;
    padding-bottom: 0.1em;
    color: black;
}

.rec-link:hover {
    text-decoration: none;
}

.rec-link:focus {
    text-decoration: none;
}

.project-rec:hover .rec-image {
    transform: scale(1.05);
    /* 10% zoom */
    transform-origin: 50% 100%;
    transition: transform 0.2s ease-in-out;
    /* smooth transition */
}

.project-rec:hover {
    transform: translateY(-8px);
    /* Move up */
    transition: transform 0.2s ease-in-out;
    /* smooth transition */
}

/* Add fade-in and fade-out animations */
.fade-out {
    animation: fadeOut 0.6s forwards;
}

.fade-in {
    animation: fadeIn 0.6s forwards;
}

/* For Webkit browsers like Chrome and Safari */
.native-dropdown::-webkit-inner-spin-button,
.native-dropdown::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.native-dropdown {
    -webkit-appearance: none;
    /* For Webkit browsers */
    -moz-appearance: none;
    /* For Mozilla browsers */
    appearance: none;
    /* Standard */
    background: none;
    /* Remove any default background */
    border-radius: 0;
    /* Optional: remove the round corners in some browsers */
}

/* Hide the arrow for IE */
.native-dropdown::-ms-expand {
    display: none;
}

.info-symbol {
    cursor: pointer;
	padding-left: 6px;
    position: relative;
    display: inline-block;
}

.tooltip {
    visibility: hidden;
    width: 220px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position the tooltip above the text */
    left: 50%;
    margin-left: -110px; /* Use half the width to center */
    opacity: 0;
    transition: opacity 0.3s;
}

.info-symbol:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px;
    background-color: #fff;
}

.close-button-video {
    position: absolute;
    right: 5px;
    top: 0;
    font-size: 30px;
    cursor: pointer;
}


@media (max-width: 1200px) {
    .image-container {
        height: 100%;
        width: auto;
    }

    .image-wrapper {
        margin-bottom: 40px;
        width: 100%;
        height: auto;
        padding: 15px;
        max-height: 480px;
    }
}

@media (max-width: 992px) {
    .column {
        padding: 0;
    }

    .dropdown-content {
        min-width: 600px;
    }

    .dropdown-content a {
        padding: 7px 10px 7px 18px;
    }
	
	#content-container {
    	padding: 20px;
    	gap: 35px;
	}

    .project-recs {
        width: 100%;
        max-height: 100%;
        flex-direction: column;
    }

    .project-rec {
        width: 60%;
        max-width: 320px;
    }
}

@media (max-width: 768px) {
	.email-form {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        flex-direction: column;
        max-width: 90vw;
        width: 338px;
        max-height: 90vh;
        height: auto;
        gap: 5px;
        opacity: 0;
    }

    .email-popup-image {
        width: 100%;
        height: auto;
    }

    .email-popup-left {
        max-width: 94%;
        display: flex;
        justify-content: center;
        padding-bottom: 13px;
        padding-top: 5px;
        align-items: left;
        flex-direction: column;
        gap: 5px;
    }

    .email-description-header {
        font-size: 1.8rem;
    }

    .email-description-par {
        margin-bottom: 0.7rem;
    }

    .email-form-bar {
        border-radius: 0.2rem;
    }

    .project-rec {
        width: 100%;
    }

    .main-container {
        padding: 10px;
        margin: 0;
    }

    .par {
        padding-left: 15px;
        padding-right: 15px;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        flex-grow: 1;
    }
	
	#btn4 {
		padding: 0.75rem 1.25rem;
        flex-grow: 1;
	}

    .dropdown-content {
        right: -11%;
    }

    .form-bar {
        margin: 5px 15px 40px 15px;
        box-shadow: 3px 7px 10px rgba(0, 0, 0, 0.418);
    }
	
	#rotating-image {
    	width: 90%;
	}
	
	#content-container {
    	width: 75%;
    	flex-direction: column;
    	height: auto;
    	padding: 25px;
    	gap: 30px;
	}
}

@media (max-width: 600px) {
    .dropdown-content {
        right: -5%;
        font-size: 15px;
        min-width: 495px;
    }

    .column {
        max-width: 130px;
    }
}

@media (max-width: 500px) {

    /* Hide the custom dropdown */
    #myDropdown {
        display: none;
    }

    /* Show the native dropdown */
    .native-dropdown {
        display: block;
    }

    .container-buttons {
        position: relative;
        display: flex;
        justify-content: center;
        padding: 10px;
        width: 650px;
        flex-wrap: wrap;
        align-content: stretch;
        max-width: 100%;
        margin: 15px;
    }

    .btn {
        font-size: 16px;
        font-weight: 300;
        margin: 2px 2px;
        padding: 0.6rem 0;
        border-radius: 38px;
    }

    #btn4 {
        width: 100%;
		font-size: 16px;
        font-weight: 300;
        margin: 2px 2px;
        padding: 0.6rem 0;
        border-radius: 38px;
    }

    #btn1,
    #btn2,
    #btn3 {
        flex-grow: 1;
    }

    #btn1 {
        flex-basis: 80px;
    }

    #btn2 {
        flex-basis: 50px;
    }

    #btn3 {
        flex-basis: 105px;
    }

    .main-container {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
	
	#content-container {
    	width: 90%;
    	padding: 20px;
	}
}

@media (max-width: 375px) {
    .main-container {
        padding: 0;
    }

    .par {
        padding-left: 0px;
        padding-right: 0px;
    }

    .project-recs {
        padding: 0 15px;
    }

    .container-buttons {
        justify-content: space-between;
        padding: 5px 0;
        flex-wrap: wrap;
        align-content: stretch;
        max-width: 100%;
        margin: 5px 0;
    }

    .btn {
        padding: 0.5rem 0;
        border-radius: 0.2rem;
    }
	
	#btn4 {
		padding: 0.5rem 0;
        border-radius: 0.2rem;
	}
	
	#content-container {
    	width: 100%;
    	padding: 15px;
	}
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}