/* ======================= RESPONSIVE STYLES ======================== */

/* for-phone-only */
@media (max-width: 599px) { 
    .container {
        flex-direction: column;
    }

    .main-content {
        position: absolute;
        display: flex;
        width: 100%;
        height: 100%;
        padding: 0;
    }

    .home-tile {
        display: block;
        margin: 0 auto;
        width: 70vw; /* Adjust height to maintain aspect ratio */
        height: 180px;
    }

    .welcome {
        font-size: 50px; /* Reduce font size for smaller screens */
    }

    .desc {
        margin-top: 3rem;
    }

    .toggle-button {
        display: block;
        position: absolute;
        font-size: 30px;
        top: 15px;
        left: 15px;
        background-color: transparent;
        color: var(--title-color);
        border: none;
        padding: 10px 15px;
        cursor: pointer;
        z-index: 1100;
    }

    .title-img {
        width: 50%;
    }

    .sidebar {
        transform: translateX(-100%);
        background-color: white;
        width: 40vh;
        z-index: 1000;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .nav-section ul {
        list-style-type: none;
        padding: 0;
    }
    .nav-section ul li {
        margin-bottom: 5px;
        padding: 10px;
    }
    .nav-section ul li a {
        font-size: 20px;
        color: var(--text-color);
        text-decoration: none;
    }

    .info_banniere {
        font-size: 12px;
    }

    .about_me_desc {
        display: block;
        transform: translateY(40%);
        margin: 0 auto;
        width: 80vw;
        padding-bottom: 150px;
    }

    .function {
        font-size: 20px;
    }

    .about_me_img {
        display: none;
    }

    .no-scroll {
        overflow: scroll;
    }

    .artwork.enlarged {
        transform: scale(10);
    }

    .gallery {
        display: block;
        transform: translateY(45%);
        width: 80vw;
        margin: 0 auto;
    }

    .contact-tile {
        margin: 0 auto;
        width: 60vw; 
    }

    .form-title {
        width: 100%;
        font-size: 34px;
    }

    .success-message{
        margin-top: -10px;
        font-size: 11px;
    }
}

/* for-tablet-portrait-up */
@media (min-width: 600px) and (max-width: 899px) { 
    .sidebar {
        width: 200px; /* Adjust sidebar width for tablets */
    }

    .home-tile {
        width: 300px; /* Adjust height to maintain aspect ratio */
        height: 180px;
    }

    .welcome {
        font-size: 50px; /* Reduce font size for smaller screens */
    }
    .desc {
        margin-top: 3rem;
    }
    

}

@media (min-width : 1400px) and (max-width: 1799px){
    .title-img {
        width: 70%;
        height: auto;
        display: block;
    }

    .about_me_desc{
        width: 95vh;
        font-size: 16px;
        margin-top: 100px;
        line-height: 20px;
    }

    .contact-tile {
        height: 60%;
    }
}

@media (min-width: 600px) { 

    .toggle-button{
        display: none;
    }

}