/*----------*/
/* ALGEMEEN */
/*----------*/

::-webkit-scrollbar {
    display: none;
}

* {
    margin: 0;
    padding: 0;
}

:root {
    --color-light-1: #EAF2F8;
    --color-light-2: #859EB2;
    --color-light-3: #859EB2;

    --color-dark-1: #171717;
    --color-dark-2: #597190;
    --color-dark-3: #2B3058;
}

body {
    font-family: 'Montserrat';
    font-style: normal;
    line-height: normal;

    background-color: var(--color-dark-1);
    color: var(--color-light-1);

    transition: 100ms;
}

body.light-mode {
    background-color: var(--color-light-1);
    color: var(--color-dark-1);
}

h1 {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 0.96px;
}

h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.64px;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.48px;
}

p {
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.40px;
}

button {
    border: none;
    border-radius: 15px;
}

.example::-webkit-scrollbar {
    display: none;
}



/*------------*/
/* ANIMATIONS */
/*------------*/

@keyframes appear {
    from {
        opacity: 0;
        scale: 0.75;
    }
    to {
        opacity: 1;
        scale: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/*--------*/
/* HEADER */
/*--------*/

header {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;

    height: 10vh;
    width: 90vw;
    margin: 0 5% 0 5%;

    background-color: transparent;
}

/* LOGO */

header a {
    color: var(--color-light-1);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.64px;

    text-decoration: none;
    transition: 100ms;
}

header a.light-mode {
    color: #171717;
}

/* NAV */

header nav ul {
    display: flex;
    justify-content: space-between;

    list-style-type: none;
}

header nav ul li:nth-of-type(2){
    padding: 0 7em 0 7em;
}

header nav ul li button {
    background: none;
    color: var(--color-light-1);

    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.40px;

    transition: 100ms;
}

header nav ul li button:hover {
    scale: 1.1;
    cursor: pointer;
}

header nav ul li button.light-mode {
    background: none;
    color: var(--color-dark-1);
}

/* DARK/LIGHT MODE */

.toggle {
    display: flex;

    list-style-type: none;
}

.toggle li:nth-of-type(2){
    margin-top: 0.5em;
    padding: 0 1em 0 1em;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch span {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #FFFFFF;
    border-radius: 34px;
    -webkit-transition: .4s;
    transition: .4s;
}

.switch span:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    right: 4px;
    bottom: 4px;
    background-color: var(--color-dark-1);
    border-radius: 50%;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + span {
    background-color: #171717;
}

input:checked + span:before {
    -webkit-transform: translateX(-26px);
    -ms-transform: translateX(-26px);
    transform: translateX(-26px);

    background-color: #FFFFFF;
}

.zon {
    height: 48px;
    width: 48px;
    opacity: 0;
}

.maan {
    height: 40px;
    width: 40px;
    margin-top: 0.3em;
    transition: 200ms;
}

body.light-mode .maan {
    filter: invert(1);
}

/* .switch span:before .zon {
    opacity: 100;
} */

/*--------*/
/*- MAIN -*/
/*--------*/

/* LANDIGSPAGINA */

.achtergrond {
    height: 90vh;
    background-image: url("../images/Achtergrond-1-dark.png");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.achtergrond.light-mode {
    background: url("../images/Achtergrond-1-light.png");
    background-size: cover;
    background-position: center bottom;
}

.landing {
    margin: 0 13vw 0 13vw;
}

.landing h1 {
    padding-top: 5em;
}

/* CALL TO ACTION BORDJE */

.contactCTA {
    position: absolute;
    bottom: 9.9vh;
    right: 10em;
    height: 282px;
    width: 233px;

    transition: 100ms;
}

.contactCTA.light-mode {
    filter: invert(91%) sepia(8%) saturate(227%) hue-rotate(170deg) brightness(114%) contrast(95%);
}

.contactCTA:hover {
    scale: 1.05;
    cursor: pointer;
}



/* MY WORK SECTIE */

.work {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 20px;

    background: linear-gradient(180deg, #181818 0%, #202020 100%);
}

.work.light-mode {
    background: linear-gradient(180deg, #EAF2F8 0%, #F8FBFE 100%);
}

.work h2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    grid-column-start: 2;
    grid-column-end: 4;

    margin: 10vh 0 10vh 0;
    scroll-margin-top: 10vh;

    animation: fadeIn ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

.work a h3 {
    padding: 30px;
}

.work a h3.light-mode {
    color: var(--color-dark-1);
}

.work a:nth-of-type(2) h3.light-mode {
    color: var(--color-dark-1);
}

.work a:nth-of-type(3) h3.light-mode {
    color: var(--color-dark-1);
}

.work a:nth-of-type(4) h3.light-mode {
    color: var(--color-dark-1);
}

.work a img {
    object-fit: cover;
    width: 100%;

    transition: 300ms;
}

.work a:hover img {
    scale: 1.2;
}

.work a #popUp {
    padding: 30px;
    background: #181818;
    
    opacity: 0;
    z-index: 1;
    transition: 300ms;
}


.work a:hover #popUp {
    opacity: 1;
}

.work a #popUp.light-mode {
    background: #FFFFFF;
    color: var(--color-dark-1);
}

.work a:nth-of-type(2) #popUp.light-mode {
    background: #FFFFFF;
    color: var(--color-dark-1);
}

.work a:nth-of-type(3) #popUp.light-mode {
    background: #FFFFFF;
    color: var(--color-dark-1);
}

.work a:nth-of-type(4) #popUp.light-mode {
    background: #FFFFFF;
    color: var(--color-dark-1);
}

.work a {
    margin-bottom: 10vh;
    border-radius: 15px;
    box-shadow: 2px 4px 10px 5px rgba(0, 0, 0, 0.25);

    display: grid;
    grid-template-rows: auto auto auto;

    animation: fadeIn ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;

    overflow: hidden;
    text-decoration: none;
    color: white;

    transition: 200ms;
}

.mainProject1 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
    
    background: linear-gradient(51deg, rgba(73, 73, 73, 0.00) 0%, rgba(100, 124, 155, 0.50) 100%);
}

.mainProject1.light-mode {
    background: linear-gradient(51deg, #ffffff 0%, #dff2ff 100%);
}

.mainProject1:hover {
    display: grid;
    cursor: pointer;
    scale: 1.02;
}

.mainProject2 {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 2;
    grid-row-end: 3;
    
    background: linear-gradient(231deg, rgba(73, 73, 73, 0.00) 0%, rgba(100, 124, 155, 0.50) 100%);
}

.mainProject2.light-mode {
    background: linear-gradient(231deg, #ffffff 0%, #dff2ff 100%);
}

.mainProject2:hover {
    display: grid;
    cursor: pointer;
    scale: 1.02;
}

.mainProject3 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 4;
    
    background: linear-gradient(309deg, rgba(73, 73, 73, 0.00) 0%, rgba(100, 124, 155, 0.50) 100%);
}

.mainProject3.light-mode {
    background: linear-gradient(309deg, #ffffff 0%, #dff2ff 100%);
}

.mainProject3:hover {
    display: grid;
    cursor: pointer;
    scale: 1.02;
}

.mainProject4 {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 3;
    grid-row-end: 4;
    
    background: linear-gradient(129deg, rgba(73, 73, 73, 0.00) 0%, rgba(100, 124, 155, 0.50) 100%);
}

.mainProject4.light-mode {
    background: linear-gradient(129deg, #ffffff 0%, #dff2ff 100%);
}

.mainProject4:hover {
    display: grid;
    cursor: pointer;
    scale: 1.02;
}

.projectenKnop {
    grid-column-start: 2;
    grid-column-end: 4;
    grid-row-start: 4;
    grid-row-end: 5;

    height: 5vw;
    width: 30vw;
    border-radius: 15px;
    margin: 0 auto 15vh auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    color: var(--color-light-1);
    text-decoration: none;
    background: linear-gradient(89deg, #647C9B 0%, #2E3F55 100%);
    box-shadow: 0px 6px 4px 4px rgba(0, 0, 0, 0.25);

    transition: 200ms;

    animation: fadeIn ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

.projectenKnop h3 {
    margin-left: 32px;
}

.projectenKnop img {
    margin-left: 32px;
}

.projectenKnop.light-mode {
    background: var(--color-light-2);
    box-shadow: 0px 6px 4px 4px rgba(0, 0, 0, 0.25);
}

.projectenKnop:hover {
    scale: 1.05;
    cursor: pointer;
}

.projectenKnop:active {
    scale: 1.035;
    box-shadow: none;
}

/* TWEEDE ACHTERGROND */

.background2 {
    background-image: url("../images/Achtergrond-2-dark.png");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.background2.light-mode {
    background-image: url("../images/Achtergrond-2-light.png");
}
/* ABOUT ME SECTIE */

.about {
    margin: 0 13vw 0 13vw;
    padding-bottom: 15vw;
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 32px;
}

.about h2 {
    display: flex;
    justify-content: center;
    padding: 20vh 0 15vh 0;


    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 5;

    animation: fadeIn ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

.about div {
    padding: 32px;
    border-radius: 15px;
    box-shadow: 2px 4px 10px 5px rgba(0, 0, 0, 0.25);
    background: linear-gradient(149deg, #181818 17.47%, #282828 83.99%);

    animation: fadeIn ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

.about div.light-mode {
    background: linear-gradient(149deg, #FFFFFF 17.47%, #EAF2F8 83.99%);
}

.about div:nth-of-type(2) {
    background: linear-gradient(197deg, #181818 10.8%, #282828 100%);
}

.about div:nth-of-type(2).light-mode {
    background: linear-gradient(197deg, #FFFFFF 10.8%, #EAF2F8 100%);
}

.about div:nth-of-type(1) {
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 4;
}

.about div p {
    padding: 0 0 1em 0;
}

.about div:nth-of-type(2) {
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-end: 5;
}

.about div img {
    width: 13.9vw;
    max-width: 267px;
    border-radius: 15px;
    justify-self: end;
    align-self: end;
}

/* CONTACT SECTIE */

.contact {
    margin: 0 13vw 0 13vw;

    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto 10vh;
}

.contact h2 {
    display: flex;
    justify-content: center;
    grid-column-start: 1;
    grid-column-end: 3;
    padding: 10vh 0 15vh 0;

    animation: fadeIn ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

.contact section {
    width: 23.5vw;
    border-radius: 15px;
    box-shadow: 2px 4px 10px 5px rgba(0, 0, 0, 0.25);

    background: var(--color-dark-1);

    animation: fadeIn ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

.contact section.light-mode {
    background: #FFFFFF;
}

.contact button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20.2vw;
    height: 10vh;
    margin-bottom: 32px;
    border-radius: 15px;
    transition: 200ms;
}

.contact button:hover {
    scale: 1.05;
    cursor: pointer;
}

.contact button:active {
    scale: 1.02;
}

.contact button.light-mode {
    background: var(--color-dark-1);
    color: var(--color-light-1);
}

.contact a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20.2vw;
    height: 10vh;
    margin-bottom: 32px;
    border-radius: 15px;
    transition: 200ms;

    background: var(--color-light-1);
}

.contact a:hover {
    scale: 1.05;
}

.contact a:active {
    scale: 1.02;
}

.contact a.light-mode {
    background: var(--color-dark-1);
}

/* EMAIL/LINKEDIN */

.contact section:nth-of-type(1) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
}

.contact section:nth-of-type(1) h3 {
    margin: 32px 0 32px 0;
}

.contact section:nth-of-type(1) p {
    margin: 32px 0 32px 0;
}

.contact section button p {
    font-family: 'Montserrat';
}

.contact section:nth-of-type(1) a {
    text-decoration: none;
    color: var(--color-dark-1);
}

.contact section:nth-of-type(1) a:visited {
    color: var(--color-dark-1);
}

.contact section:nth-of-type(1) a.light-mode {
    color: var(--color-light-1);
}

.email-logo {
    height: 64px;
    width: 64px;

    margin-right: 1em;
}

.email-logo.light-mode {
    filter: invert(100%) brightness(1000%);
}

.linkedin-logo {
    height: 64px;
    width: 64px;

    margin-right: 1em;
}

.linkedin-logo.light-mode {
    filter: invert(100%) brightness(1000%);
}

/* CV SECTIE */

.contact section:nth-of-type(2) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-end: 3;

    justify-self: end;
    align-self: start;
}

.contact section:nth-of-type(2) h3 {
    margin: 32px 0 32px 0;
}

.download {
    height: 64px;
    width: 64px;
}

.download.light-mode {
    filter: invert(100%) brightness(1000%);
}



/* KAMPVUUR */

.kampvuur {
    width: 300px;
    display: grid;
    grid-column-start: 1;
    grid-column-end: 3;
    align-self: end;

    margin: 0 auto;
}


/*--------*/
/* FOOTER */
/*--------*/

footer {
    background: var(--color-dark-1);

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 2%;
}

footer.light-mode {
    background: var(--color-light-1);
}

footer p {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.32px;
}

footer p.light-mode {
    color: var(--color-dark-1);
}













/* ---------------- */
/* PROJECTEN PAGINA */
/* ---------------- */

/* ------ */
/* HEADER */
/* ------ */

.projectenHeader {
    position: relative;
    width: 100vw;
    margin: 0;
    background-color: #181818;
}

.projectenHeader.light-mode {
    background-color: var(--color-light-1);
    color: var(--color-dark-1);
}

.projectenHeader a {
    margin-left: 5%;
}

.toggleDiv {
    margin-right: 5%;
}



/* ---- */
/* MAIN */
/* ---- */

.work2 {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr 2fr 2fr 1fr;
    grid-template-rows: auto 4vh auto 4vh auto 4vh auto;
    gap: 20px;

    background-color: #202020;
}

.work2.light-mode {
    background: linear-gradient(180deg, #EAF2F8 0%, #F8FBFE 100%);
}

.work2 h2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    grid-column-start: 3;
    grid-column-end: 5;

    margin: 5vh 0 10vh 0;
    scroll-margin-top: 10vh;

    animation: fadeIn ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

.work2 h2:nth-of-type(2) {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;

    display: flex;
    justify-content: left;
    margin: 0;
}

.work2 a h3 {
    padding: 30px;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.4px;
}

.work2 a img {
    object-fit: cover;
    width: 100%;

    transition: 300ms;
}

.work2 a:hover img {
    scale: 1.2;
}

.work2 a #popUp {
    padding: 30px;
    background: #181818;
    
    opacity: 0;
    z-index: 1;
    transition: 300ms;
}


.work2 a:hover #popUp {
    opacity: 1;
}

.work2 a #popUp.light-mode {
    background: #FFFFFF;
}

.work2 a {
    margin-bottom: 10vh;
    border-radius: 15px;
    box-shadow: 2px 4px 10px 5px rgba(0, 0, 0, 0.25);
    height: 40vh;

    display: grid;
    grid-template-rows: auto auto auto;

    animation: fadeIn ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;

    overflow: hidden;
    text-decoration: none;
    color: white;

    transition: 200ms;
}

.graphic1 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 4;
    
    background: linear-gradient(51deg, #181818 0%, #647C9B 100%);
}

.work2 a:nth-of-type(1).light-mode {
    background: linear-gradient(51deg, #ffffff 0%, #dff2ff 100%);
}

.work2 a:nth-of-type(1):hover {
    display: grid;
    cursor: pointer;
    scale: 1.02;
}

.graphic2 {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 3;
    grid-row-end: 4;
    
    background: linear-gradient(231deg, #181818 0%, #647C9B 100%);
}

.work2 a:nth-of-type(2).light-mode {
    background: linear-gradient(231deg, #ffffff 0%, #dff2ff 100%);
}

.work2 a:nth-of-type(2):hover {
    display: grid;
    cursor: pointer;
    scale: 1.02;
}

.graphic3 {
    grid-column-start: 4;
    grid-column-end: 5;
    grid-row-start: 3;
    grid-row-end: 4;

    background: linear-gradient(309deg, #181818 0%, #647C9B 100%);
}

.graphic3 img {
    max-height: 200px;
    scale: 0.45;
    translate: 0 10%;
    overflow: visible;
}

.work2 .graphic3:hover img {
    scale: 0.55;
}


.work2 h2:nth-of-type(3) {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 4;
    grid-row-end: 5;

    display: flex;
    justify-content: left;
    margin: 0;
}

.coding1 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 5;
    grid-row-end: 6;
    
    background: linear-gradient(309deg, #181818 0%, #647C9B 100%);
}

.work2 a:nth-of-type(3).light-mode {
    background: linear-gradient(309deg, #ffffff 0%, #dff2ff 100%);
}

.work2 a:nth-of-type(3):hover {
    display: grid;
    cursor: pointer;
    scale: 1.02;
}

.coding2 {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 5;
    grid-row-end: 6;
    
    background: linear-gradient(129deg, #181818 0%, #647C9B 100%);
}

.work2 a:nth-of-type(4).light-mode {
    background: linear-gradient(129deg, #ffffff 0%, #dff2ff 100%);
}

.work2 a:nth-of-type(4):hover {
    display: grid;
    cursor: pointer;
    scale: 1.02;
}

.work2 a.light-mode {
    background: linear-gradient(180deg, #FFF 0%, #FFEDD0 100%);
}

.work2 h2:nth-of-type(4) {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 6;
    grid-row-end: 7;

    display: flex;
    justify-content: left;
    margin: 0;
}

.other1 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 7;
    grid-row-end: 8;
    
    background: linear-gradient(309deg, #181818 0%, #647C9B 100%);
}



.background2-2 {
    background-image: url(../images/Achtergrond-2-dark-3.png);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;

    width: 100vw;
}


.contact2 {
    margin: 0 13vw 0 13vw;

    display: grid;
    grid-template-columns: auto auto;   
    grid-template-rows: auto auto 20vh; 
}

.contact2 h2 {
    display: flex;
    justify-content: center;
    grid-column-start: 1;
    grid-column-end: 3;
    padding: 10vh 0 15vh 0;

    animation: fadeIn ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

.contact2 section {
    width: 23.5vw;
    border-radius: 15px;
    box-shadow: 2px 4px 10px 5px rgba(0, 0, 0, 0.25);

    background: var(--color-dark-1);

    animation: fadeIn ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

.contact2 section.light-mode {
    background: #FFFFFF;
}

.contact2 button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20.2vw;
    height: 10vh;
    margin-bottom: 32px;
    border-radius: 15px;
    transition: 200ms;
}

.contact2 button:hover {
    scale: 1.05;
    cursor: pointer;
}

.contact2 button:active {
    scale: 1.02;
}

.contact2 button.light-mode {
    background: var(--color-dark-1);
    color: var(--color-light-1);
}

.contact2 a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20.2vw;
    height: 10vh;
    margin-bottom: 32px;
    border-radius: 15px;
    transition: 200ms;

    background: var(--color-light-1);
}

.contact2 a:hover {
    scale: 1.05;
}

.contact2 a:active {
    scale: 1.02;
}

.contact2 a.light-mode {
    background: var(--color-dark-1);
}

/* EMAIL/LINKEDIN */

.contact2 section:nth-of-type(1) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
}

.contact2 section:nth-of-type(1) h3 {
    margin: 32px 0 32px 0;
}

.contact2 section:nth-of-type(1) p {
    margin: 32px 0 32px 0;
}

.contact2 section button p {
    font-family: 'Montserrat';
}

.contact2 section:nth-of-type(1) a {
    text-decoration: none;
    color: var(--color-dark-1);
}

.contact2 section:nth-of-type(1) a:visited {
    color: var(--color-dark-1);
}

.contact2 section:nth-of-type(1) a.light-mode {
    color: var(--color-light-1);
}

/* CV SECTIE */

.contact2 section:nth-of-type(2) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-end: 3;

    justify-self: end;
    align-self: start;
}

.contact2 section:nth-of-type(2) h3 {
    margin: 32px 0 32px 0;
}








/* -------------- */
/* -DETAILPAGINA- */
/* -------------- */

.details {
    display: grid;
    grid-template-columns: 10vw 26vw 26vw 20vw 10vw;
    grid-template-rows: auto auto auto;
    gap: 2vw;

    background-color: #202020;
}

.details section {
    border-radius: 15px;
    box-shadow: 2px 4px 10px 5px rgba(0, 0, 0, 0.25);

    margin-top: 2.5vh;
}

.details section h2 {
    margin: 2rem 0 1rem 2rem;
}

.details section p {
    margin: 2rem 0 2rem 2rem;
}

.details section h3 {
    margin: 2rem 0 0 2rem;
    padding: 0;
}

.details section:nth-of-type(1) p:nth-of-type(2) {
    color: #aaa;
}

.details section:nth-of-type(1) {
    grid-column-start: 2;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 2;

    display: grid;
    grid-template-columns: 40vw 40vw;
    grid-template-rows: 10vh auto auto;
    height: auto;
    width: 76vw;

    background: linear-gradient(51deg, #181818 0%, #546781 100%);

    margin-top: 5vh;
}

.details section:nth-of-type(1) img {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 4;

    object-fit: cover;
    width: 700px;

    translate: 0 -1rem;
    transition: 200ms;
}

.details section:nth-of-type(1) img:hover {
    scale: 1.12;
}

.details section:nth-of-type(1) h3 {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
}

.details section:nth-of-type(1) p:nth-of-type(1) {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 2;
    grid-row-end: 3;

    margin: 0 0 0 2rem;
}

.details section:nth-of-type(1) p:nth-of-type(2) {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 3;
    grid-row-end: 4;

    align-self: end;
}



.details section:nth-of-type(2) {
    grid-column-start: 2;
    grid-column-end: 4;
    grid-row-start: 2;
    grid-row-end: 3;

    height: auto;
    width: 52.5vw;
    padding-bottom: 2rem;

    background: linear-gradient(101deg, #181818 0.51%, #546781 100%);
}

.details section:nth-of-type(2) ul {
    list-style-type: none;
}

.details section:nth-of-type(2) p {
    margin: 1.5rem 4rem;
}

.details section:nth-of-type(3) {
    grid-column-start: 4;
    grid-column-end: 5;
    grid-row-start: 2;
    grid-row-end: 3;

    height: 25vh;
    width: 20vw;

    background: linear-gradient(315deg, #181818 0%, #546781 100%);
}

.details section:nth-of-type(3) ul {
    margin: 2rem 0 0 5rem;
}

.details section:nth-of-type(4) {
    grid-column-start: 2;
    grid-column-end: 5;
    grid-row-start: 3;
    grid-row-end: 4;

    display: grid;
    grid-template-rows: auto auto;
    height: 50vh;
    width: 76vw;

    background: linear-gradient(231deg, #181818 0%, #546781 100%);

    margin-bottom: 20vh;
}

/* CAROUSEL DETAILPAGINA*/

.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    overflow: hidden;

    translate: 0 -2rem;
}

.carousel div {
    overflow: hidden;
    width: 90%;
}

.carousel div ul {
    display: flex;
    flex-direction: row;
    gap: 15px;
    overflow: scroll;

    list-style-type: none;
    transition: transform 0.5s ease-in-out;
}

.carousel div ul li {
    max-width: calc(50% - 10px);
    height: 35vh;
    flex-shrink: 0;
}

.carousel div ul li img {
    width: 100%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

/* DETAILPAGINA 1 */

.carousel-slideP1:nth-of-type(4),
.carousel-slideP1:nth-of-type(6),
.carousel-slideP1:nth-of-type(7),
.carousel-slideP1:nth-of-type(8) {
    max-width: calc(13.55% - 10px);
}

.carousel-slideP1:nth-of-type(5) {
    max-width: calc(28.68% - 10px);
}

/* DETAILPAGINA 2 */

.carousel-slideP2:nth-of-type(1),
.carousel-slideP2:nth-of-type(2),
.carousel-slideP2:nth-of-type(3),
.carousel-slideP2:nth-of-type(4),
.carousel-slideP2:nth-of-type(5),
.carousel-slideP2:nth-of-type(6),
.carousel-slideP2:nth-of-type(7) {
    max-width: calc(35% - 10px);
}

/* DETAILPAGINA 1 */

.carousel-slideP4:nth-of-type(3),
.carousel-slideP4:nth-of-type(6),
.carousel-slideP4:nth-of-type(7) {
    max-width: calc(15.25% - 10px);
}

.carousel-slideP4:nth-of-type(2),
.carousel-slideP4:nth-of-type(5) {
    max-width: calc(23.8% - 10px);
}