@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin:0;
    padding: 0;
}

body{
    display: flex;
    flex-direction: column;
    font-family: "Montserrat", sans-serif;
}



/* Navigation Bar */

nav {
    position: fixed;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    padding: 20px;
    background-color: #f1f1f1;
    z-index: 1;
}

#btns {
    display: flex;
    align-items: center;
}

.NAVbtns {
    text-align: center;
    padding: 10px;
    width: 120px;
    height: 50px;
    margin-left: 40px;
    margin-right: 40px;
    font-size: 15pt;
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-radius: 100px;
    background-color: white;

    transition-duration: 0.3s;
}

.NAVbtns:hover {
    transform: scale(1.08);
    background-color: #f67b00;
}

#NAVhead {
    margin-left: 50px;
    margin-right: 50px;
    height: 40px;
    width: 320px;
    border-radius: 100px;
    text-align: center;
    background-color: #f67b00;
}



/* Header */

header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 850px;
}

#HDRimg {
    margin-top: 60px;
    width: 90%;
    max-width: 2000px;
    height: auto;
    display: block;
    z-index: -1;
    transition: opacity 0.5s;
    opacity: 1;
}



/* Main */

/* Tegninger */

main {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.MAINtxt {
    font-size: 18pt;
}

#TEGNINGERhead {
    font-size: 35pt;
}

#tegninger {
    height: 100%;
    padding: 50px;
    background-color: #f1f1f1;
    border: 10px dashed #f67b00;
    text-align: center;
}

#gallery {
    display: flex;
    justify-content: space-evenly;
}

.TEGNINGERcard {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 450px;
    height: 650px;
    border-radius: 50px;
    margin: 70px;
    padding: 40px;
    background-color: rgb(225, 225, 225);
    transition-duration: 0.5s;
}

.TEGNINGERcard:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.TEGNINGERframe {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 25px;
    background-color: white;
    border: 10px solid black;
    transition-duration: 0.3s;
}

.TEGNINGERframe:hover {
    cursor: pointer;
    border: 10px solid #f1f1f1;
}

.TEGNINGERimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition-duration: 0.3s;
}

.TEGNINGERimgtog {
    object-fit: cover;
    width: 100%;
    transition-duration: 0.3s;
}

#TXTsignaler {
    margin-top: 25px;
    height: 50%;
}

#TXTsideart {
    margin-top: 25px;
    height: 50%;
}

#TXT3Dart {
    margin-top: 25px;
    height: 50%;
}

/* Om meg */

#DIVmeg {
    display: flex;
    align-self: center;
    margin: 90px;
    width: 70%;;
    height: 100%;
    padding: 70px;;
    border-radius: 50px;
    border: 10px solid black;
    background-color: #f1f1f1;
}

#om-meg {
    width: 50%;
    margin: 40px;
    padding: 40px;;
}

#HEADmeg {
    font-size: 35pt;
    margin-bottom: 20px;
}

#IMGmeg {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
}

#IMGframe {
    width: 550px;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    overflow: hidden;
    border: 10px solid black;
    transform: rotate(3deg);
}

#megPNG {
    width: 600px;
    height: 600px;
    object-fit: cover;
    transform: rotate(-3deg);
}



/* Footer */

footer {
    display: flex;
    align-items: center;
    font-size: 20pt;
    height: 250px;
    padding: 100px;
    background-color: #f67b00;
}

#kontakt {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#FTRmail {
    display: flex;
    align-items: center;
    margin-top: 16px;
}

#FTRli {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

#FTRcopy {
    display: flex;
}

#copyR {
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

ion-icon {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 15px;
}

.FTRlnks {
    color: maroon;
}

#FTRhead {
    text-align: center;
    background-color: white;
    border-radius: 100px;
    width: 700px;
}



/* Lightbox Style */

#lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

#lightbox-close {
    position: absolute;
    top: 40px;
    right: 60px;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    user-select: none;
}


/* Responsive design 1920 */

@media (max-width: 1920px) {
    * {
        margin: 0;
        padding: 0;
    }

    nav {
        position: fixed;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 97.8vw;
    }

    #btns {
        display: flex;
        flex-direction: row;
        width: 100%;
    }

    .NAVbtns {
        text-align: center;
        font-size: 14pt;
        height: 44px;
        width: 120px;
        margin-right: 50;
        font-weight: 600;
        color: black;
    }

    #NAVhead {
        width: 500px;
        margin-right: 3vw;
    }

    header {
        height: 700px;
    }

    #HDRimg {
        width: 100vw;
        height: auto;
        max-width: 100%;
        margin-top: 0px;
    }

    .MAINtxt, #TEGNINGERhead {
        font-size: 17pt;
        word-break: break-word;
        line-height: 1.4;
    }

    #gallery {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        max-width: 100%;
        height: 850px;
    }

    #TEGNINGERhead {
        font-size: 25pt;
    }

    .TEGNINGERcard {
        width: 25vw;
        height: 650px;
        padding: 15px;
        border-radius: 25px;
        font-size: 9pt;
        margin: 0;;
    }

    .TEGNINGERframe {
        width: 80%;
        height: 30vw;
        aspect-ratio: 1 / 1; 
        border-radius: 12px;
        margin-top: 20px;
        border-radius: 25px;
    }

    .TEGNINGERimg, .TEGNINGERimgtog {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-width: 100%;
        max-height: 100%;
    }

    #tegninger {
        padding: 18px;
        font-size: 1rem;
    }

    #DIVmeg {
        flex-direction: row;
        align-items: center;
        margin-top: 5vw;
        margin-bottom: 5vw;
        border-style: none;
        max-width: 70vw;
        border-radius: 25px;
        border: 10px solid black;
    }

    #HEADmeg {
        font-size: 25pt;
        margin-bottom: 3vw;
    }

    #om-meg {
        width: 62%;
        line-height: 0.5;
        word-break: break-word;
        text-align: left;
        margin: 0;
    }

    #IMGframe {
        width: 100%;
        max-width: 320px;
        max-height: 320px;
        margin-left: 20px;
    }

    #IMGmeg {
        width: 390px;
    }

    #megPNG {
        width: 400px;
        height: 400px;
        object-fit: cover;
    }

    footer {
        font-size: 15pt;
        padding: 50px;
        padding-left: 100px;
    }

    #lightbox img {
        max-width: 98vw;
        max-height: 70vh;
    }

    #FTRcopy {
        flex-direction: row;
        align-items: center;
    }

    #copyR {
        width: 30px;
        height: 30px;
    }
}


/* Responsive design iPad horizontal */

@media (max-width: 1080px) {
    * {
        margin: 0;
        padding: 0;
    }

    nav {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        text-align: center;
        width: 96vw;
    }

    #btns {
        display: flex;
        justify-content: space-around;
        flex-direction: row;
        width: 100%;
    }

    .NAVbtns {
        font-size: 14pt;
        height: 44px;
        width: 100px;
        margin: 0;
        font-weight: 400;
        color: black;
    }

    #NAVhead {
        width: 650px;
        margin-right: 4vw;
    }

    header {
        height: 500px;
    }

    #HDRimg {
        width: 100vw;
        height: auto;
        max-width: 100%;
        margin-top: 0px;
    }

    .MAINtxt, #TEGNINGERhead {
        font-size: 13pt;
        word-break: break-word;
        line-height: 1.4;
    }

    #gallery {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        height: 100%;
        margin-top: 4vw;
    }

    #TEGNINGERhead {
        font-size: 25pt;
    }

    .TEGNINGERcard {
        width: 25vw;
        height: 500px;
        padding: 15px;
        border-radius: 25px;
        font-size: 8pt;
        margin: 0;;
    }

    .TEGNINGERframe {
        width: 80%;
        height: 25vw;
        aspect-ratio: 1 / 1; 
        border-radius: 12px;
        margin-top: 20px;
        border-radius: 25px;
    }

    .TEGNINGERimg, .TEGNINGERimgtog {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-width: 100%;
        max-height: 100%;
    }

    #tegninger {
        padding: 18px;
        font-size: 1rem;
    }

    #DIVmeg {
        flex-direction: column;
        align-items: center;
        margin-top: 5vw;
        margin-bottom: 5vw;
        border-style: none;
        max-width: 70vw;
        border-radius: 25px;
        border: 10px solid black;
    }

    #HEADmeg {
        font-size: 25pt;
        margin-bottom: 5vw;
    }

    #om-meg {
        width: 100%;
        font-size: 20pt;
        line-height: 0.5;
        word-break: break-word;
        text-align: left;
    }

    #IMGframe {
        width: 100%;
        max-width: 320px;
        max-height: 320px;
    }

    #IMGmeg {
        width: 390px;
    }

    #megPNG {
        width: 400px;
        height: 400px;
        object-fit: cover;
    }

    footer {
        font-size: 15pt;
        padding: 50px;
        padding-left: 100px;
    }

    #FTRcopy {
        flex-direction: column;
        align-items: center;
    }

    #lightbox img {
        max-width: 98vw;
        max-height: 70vh;
    }

    #FTRcopy {
        flex-direction: row;
        align-items: center;
    }

    #copyR {
        width: 30px;
        height: 30px;
        margin-right: 2vw;
    }
}


/* Responsive design iPad vertical */

@media (max-width: 820px) {
    * {
        margin: 0;
        padding: 0;
    }

    nav {
        display: flex;
        align-items: center;
        justify-content: center;
        position: static;
        text-align: center;
        width: 95vw;
    }

    #btns {
        display: flex;
        justify-content: space-around;
        flex-direction: row;
        width: 100%;
    }

    .NAVbtns {
        font-size: 14pt;
        height: 44px;
        width: 100px;
        margin: 0;
        font-weight: 400;
        color: black;
    }

    #NAVhead {
        width: 650px;
        margin-right: 0;
    }

    header {
        height: 400px;
    }

    #HDRimg {
        width: 100vw;
        height: auto;
        max-width: 100%;
        margin-top: 0px;
    }

    .MAINtxt, #TEGNINGERhead {
        font-size: 1.1rem;
        word-break: break-word;
        line-height: 1.4;
    }

    #gallery {
        display: flex;
        flex-direction: column;
        margin-top: 4vw;
        justify-content: space-evenly;
        align-items: center;
        height: 100%;
    }

    #TEGNINGERhead {
        font-size: 25pt;
    }

    .TEGNINGERcard {
        width: 60vw;
        padding: 15px;
        height: auto;
        border-radius: 25px;
        margin: 14px;
    }

    .TEGNINGERframe {
        width: 80%;
        aspect-ratio: 1 / 1; 
        border-radius: 12px;
        margin-top: 20px;
        border-radius: 25px;
    }

    .TEGNINGERimg, .TEGNINGERimgtog {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-width: 100%;
        max-height: 100%;
    }

    #tegninger {
        padding: 18px;
        font-size: 1rem;
    }

    #DIVmeg {
        flex-direction: column;
        align-items: center;
        margin-top: 10vw;
        margin-bottom: 10vw;
        border-style: none;
        max-width: 60vw;
        border-radius: 25px;
        border: 10px solid black;
    }

    #HEADmeg {
        font-size: 25pt;
        margin-bottom: 5vw;
    }

    #om-meg {
        width: 100%;
        font-size: 9pt;
        line-height: 0.5;
        word-break: break-word;
        text-align: left;
    }

    #IMGframe {
        width: 100%;
        max-width: 320px;
        max-height: 320px;
    }

    #IMGmeg {
        width: 390px;
    }

    #megPNG {
        width: 400px;
        height: 400px;
        object-fit: cover;
    }

    footer {
        font-size: 15pt;
        padding: 50px;
        padding-left: 100px;
    }

    #FTRcopy {
        flex-direction: column;
        align-items: center;
    }

    #lightbox img {
        max-width: 98vw;
        max-height: 70vh;
    }

    #FTRcopy {
        flex-direction: row;
        align-items: center;
    }

    #copyR {
        width: 30px;
        height: 30px;
        margin-right: 2vw;
    }
}


/* Responsive design iPhone */

@media (max-width: 600px) {
    * {
        margin: 0;
        padding: 0;
    }

    nav {
        display: flex;
        justify-content: center;
        position: static;
        text-align: center;
        padding: 0;
        padding-top: 20px;
        padding-bottom: 20px;
        width: 100%;
    }

    #btns {
        display: flex;
        justify-content: space-around;
        flex-direction: row;
        width: 100%;
    }

    .NAVbtns {
        font-size: 14pt;
        height: 44px;
        width: 100px;
        margin: 0;
        font-weight: 400;
        color: black;
    }

    #NAVhead {
        display: none;
        margin-right: 0;
        width: 0;
    }

    header {
        height: 400px;
    }

    #HDRimg {
        width: 100vw;
        height: auto;
        max-width: 100%;
        margin-top: 0px;
    }

    .MAINtxt, #TEGNINGERhead {
        font-size: 1.1rem;
        word-break: break-word;
        line-height: 1.4;
    }

    #gallery {
        display: grid;
        grid-template-columns: 1fr; 
        gap: 18px;
        padding: 0;
        justify-items: center; 
        margin-top: 10vw;
        height: 100%;
    }

    #TEGNINGERhead {
        font-size: 25pt;
    }

    .TEGNINGERcard {
        min-width: 0;
        width: 80vw;
        margin: 18px 0;
        padding: 15px;
        height: auto;
        border-radius: 25px;
    }

    .TEGNINGERframe {
        width: 80%;
        height: 60vw;
        aspect-ratio: 1 / 1; 
        border-radius: 12px;
        margin-top: 20px;
        border-radius: 25px;
    }

    .TEGNINGERimg, .TEGNINGERimgtog {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-width: 100%;
        max-height: 100%;
    }

    #tegninger {
        padding: 18px;
        font-size: 1rem;
    }

    #DIVmeg {
        flex-direction: column;
        align-items: center;
        margin-top: 15vw;
        margin-bottom: 15vw;
        border-style: none;
        max-width: 60vw;
        border-radius: 25px;
    }

    #HEADmeg {
        font-size: 25pt;
        margin-bottom: 5vw;
    }

    #om-meg {
        width: 120%;
        font-size: 9pt;
        line-height: 0.5;
        word-break: break-word;
        text-align: left;
    }

    #IMGframe {
        width: 100%;
        max-width: 320px;
        max-height: 320px;
        margin-right: 25px;
    }

    #IMGmeg {
        width: 390px;
    }

    #megPNG {
        width: 400px;
        height: 400px;
        object-fit: cover;
    }

    footer {
        font-size: 15pt;
        padding: 40px;
    }

    #FTRcopy {
        flex-direction: column;
        align-items: center;
    }

    #lightbox img {
        max-width: 98vw;
        max-height: 70vh;
    }

    ion-icon {
        display: none;
    }

    #FTRcopy {
        flex-direction: row;
        align-items: center;
        margin-top: 3vw;
    }

    #copyR {
        width: 20px;
        height: 20px;
        margin-right: 1vw;
    }
}
