/* Alvaroist-GitHub Portfolio
-------------------------------------------------------------------------*/
/* Global
-------------------------------------------------------------------------*/
body{
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1.2;
    background-color: #f5f5f5;
    margin:0;
    padding: 0;
}

a{text-decoration: none}
a:visited{color:#000000}
a:hover{color: #facf0f}

/* Header
--------------------------------------------------------------------------*/

.header{
    width: 100%;
    background-color: #fff;
    position: fixed;
    cursor: pointer;
    z-index: 1000;  
    box-shadow:0 10px 100px rgba(0,0,0,.1);
}

.header__container{
    font-weight: bold;
    font-size: medium;
    display: flex;
    align-items:center;
    justify-content:space-between;
}

/*
    Main menu, smal icons and small menu 
 */
 .header__rightSection{
    width: 740px;
    display: flex;
    justify-content: right;
 }

.header__rightSection--mainMenu{
    width: 620px;
    display: flex;
    margin-top: 35px;
}

/*@media only screen and (max-width: 37em){
    .header__container{width: 100%}
}*/

@media only screen and (max-width: 37em){
    .header__rightSection--mainMenu{display:none};
}

.header__rightSection--mainMenu li{
    list-style: none;
    margin-left: 55px;
    letter-spacing: 1px;
}

.header__smIcons{
    width: 65px;
    height: 30px;
    display: none;
    text-align: center;
    margin-top: 25px;
}

.d-none{
    display: none;
}

@media only screen and (max-width:37em){
    .header__smIcons{display: block};
}

.header__smallmenu{    
    width: 100%;
    box-shadow:0 5px 5px 0 rgba(0,0,0,.1);
    display:none;
}

.header__smallmenu--active{
    display: block;
    opacity:0;
}

@media only screen and (max-width: 37em){
    .header__smallmenu--active{
        visibility: visible;
        opacity: 1;
    }
}

.header__smallmenu li{
    list-style: none;
    background-color: #ffffff;
    border-top: 1px solid #e4e4e0;
    padding: 12px 30px;
    text-align: right;
}

.header__smallmenu ul{
    padding: 0%;
    margin:0;
}

.header__leftSection{
    width: 600px;
    display: flex;
    align-items: center;
}

.header__leftSection--logoContainer img{
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 8px 10px 2px 35px;
}

/* Social bar
-------------------------------------------------------------------------*/

.social-bar{
    position:absolute;
    top:250px;
}

@media only screen and (max-width:56.25em){
    .social-bar{display:none}
}

.social-bar li{
    width: 35px;
    height: 35px;
    padding: 10px;
    background-color: #fff;
    list-style: none;
}

/* Introduction section
-------------------------------------------------------------------------*/
.introduction{
    position: relative;
    width: 100%;
    height: 1000px;
    text-align: center;
}

@media only screen and (max-width: 37em){
    .introduction{
        height: 700px;
    }
}

.introduction input, .about-me_description__know-me input, .contact__form-submit-button{
    width: 250px;
    height: 50px;
    font-size: 20px;
    font-weight: 550;
    background-color: #facf0f;
    border-radius: 4px;
    box-shadow:0 5px 5px 0 rgba(0,0,0,.1);
}

.introduction__greeting{
    font-size: 52px;
    font-weight: 600;
    padding-top: 260px;
    padding-bottom: 50px;
}

.introduction_introText{
    margin-bottom: 60px;
    
    text-align:justify;
}

@media only screen and (max-width: 37em){
    .introduction_introText {padding: 0 20px 0 20px}
}

.introduction_introText p{
    font-size: 24px;
    font-weight: 500;
}

.introduction__mouseScroll{
    position:absolute;
    bottom: 23%;
    left:48%;
    transform: translateX(50%);
}

@media only screen and (max-width:56.25em){
    .introduction__mouseScroll{display:none}
}

.mouse::before{
    content: '';
    width: 5px;
    height: 5px;
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    border-radius: 50%;
    opacity: 1; 
    animation: wheel 1.3s infinite;
}

@keyframes wheel{to{opacity:0;top:27px}}

.mouse{
    width: 25px;
    height: 40px;
    border: 2px solid #333;
    border-radius: 60px;
    position: relative;
    overflow: hidden;
}

.about-me{
    width: 100%;
    margin-top: 100px;
}

.about-me span{
    font-size: 52px;
    font-weight: 700;
}

.about-me_title{
    text-align: center;
    font-size: 20px;
    margin-bottom: 100px;
}

@media only screen and (max-width: 37em){
    .about-me_title p{padding: 20px}
}


.about-me_description{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.about-me_description__know-me{
    width: 650px;
    text-align: justify;
    font-size: 18px;
}

.about-me_description__know-me p{
    padding-left: 60px;
    padding-right: 60px;
}

.about-me_description__know-me input{
    margin-left: 60px;
}

.about-me_description__know-me h2{
    padding-left: 60px;
}

.about-me_description__myskills div{
    display: inline-block;
    font-size: 20px;
    padding: 8px;
    margin: 10px;
    background-color: rgb(190, 188, 188);
    border-radius: 4px;
}

.about-me_description__myskills h2{
    text-align: left;
    font-size: 30px;
}

.about-me_description__myskills{
    width: 650px;
}

@media only screen and (max-width: 37em){
    .about-me_description__myskills{padding: 20px}
}

/* Introduction section
-------------------------------------------------------------------------*/
.projects{
    width: 100%;
}

.projects h2{
    margin-top: 150px;
    text-align: center;
    font-size: 52px;
}

.projects__container div img{
    display: block;
    margin: auto;
}

.projects__container{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.projects__container div{  
    width: 400px;
    height: 400px;
    border: 2px solid black;
    box-sizing: border-box;
    margin: 10px 5px;
}


/* Contact
--------------------------------------------------------------------------*/

.contact{
    width: 100%;
    text-align: center;
    margin-top: 190px;
}

.contact__desc span{
    font-size: 52px;
    font-weight: 600;
}

.contact__desc p{
    padding: 0 5px 0 5px;
}

.contact__form{
    background-color: #fff;
    border-radius: 5px;
    width: 820px;
    text-align: left;
    margin:5rem auto 0 auto;
    box-shadow:0 5px 5px 0 rgba(0,0,0,.1);
}

.contact__form-submit{
    width: 760px;
    height: 85px;
    text-align: right;
    margin: auto;
}

@media only screen and (max-width:37em){
    .contact__form{width: 90%;}
    .contact__form-submit{text-align: center; width: 100%}
    .contact__form-input{width: 85%;}
    .contact__form-field{width: 85%;}
    .contact__form-label{width:90%}
}

.contact__form-field{
    width: 94%;
    margin: auto;
}

.contact__form-input{   
    margin: auto;
    width: 95%;
    line-height: 2;
    /*padding: 15px;*/
    font-weight: 600;
    border: 1px solid #ebebeb;
    border-radius: 5px;
    background-color: #f0f0f0;
}

textarea{
    resize: none;
}
.contact__form-label{
    color:#666;
    font-weight: 700;
    /*display: block;*/
}

/* footer
--------------------------------------------------------------------------*/

.footer{
    width: 100%;
    text-align: left;
    background-color: rgb(0, 0, 0);
    color: white;
    margin-top: 8em;
}

.footer__container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer__container div{
    box-sizing: border-box;
}
.footer__upperSection--authorDesc{
    font-size: medium;
    padding: 50px;
    width: 610px;
}

.footer__upperSection--social{
    font-size: larger;
    font-weight: 600;
    padding: 50px;
    width: 610px;  
}

.footer__upperSection--socialicons{
    display: flex;
    float: right;
}

.footer__upperSection--social h3{
    width: fit-content;
    margin-left: 310px;
}

.footer__upperSection--socialicons img{
    width: 30px;
    height: 30px;
    padding: 5px;
}

.footer__copyright{
    width: 100%;
}

.footer__copyright div{
    text-align: center;
    margin-top: 30px;
    font-size: small;
}

.footer__copyright div hr{
    width: 93%;
}

@media only screen and (max-width:37em){
    .footer__container{
        width: 100%;
    }
    .footer__upperSection--social h3{
        margin-left: 220px;
    }
}