
body{
    background-color: #333;
    color: #aaa;
    font-family: 'Magra', sans-serif;
    margin: 0px;
    overflow-x: hidden;
    height: 100%;
}

.menu{
    font-family: 'Economica', sans-serif;
    position: fixed;
    width: 100%;
    background-color: #282828;
    padding-bottom: 12px;
    border-bottom: 1px solid #912;
    height: 75px;
    z-index: 100;
    
}

.menu-item{
    transition: all 0.1s ease;
}

.menu-item:hover{
    font-size: 1.1em;
    text-shadow: 1px 1px 10px #c34;
}

@media screen and (max-width: 768px) {
    #main {
        margin: 0px 20px;
    }
}

.home_text{
    padding-top: 25%;
}

.theM{
    font-family: 'Magra', sans-serif;
    font-style: italic;
    color: #c34;
}

.contacts:hover {
    padding-top: 120px;
    padding-left: 120px;
}

.contacts {
    position: fixed;
    bottom: 0px;
    right: -1px;
    padding-top: 100px;
    padding-left: 100px;
    background-image: url(../layout/contacts.png);
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 0.3s ease;
}

.arrow {
    background-image: url(../layout/arrow.png);
    padding: 10% 10%;
    background-size: 320px;
    background-repeat: no-repeat;
    background-position: center;
    top: -65px;
    left: -1500px;
    z-index: 10;
    transition: all ease 0.5s;
}

@media screen and (min-width: 1200px) {
    .arrow {
         padding: 10% 10%;
         background-size: 400px;
    }
}

@media screen and (max-width: 991px) {
    .arrow {
         display: none;
    }
}


.photo {
    background-image: url(../layout/polaroid2.png);
    padding: 130px 30px;
    background-size: 190px;
    top: 1000px;
    left: -53px;
    background-repeat: no-repeat;
    background-position-x: center;
}

@media screen and (max-width: 991px) {
    .photo {
         left: 0px;
    }
}

.about{
    padding-top: 10%;
}

@media screen and (max-width: 768px) {
    .about{
        padding-top: 100px;
    }
}


#text1 {
    top: 1600px;
}

#text2 {
    top: 1600px;
}

#text3 {
    top: 1600px;
}

.monster {
    background-image: url(../layout/monster.gif);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    padding-bottom: 150px;
    top: 1600px;
}

.html-pc {
    background-image: url(../layout/html-pc.gif);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    padding-bottom: 150px;
    top: 1600px;
}

.leisure{
    background-image: url(../layout/leisure.gif);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    padding-bottom: 150px;
    top: 1600px;
}


.skills{
    padding-top: 10%;
}


@media screen and (max-width: 768px) {
    .skills{
        padding-top: 100px;
    }
}

.s-item{
    text-align: center;
}

.s-item h2 {
    border: 1px solid #333;
    border-radius: 3px;
    box-shadow: 1px 1px 4px #000;
    background-color: #433;
    padding: 15px;
}

.older{
    padding-top: 50px;
}

.site-img {
    padding-bottom: 190px;
    background-position: center;
    background-size: 320px 180px;
    border-radius: 3px;
    border: 10px;
    background-repeat: no-repeat;
}

.older-item h3{
    border-radius: 3px;
    border: 1px solid #c34;
    background-color: #222;
    padding: 10px;
}

.nome{
    background-image: url("../works/nome/nome1.jpg");
}

.ri{
    background-image: url("../works/RI/RI1.jpg");
}

.work{
    padding-top: 150px;
}

.prj-images {
    padding-top: 100px;
    padding-bottom: 30px;
}

.work-image{
    width: 100%;
    margin-bottom: 10px;
}

.skill-item {
    margin: 10px;
}

.contacts-container {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(2,2,2,0.9);

    z-index: 10;
    transition: all 1s ease;
    overflow: auto;
}

.close-contacts {
    top: 100px;
    position: fixed;
    color: #fff;
    right: 30px;
    background-color: #333;
    border-radius: 10px;
    font-size: 1.9em;
    line-height: 0.9em;
    border: 1px solid #c34;
    padding: 0px 5px 3px;
}

.mailer {
   
    top:110px;
    text-align: center;
}

.social {
  
    top: 150px;
    text-align: center;
}

.social i {
    width: 100%;
    vertical-align: middle;
    height: auto;
    font-size: 4em;
    line-height: 150px;
    color: #c34;
}


.mailer_field {
    background: #222;
    border-color: #c34;
    color: #ddd;
}


#message {
    background-color: #222;
    border-color: #c34;
    border-radius: 4px;
}

.send {
    background-color: #c34;
    color: #000;
}
/******* MISC *******/

.huge{
    font-size: 48px;
    text-shadow: 1px 2px 2px #b34;
    transition: text-shadow 0.5s ease;
}

.huge:hover{
    text-shadow: 2px 3px 10px #b34;
}

.note {
    font-size: 0.4em;
}

.myred{
    color: #c34;
}


.pointer:hover{
    cursor: pointer;
}



a{
    text-decoration: none;
    color: inherit;
}

a:hover{
    text-decoration: none;
    color: inherit;
}

#canvas {
  position:fixed;
  left:0;
  top:0;
  opacity: 0.4;
  z-index: -1;
}

.row{
    clear: both;
}

#text1{
    clear: both;
 
}

.clearer{
    clear: both;
}

.firefox-glitch{
    min-height: 145px;
}