/* large devices (992px and up) */
@media only screen and (min-width: 601px){



    /* ---------- FONTS ---------- */



    @import url('https://fonts.googleapis.com/css2?family=Poppins-thin:wght@100&display=swap');


    /* ---------- SCROLL ANIMATION ---------- */

    .hidden {
        opacity: 0;
        filter: blur(5px);
        transition: all .7s;
    }
    @media(prefers-reduced-motion) {
        .hidden {
            transition: none;
        }
    }
    .show {
        opacity: 1;
        filter: blur(0);
        transition: all .7s;
    }
    


    /* ---------- HEADER ---------- */



    header {
        background-color: initial;
        color: inherit;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        top: 0;
        position: sticky;
        z-index: 1000;
        max-width: 100vw;
        overflow-x: hidden;
        transition: color 0.3s;
    }
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    body.light-mode header, body.dark-mode header {
        background-color: initial;
        color: inherit;
        transition: color 0.3s;
    }
    



    /* LOGO */



    .logo {
        width: 30px;
        height: auto;
    }
    .logo:hover path {
        fill: #979797;
    }
    .logo #top {
        fill: #000; /* Change the color */
        opacity: 0.75; /* Change the opacity */
        transition: fill 0.3s ease, opacity 0.3s ease;
    }
    .logo #bottom {
        fill: #000; /* Change the color */
        opacity: 0.25; /* Change the opacity */
        transition: fill 0.3s ease, opacity 0.3s ease;
    }
    body.iceland-dark-mode .logo #top {
        fill: #fff;
        opacity: 0.75;
    }   
    body.iceland-dark-mode .logo #bottom {
        fill: #fff;
        opacity: 0.25;
    }



    /* MENU TOGGLE */



    .menu-toggle:hover {
        color: #979797;
    }

    body.iceland-light-mode .menu-toggle {
        color: #000;
    }
    body.iceland-dark-mode .menu-toggle {
        color: #fff;
    }



    /* CLOSE MENU */



    .close-menu {
        display: none;
    }
    .close-menu:hover {
        color: #979797;
    }
    .iceland-dark-mode .close-menu {
        color: #fff;
    }


    /* NAVIGATION */



    nav ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        max-width: 100vw; /* Constrain nav width */
        overflow-x: hidden; /* Prevent horizontal scrolling within nav */
    }
    nav ul li {
        display: inline-block;
        position: relative;
        margin: 15px 10px;
    }
    nav ul li a {
        color: inherit;
        text-decoration: none;
        font-family: 'Poppins', Helvetica, sans-serif;
        font-weight: 400;
        font-size: 14px;
        padding: 10px 15px;
        transition: color 0.3s;
    }
    nav ul li a:hover {
        color: #979797;
    }

    body.iceland-dark-mode nav ul li a {
        color: #ffffff;
    }
    body.iceland-dark-mode nav ul li a:hover {
        color: #979797;
    }


    /* THEME TOGGLE */



    .theme-toggle {
        order: 1;
        cursor: pointer;
        width: 17px;
        height: auto;
    }

    .theme-toggle #moon path {
        fill: #000;
        width: 100%;
        height: 17px;
        transition: fill 0.3s ease;
    }
    .theme-toggle:hover #moon path {
        fill: #979797; /* Change color on hover */
    }

    body.iceland-dark-mode .theme-toggle #moon path {
        fill: #fff;
    }
    body.iceland-dark-mode .theme-toggle:hover #moon path {
        fill: #979797;
    }



    /* ---------- BODY ---------- */



    body {
        margin: 0px;
    }

    h1 {
        font-family: Poppins, Helvetica, sans-serif;
        font-weight: 800;
        font-size: 36px;
    }
    p {
        font-family: Poppins, Helvetica, sans-serif;
        font-weight: 800;
        font-size: 48px;
    }
    footer p {
        font-family: Poppins, Helvetica, sans-serif;
        font-weight: 400;
        font-size: 14px;
    }




    /* MAIN */



    main {
        transition: color 0.3s;
    }



    body.iceland-light-mode {
        background-color: #ffffff;
        color: #000000;
        transition: background-color 0.3s;
    }
    body.iceland-dark-mode {
        background-color: #000000; /* Dark background color */
        color: #ffffff;
        transition: background-color 0.3s;
    }




    /* MORPHIC INTRO */





    /* MORPHIC GRIDS */
    body.iceland-dark-mode main {
        color: #ffffff;
    }

    #iceland_intro {
        display: flex;
        flex-direction: column;
        place-content: center;
        text-align: center;
        width: 80%;
        height: 100vh;
        margin: 0 auto;
    }
    
    #iceland {
        max-width: 100vw; /* Constrain turntable section width */
        height: auto;
        overflow-x: hidden; /* Prevent horizontal scrolling within turntable section */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }
    
    .iceland-grid {
        display: flex;
        flex-direction: row;
        width: 100%;
        height: auto;
        margin-bottom: -8px;
    }
    .iceland-grid img{
        width: 100%;
    }
    .iceland-item {
        width: 33%;
    }
    .iceland-item:nth-child(2) {
        transition-delay: 200ms;
    }
    .iceland-item:nth-child(3) {
        transition-delay: 400ms;
    }

    .medium-iceland-grid {
        display: flex;
        flex-direction: row;
        width: 100%;
        height: auto;
        margin-bottom: -8px;
    }
    .medium-iceland-grid img {
        width: 100%;
    }
    .medium-iceland-item {
        width: 50%;
    }
    .medium-iceland-item:nth-child(2) {
        transition-delay: 200ms;
    }

    .big-iceland-grid {
        display: flex;
        width: 100%;
    }
    .big-iceland-grid img {
        width: 100%;
    }
    .division {
        padding: 10% 0;
    }

    .ttu {
        font-weight: 400;
        font-size: 26pt;
    }


    /* ---------- FOOTER ---------- */

    footer {
        text-align: center;
        padding: 10px 0;
        max-width: 100vw; /* Constrain footer width */
        overflow-x: hidden; /* Prevent horizontal scrolling within footer */
        color: #000;
        transition: color 0.3s;
    }
    body.iceland-dark-mode footer {
        color: #fff;
    }

    /* ARROW NAV */

    .iceland_nav {
        /* background-color: #de256e; */
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 50px 100px;
        max-width: 100vw; /* Constrain turntable navigation width */
        overflow-x: hidden; /* Prevent horizontal scrolling within turntable navigation */
    }
    
    .iceland_arrow {
        color: #000;
        text-decoration: none;
        transition: color 0.3s;
    }
    .iceland_arrow:hover {
        color: #979797;
    }
    body.iceland-dark-mode .iceland_arrow {
        color: #fff;
    }
    body.iceland-dark-mode .iceland_arrow:hover {
        color: #979797; /* Highlight color on hover in dark mode */
    }

    .copyright {
        font-family: Poppins, Helvetica, sans-serif;
        font-weight: 300;
        font-size: 14px;
    }
}