body, html, *{
    margin: 0;
    padding: 0;
}

body{
    background: white;
    /* background-size: contain */
}

section#entire{
    background-color: white;
    background-image: url(images/oneq.jpg);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: 100% 50%;
    width: 80%;
    margin: 2% auto;
    padding: 5%;
    padding-bottom: 4%;
    box-shadow: 0px 10px 35px black;
    border-radius: 15px;
    position: relative;
}

.hide{
    animation: hide ease 2s 1 forwards;
}

.show{
    animation: show ease 2s 1 forwards;
}

@keyframes hide{
    from{
        opacity : 1;
        transform: scale(.9)
    }
    to{
        opacity: 0;
        transform: scale(.0)
    }
}


@keyframes show{
    from{
        transform: scale(.0)
    }
    to{
        transform: scale(.9)
    }
}

nav li{
    float: right;
    list-style-type: none;
    padding: 2%;
    padding-top: 1%;
    transition: border 0.5s;
}

nav a{
    text-decoration: none;
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1.2em;
    font-weight: bold
}

nav a:hover li{
    border-bottom: 4px solid white
}

nav{
    /* padding: 2%; */
    margin-bottom: 0%;
}

h1{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 4em;
    color: green;
    margin-top: 5%;
    margin-bottom: 4% ;
    text-shadow: 1px 0px 10px green;
}

h2{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1.3em;
    margin-bottom: 4%;
    color: rgb(78, 54, 8);
}

h2 span{
    color: green;
}

#entire img{
    width: 50px;
    height: 50px;
    border-radius: 150%;
    box-shadow: 0px 3px 15px black;
    transition: box-shadow 0.5s;
    position: relative;
}


#entire img:hover{
    box-shadow: 0px 6px 30px black;
    cursor: pointer;
}

#entire #socials{
    margin-top: 5%;
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-gap: 10%;
    width: 20%;
}















/** CONTACT **/

#contact{
    background-color: white;
    background-image: url(images/two.jpg);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: 100% 50%;
    width: 80%;
    margin: 2% auto;
    padding: 5%;
    padding-bottom: 8%;
    box-shadow: 0px 10px 35px black;
    border-radius: 15px;
    position: absolute;
    top: 0;
    right: 5%;
}

#contact h1{
    margin-top: 0%;
}

#contact input{
    width: 100%;
    height: 40px;
    border: 0;
    background: transparent;
    outline: 0;
    border-bottom: 2px solid green;
    padding: 1% 1% 0 1%;
    font-size: 1.1em;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: green;
    margin-bottom: 2%;
}

#contact button{
    width: 50%;
    height: 40px;
    border: 0;
    outline: 0;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1.1em;
    color: white;
    background: green;
    transition: background 0.5s, color 0.5s;
}

#contact button:hover{
    background: orange;
    color: green;
    cursor: pointer
}













/** WORKS **/

#works{
    background-color: white;
    background-image: url(images/four.jpg);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: 100% 50%;
    width: 80%;
    margin: 2% auto;
    padding: 5%;
    padding-bottom: 4%;
    box-shadow: 0px 10px 35px black;
    border-radius: 15px;
    position: absolute;
    top: 0;
    right: 5%;
}


#works article{
    display: inline-grid;
    grid-template-columns: auto auto;
    grid-gap: 3%;
}

#works h1{
    margin-top: 0%;
}

#works img{
    width: 100%;
    height: 250px;
    box-shadow: 2px 0px 10px black;
    opacity: 0.9;
    transition: box-shadow 0.5s, opacity 0.5s;
}

#works img:hover{
    cursor: pointer;
    opacity: 1;
    box-shadow: 5px 0px 25px black;
}

