.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin: 0px;
    overflow-x: hidden;
}

header {
    grid-column: 1 / -1;
}

.topnav {
    display: flex;                
    justify-content: space-between;
    align-items: center;           
    max-width: 1200px;
    margin: 32px auto 16px auto;
    padding: 0 16px;
}

.icon {
    width: 160px;                  
    margin: 0; 
    transition: transform 0.3s ease;          
}

.icon:hover {
  transform: scale(1.2);
}

.nav-links {
    display: flex;
    gap: 40px;                 
}

.topnav a {
    color: #EE2A7B;
    text-decoration: none;
    font-size: 20px;
    font-family: "Nunito Sans", Helvetica, sans-serif;
    text-align: center;
    padding: 14px 0;               
}

.topnav a:hover {
    text-decoration: underline;
}

.stars-background {
    grid-column: 1 / -1;    
    display: grid;           
    grid-template-columns: repeat(12, 1fr); 
    justify-items: center;    
    align-items: center;      
    width: 100%;
    height: 80vh;

    background-image: url('STARS.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover 80%;
    overflow: hidden;
}

.intro-text {
    grid-column: 3 / 11;     
    display: flex;            
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.h1 {
    color: #EE2A7B;
    font-size: 60px;
    font-family: "Poly", "Nunito Sans", Helvetica, sans-serif;
    text-align: center;
    z-index: 1;             
    margin: 0;               
}
.p {
     color: #EE2A7B;
    font-size: 20px;
    font-family: "Nunito Sans", Helvetica, sans-serif;
    text-align: center;
    z-index: 1;
    margin: 0;

}

.drawings {
    grid-column: 1 / -1;                   
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;                             
    padding: 0 16px;
    margin-top: -100px;  
    z-index: 2;          
    position: relative;  
}

/* Default image style */
.drawings img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.drawings img:nth-child(1),
.drawings img:nth-child(2),
.drawings img:nth-child(3) {
    grid-column: span 4;
    aspect-ratio: 4 / 4;  
}

.drawings img:nth-child(4),
.drawings img:nth-child(5),
.drawings img:nth-child(6),
.drawings img:nth-child(7) {
    grid-column: span 3;
    aspect-ratio: 3 / 4; 
}

.drawings img:nth-child(8) {
    grid-column: span 12;
}

.drawings img:nth-child(9),
.drawings img:nth-child(10),
.drawings img:nth-child(11) {
    grid-column: span 4;
    aspect-ratio: 4 / 4;  
}

.drawings img:nth-child(12),
.drawings img:nth-child(13),
.drawings img:nth-child(14),
.drawings img:nth-child(15),
.drawings img:nth-child(16),
.drawings img:nth-child(17) {
    grid-column: span 2;
    aspect-ratio: 1;   
}

.drawings img:nth-child(18) {
    grid-column: span 8;
}

.drawings img:nth-child(19) {
    grid-column: span 4;
}

.drawings img:nth-child(20),
.drawings img:nth-child(21),
.drawings img:nth-child(22),
.drawings img:nth-child(23) {
    grid-column: span 4;
    aspect-ratio: 3 / 5; 
}



.footer {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    grid-column: 1 / -1;           
    padding: 16px 0;               
    box-sizing: border-box;
}


.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px; 
    width: 100%;
    margin: 0 auto;    
    padding: 0 16px;   
}

.footer-icon {
    width: 160px;
    height: auto;
}

.footer-contact {
    color: #EE2A7B;
    font-family: "Nunito Sans", Helvetica, sans-serif;
    font-size: 20px;
    text-align: right;
    line-height: 1.5;
}

/*  Tablets  */
@media (min-width: 601px) and (max-width: 1024px) {

    .grid-container {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        gap: 16px;
    }

    header, main, .drawings, .footer {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .topnav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
        max-width: 100%;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        gap: 24px;
    }

    .icon {
        width: 140px;
        height: auto;
    }

    .stars-background {
        height: 50vh; 
        background-size: cover;
        background-position: center top;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 20px 0;
    }

    .intro-text {
        grid-column: 3 / 11;
        transform: none;
        padding: 0 16px;
        gap: 12px;
        align-items: center;
    }

    .h1 {
        font-size: 48px;
        text-align: center;
    }

    .p {
        font-size: 18px;
        text-align: center;
    }

    .drawings {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 12px;
        padding: 0 16px;
        margin-top: -50px;
    }

    .drawings img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .drawings img:nth-child(1),
    .drawings img:nth-child(2),
    .drawings img:nth-child(3) {
        grid-column: span 4;  
    }

    .drawings img:nth-child(4),
    .drawings img:nth-child(5),
    .drawings img:nth-child(6),
    .drawings img:nth-child(7) {
        grid-column: span 3;
    }

    .drawings img:nth-child(8) {
        grid-column: span 12;
    }

    .drawings img:nth-child(9),
    .drawings img:nth-child(10),
    .drawings img:nth-child(11) {
        grid-column: span 4;
    }

    .drawings img:nth-child(12),
    .drawings img:nth-child(13),
    .drawings img:nth-child(14),
    .drawings img:nth-child(15),
    .drawings img:nth-child(16),
    .drawings img:nth-child(17) {
        grid-column: span 2;
    }

    .drawings img:nth-child(18) {
        grid-column: span 8;
    }

    .drawings img:nth-child(19) {
        grid-column: span 4;
    }

    .drawings img:nth-child(20),
    .drawings img:nth-child(21),
    .drawings img:nth-child(22),
    .drawings img:nth-child(23) {
        grid-column: span 4;
    }

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        padding: 16px 0;
    }

    .footer-icon {
        width: 140px;
        height: auto;
    }

    .footer-contact {
        font-size: 16px;
        text-align: right;
    }
}


/*  Mobile  */
@media (max-width: 600px) {

    .grid-container {
        display: grid;
        grid-template-columns: 1fr;
        width: 100vw;
        max-width: 100%;
        margin: 0 auto;
        gap: 8px;
    }

    header, main, .drawings, .footer {
        width: 100%;
        margin: 0;
    }

    .topnav {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 16px 8px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }

    .icon {
        width: 120px;
        height: auto;
    }

    .stars-background {
        height: auto;
        min-height: 0;
        padding: 20px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .intro-text {
        grid-column: 1 / -1;
        transform: none;
        padding: 0 8px;
        gap: 8px;
        align-items: center;
    }

    .h1 {
        font-size: 30px;
        text-align: center;
    }

    .p {
        font-size: 14px;
        text-align: center;
    }

    .drawings {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 0;
        margin-top: 0;
    }

    .drawings img {
        grid-column: span 1 !important; 
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .footer-icon {
        width: 120px;
        height: auto;
    }

    .footer-contact {
        font-size: 14px;
        line-height: 1.5;
        text-align: center;
    }
}