
/* -------------------------   IMPORTS  ---------------------------------- */


:root {
    --body-bg-color: #121214;
    --text-color: #E1E1E6;
    --title-color: #04D361;
    --form-color: #A8A8A8;
    --bg-button-color: #8257e5;
  }

  @import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;700&display=swap');

  @import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;700&family=Work+Sans:wght@400;500;700&display=swap');
  

  @keyframes go-back {
    0% {
        transform: translateX(100px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes bounce {
    from {
      transform: translateY(0px);
    }
    to {
      transform: translateY(-15px);
    }
  }
  @-webkit-keyframes bounce {
    from {
      transform: translateY(0px);
    }
    to {
      transform: translateY(-15px);
    }
  }



/* -------------------------   GENERAL  ---------------------------------- */




* {
    margin: 0;
}

body {
    display: flex;
    flex-flow: row wrap;
    background-color: var(--body-bg-color);
    background-image: url(./assets/read_news.jpg);
    background-size: cover;
    background-repeat: no-repeat;

    width: 100%;
    height: 100vh;
}

    

/* -------------------------   CONTENTS  ---------------------------------- */

#contents {
    background-color: var(--body-bg-color);
    flex: 0.5 1;
}

    
        

    #lado-a {
        flex: 1 1;
    }

        
            #logo{
                min-width: 200px;
                width: 50%;
            }

                #logo img {
                    
                    width: 100%;
                    height: 100%;
                    margin: 50px 0px 80px 30px;
                    animation: go-back 1s;
                }


        #text {
            min-width: 300px;
            margin: 50px 37px 50px 36px;

            flex: 1 1;

        }

            

            #text h2{
                color: var(--title-color);
                font-family: 'Work Sans', sans-serif;
                font-size: 35px;
                margin-bottom: 15px;

                animation: go-back 1.5s;
            }

            #text h3{
                color: white;
                font-family: 'League Spartan', sans-serif;
                font-size: 22px;
                margin-bottom: 15px;

                animation: go-back 2s;
            }

            #text p{
                font-family: 'League Spartan', sans-serif;
                font-weight: 100;
                color: white;
                font-size: 20px;

                animation: go-back 2.5s;
            }
        








            #legend{
                width: 150px;

                margin-top: 100px;

                font-family: 'Work Sans', sans-serif;
                color: var(--form-color);
                font-size: 20px;
                margin-left: 36px;

                font-weight: 500;
                animation: go-back 3s;
            }






            #email {
                margin: 30px 0px 0px 36px;

                min-width: 250px;
                width: 110%;
                height: 65px;
                box-shadow: 15px 10px 10px rgba(00, 00, 00, 50%);

                position: relative;
                display: flex;

                z-index: 1;
                animation: go-back 3.5s;
            }
 

                #email form{
                    display: flex;
                    width: 100%;    
                }

                #box {
                    padding-left: 20px;
                    box-sizing: border-box;
                    
                    display: flex;
                    
                    width: 100%;
                    height: 65px;
                    border: 0;
                }

                    #boxgreen{
                        background-color: var(--title-color);
                        width: 8px;
                        height: 65px;
                        
                    }

                    #boxpurple{
                        background-color: var(--bg-button-color);
                        width: 65px;
                        height: 65px;

                        justify-content: center;
                        align-items: center;
                        display: flex;

                        border: 0;
                    }

                        #boxpurple img{
                            height: 35px;
                        }

                        #boxpurple img:hover{
                            transform: scale(1.2);
                            transition: 0.5s;
                        }






/* ---------------  RESPONSIVE CONFIG -------------------------*/




    @media (max-width: 750px) {

        body {
            background-image: none;
        }

        #contents {
            flex: 1 1;
            }


        #email {
            width: 80%;

            min-width: 200px;
            max-width: 650px;
            flex: 1 1;
        }

    }
