/* copyright © Shivam Sharma 2025 */

@font-face {
    font-family: Roboto;
    src: url("./src/Roboto.ttf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Roboto, sans-serif;
}

html{
    zoom: 80%;
}
html,
body {
    width: 100%;
    height: 100%;
}

main {
    height: 100%;
    width: 100%;
    background-image: url("https://images.pexels.com/photos/1938348/pexels-photo-1938348.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2");
    background-size: cover;
    display: flex;
    position: relative;
    overflow: hidden;
}

#left {
    width: 70%;
    height: 100%;
    background-color: rgb(255 255 255 / 0.8);
    display: flex;
    flex-direction: column;
}

#left-nav {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 20px;
}

#left-content {
    width: 100%;
    height: calc(100% - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

#left-content h1 {
    font-size: 100px;
    font-weight: 400;
    line-height: 120px;
}

#left-content h3 {
    font-size: 50px;
    font-weight: 300;
}

#left-content h5 {
    font-size: 25px;
    font-weight: 400;
    margin-top: 50px;
}

#left-nav img {
    width: 80px;
}

#left-nav h3 {
    font-size: 20px;
    font-weight: 500;
}

#left-nav h3:hover {
    opacity: 50%;
    cursor: pointer;
}

#left p {
    color: #000;
    font-size: 15px;
    font-weight: 400;
    opacity: 40%;
    line-height: 15px;
    padding: 5px;
}

#right {
    width: 30%;
    height: 100%;
    background-color: rgb(0 0 0 / 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#right-nav {
    width: 100%;
    height: 80px;
    display: flex;
    margin-top: 20px;
    align-items: center;
    justify-content: space-evenly;
}

#right-nav h3 {
    color: #FFF;
    font-size: 20px;
    font-weight: 500;
}

#right h1 {
    font-size: 100px;
    font-weight: 500;
    line-height: 80px;
    color: #FFF;
    opacity: 70%;
}

#footer {
    position: absolute;
    rotate: -90deg;
    display: flex;
    gap: 100px;
    top: 50%;
    right: -12%;
}

#footer h4 {
    color: #FFF;
    font-size: 20px;
    font-weight: 400;
}

#prod {
    position: absolute;
    top: 20%;
    left: 50%;
    rotate: 25deg;
}

#prod img {
    width: 70%;
    -webkit-filter: drop-shadow(10px 10px 200px #000);
}

#prod:hover {
    -webkit-filter: drop-shadow(20px 20px 500px #000);
    transform: scale(1.1);
    rotate: 10deg;
    top: 15%;
    transition: all 2s;
}

#prod img:hover {
    width: 75%;
    cursor: pointer;
}

@media (min-width: 320px) and (max-width: 426px) {
    main {
        flex-direction: column;
        overflow: hidden;
    }

    #left {
        width: 100%;
        height: 50%;
        background-color: rgb(255 255 255 / 0.8);
    }

    #left-nav {
        margin-top: 10px;
    }

    #left-nav h3 {
        display: none;
    }

    #left-nav img {
        width: 40px;
    }

    #left-content {
        width: 100%;
        height: calc(100% - 10px);
        padding: 20px;
    }

    #left-content h1 {
        width: 100%;
        font-size: 50px;
        line-height: 50px;
    }

    #left-content h3 {
        font-size: 25px;
    }

    #left-content h5 {
        font-size: 10px;
        margin-top: 15px;
    }

    #right {
        width: 100%;
        height: 50%;
        justify-content: flex-end;
    }

    #right-nav {
        display: none;
    }

    #right h1 {
        font-size: 80px;
        line-height: 70px;
    }

    #footer {
        display: none;
    }

    #prod {
        width: 30%;
        top: 30%;
        left: 20%;
    }

    #prod img {
        width: 200%;
        -webkit-filter: drop-shadow(10px 10px 200px #000);
    }

    #left p {
        padding: 3px;
        color: grey;
        font-size: 10px;
    }
}

@media (min-width: 600px) and (max-width: 1000px) {
    #left {
        width: 65%;
    }

    #left-nav {
        height: 60px;
        margin-top: 10px;
    }

    #left-content {
        width: 100%;
        height: calc(100% - 60px);
        padding: 40px;
    }

    #left-content h1 {
        font-size: 60px;
        line-height: 60px;
    }

    #left-content h3 {
        font-size: 40px;
    }

    #left-content h5 {
        font-size: 25px;
        margin-top: 50px;
    }

    #left-nav img {
        width: 30px;
    }

    #left-nav h3 {
        font-size: 12px;
    }

    #right {
        width: 35%;
    }

    #right-nav {
        width: 100%;
        height: 60px;
        margin-top: 10px;
    }

    #right-nav h3 {
        color: #FFF;
        font-size: 12px;
    }

    #right h1 {
        font-size: 50px;
        line-height: 50px;
    }

    #footer {
        position: absolute;
        rotate: -90deg;
        display: flex;
        gap: 40px;
        top: 50%;
        right: -18%;
    }

    #footer h4 {
        color: #FFF;
        font-size: 15px;
        font-weight: 400;
    }

    #prod {
        position: absolute;
        top: 30%;
        left: 45%;
        rotate: 25deg;
    }

    #prod img {
        width: 70%;
        -webkit-filter: drop-shadow(10px 10px 200px #000);
    }

}