*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,body{
    height: 100%;
    width: 100%;
    
}

/* h2{
    font-size: 80px;
    text-align: center;
     padding-top: 80px; 
    background: linear-gradient(to right, red,blue);
    color: transparent;
    -webkit-background-clip:  text;
    text-shadow: 0 0 60px rgba(255, 0, 0, 0.502);
     animation: anime 1s infinite alternate;  
} */

/* @keyframes anime{
    100%{
        text-shadow:0 0 60px rgba(0, 0, 255, 0.703) ;
    }
} */

html{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
     Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

main{
    width: 100%;
    padding: 1.5rem;
    padding-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    #hero-section{
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1em;
        img {
           width: 100%;
           object-fit: cover;
        }
        #text{
            display: flex;
            justify-content: space-between;
            font-family: monospace;
            p{
                text-transform: uppercase;
            }
        }
    }

    #image-text{
        width: 100%;

        #top{
            width: 100%;
            aspect-ratio: 1/1;
            img{
                height: 100%;
                width: 100%;
                object-fit: cover;
            }
        }
        #button{
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 1em;
            h1{
                font-size: 2.5rem;
                font-weight: 350;
                line-height: 1;
                text-transform: uppercase;

            }
            p{
                font-size: 1.2rem;
                font-weight: 200;
                font-family: monospace;
                line-height: 1.2;
                opacity: 0.8;
            }
            #services{
                width: 100%;
                display: flex;
                flex-direction: column;
                gap: 1em;

               .service{
                width: 100%;
                display: flex;
                justify-content: space-between;
                font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 
                Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
                text-transform: uppercase;
               }
            }
        }
    }

    .verticle-text{
        width: 100%;
        display: flex;
        gap: 1em;
        flex-direction: column;
        #top {
            width: 100%;
            aspect-ratio: 1/1;
            img{
                height: 100%;
                width: 100%;
                object-fit: cover;
            }
        }
        .button{
            display: flex;
            gap: 1em;
            p{
                writing-mode: vertical-rl;
                padding-top: 0.5em;
            }
            .text{
                h1{
                    font-size: 3.5em;
                    font-weight: 350;
                    gap: 2em;
                    line-height: 1em;
                    text-transform: uppercase;
                }
                p{
                    writing-mode: initial;
                    line-height: 1.2em;
                    font-family: monospace;
                    font-size: 1.5em;
                    opacity: 0.7;
                }
            }
        }
    }
}

/*For desktop*/
@media (min-width:900px) {
    main {
        padding: 4em;
        gap: 4em;
        #image-text{
            display: flex;
            flex-direction: row-reverse;
            gap: 5em;
            #button{
                h1{
                    font-size: 4em;
                }
                #services{
                    margin:  auto;
                    .service{
                        p{
                            font-size: 2em;
                        }
                    }
                }
            }
        }
        .verticle-text{
            flex-direction: row;
            gap: 3em;
            .top{
                width: 30%;
            }
            .button{
                width: 70%;
                flex-direction: row-reverse;
                justify-content: space-between;
                .text{
                    /* height: 100%; */
                    display: flex;
                    flex-direction: column;
                    h1{
                        font-size: 5em;
                    }
                    p{
                        margin-top: auto;
                    }
                }
            }
        }
    }
}