body,
html {
    font-family: "Montserrat", serif;
    /*overflow-y: hidden;*/
    max-width: 100%;
    background-color: #FFFFFF;
    overflow-x:hidden;
}

#body{
    height: 100vh;
}

/*HOME*/
.colName{
    display: block;
    padding-top: 5%;
    justify-content: start;
    align-items: center;

}

.myName{
    color: black;
    font-size: 4rem;
    margin: 0;
    font-style: normal;
    font-weight: 700;
    font-family: 'Oswald', sans-serif
}
.containerRetract{
    display: flex;
    justify-content: flex-end;
    padding-right:4%!important;
}
.job{
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color:#4d4d4d;
    margin: 0 2% 0 0;
}

.job3 a{
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color:black!important;
    margin:  3% 2% 2% 0;
    cursor: pointer;
}


.container1 {
    padding-top: 10%;
}

.row1 {
    width: 100vw;
}
.myRetract {
    width: 60%;
    height: 100%;
}

/*ANIMATION PRELOADER*/

.wrapper {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.loading {
    margin: 0 auto;
    border-top: 3px solid white;
    width: 95vw;
    position: absolute;
    padding: 0;
    left: 0;
    right: 0;
    top: 50%;
    z-index:3;
}

div .loading .spin .class{
    width: 100vw;
}

.spin {
    -webkit-animation: spin 1s infinite linear;
    -moz-animation: spin 1s infinite linear;
    -o-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
    width: 94vw;
}

.spin {
    -ms-animation: spin 1 infinite linear;
}

@keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spin {
    from {
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-ms-keyframes spin {
    from {
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        transform: rotate(3670deg);
    }
}

@-o-keyframes spin {
    from {
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.class {
    -webkit-animation: none;
    -moz-animation: none;
    -o-animation: none;
}

.up {
    background-color: black;
    width: 100vw;
    height: 50vh;
    position: absolute;
    top: 0;
    z-index:2;

}

.down {
    background-color: black;
    width: 100vw;
    height: 50vh;
    position: absolute;
    bottom: 0;
    z-index:2;
}

.left-text-con,
.right-text-con {
    position: absolute;
    width: 50vw;
    height: auto;
    top: 35%;
}

.left-text-con {
    left: -50%;
    text-align: right;
    margin-right: 10px;
}

.right-text-con {
    right: -50%;
}

.text {
    color: #34495e;
    font-size: 4em;
    margin: 0 auto;
}

@media (max-height: 300px) {
    .text {
        font-size: 3em;
    }
    .left-text-con,
    .right-text-con {
        top: 20%;
    }
}

.anchor-user {
    font-size: 3em;
    position: relative;
    bottom: 0;
    right: 20px;
    color: #000;
}

.anchor-user:hover {
    color: black;
    -webkit-transition: color .5s ease;
    -moz-transition: color .5s ease;
    -ms-transition: color .5s ease;
    -o-transition: color .5s ease;
    transition: color .5s ease;
}


/*ANIMATION CHANGE COLOR*/

body.dark-mode {
    background-color:#FEFEFE;
    color:  #1F2022;
    width: 100vw;
    height: 100vh;
}
body.light-mode .wrapper2 .overlay {
    background-color:  #1F2022;
}
body.light-mode .wrapper2 .overlay ul {
    border-right: solid;
}

body.dark-mode a {
    color: #FEFEFE;
}

body.dark-mode .btnAboutMe {
    background-color:  #1F2022;
    color: #FEFEFE;
}

body.dark-mode .btnAboutMe {
    background-color: #FEFEFE;
    color:#1F2022;
}

body.light-mode .wrapper2 span  {
    background-color:  #1F2022;
    color: #FEFEFE;
}
body.dark-mode .wrapper2 span{
    background-color: white;
    color: #1F2022;
}


body.dark-mode button {
    background-color: #1F2022;
    color: #FEFEFE;
}
body.dark-mode .myName {
    background-color: #FEFEFE;
    color:black ;
}
body.light-mode .myName {
    background-color: #1F2022;
    color: #FEFEFE;
}

body.light-mode {
    background-color: #1F2022;
    color: #FEFEFE;
}

body.light-mode a {
    color:#FEFEFE;
}
body.light-mode button {
    background-color: white;
    color: #1F2022;
}

.change-color-icon{
    position: absolute;
    top: 88px;
    z-index: 1;
    right: 5%;
    border-radius: 100%;
    width: 40px;
    border: solid 1px #ddd;
    height: 40px;
    cursor: pointer;
}

/*MAVBAR*/

body .wrapper2 {
    width: 20vw;
    height: 100vh;
    position: absolute;
    overflow: hidden;

}

.wrapper2 ul {
    padding: 59px 0;
}

body .wrapper2 span {
    z-index: 1;
    position: absolute;
    top: 10%;
    left: 20%;
    width: 70px;
    height: 70px;
    background:white;
    cursor: pointer;
    border-radius: 100%;
    border: 1px solid #ddd;
    justify-content: center;
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 35px;
    padding-bottom: 20px;
}

body .wrapper2 span:before {
    top: -8px;
}
body .wrapper2 span:after {
    bottom: -8px;
}
body .wrapper2 .overlay {
    position: absolute;
    bottom: -100%;
    height: 100%;
    background: black;
    left: 0;
    width: 100vw;
    transition: all 0.5s ease;
}
body .wrapper2 .overlay.anim {
    left: 0;
    bottom: 0;
    animation: menu-anim 0.5s 1 ease-out normal;
    width: 100%;
    transition: all 0.5s ease;
    z-index: 1;
}
body .wrapper2 .overlay.anim.reverse-anim {
    left: 0;
    bottom: 0;
    animation: menu-anim 0.5s 1 ease-out reverse;
    width: 100%;
    transition: all 0.5s ease;
}
body .wrapper2 .overlay ul {
    width: 100%;
    text-align: center;
    margin-top: 100px;
    padding-left: 0;
    margin-left: -10px;
    font-size: 1.2em;
    font-weight: 800;
}
body .wrapper2 .overlay ul li {
    margin: 10px 0;
}
body .wrapper2 .overlay ul li a {
    text-decoration: none;
    color: #FFFFFF;
    position: relative;
    display: inline-block;
    padding: 10px 0;
    overflow: hidden;
    font-size: 100%;
    line-height: 1;
    font-weight: 100;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
}
body .wrapper2 .overlay ul li a:after {
    display: block;
    border-radius: 2px;
    content: '';
    left: 0;
    bottom: -10px;
    height: 5px;
    background: #ffffff;
    transform: translateX(-101%);
}
body .wrapper2 .overlay ul li a:hover {
    text-decoration: none;
}
body .wrapper2 .overlay ul li a:hover:after {
    animation: border-anim 0.5s 1 ease normal;
    transform: translateX(0);
}
@-webkit-keyframes border-anim {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}
@-webkit-keyframes menu-anim {
    0% {
        left: 0;
        bottom: -99%;
        width: 100%;
    }
    33% {
        left: -99.5%;
        bottom: -99%;
        width: 100%;
    }
    66% {
        left: -99.5%;
        bottom: 0;
        width: 100%;
    }
    100% {
        bottom: 0;
        left: 0;
        width: 20%;
    }
}

@media(max-width: 600px) {
    body .wrapper2 span {
        width: 50px;
        height: 50px;
        top: 9.5%;
        left: 5%;
    }
    .change-color-icon {
        top: 66px;
    }
    body .wrapper2 {
        width: 38vh;
    }

    .containerRetract {
        justify-content: center;
        padding-top: 9%;
        padding-right: 9% !important;

    }

    .myName {
        padding-left: 10%;
    }

    .job {
        padding-left: 13%;
        font-size: 22px;
    }


   #btnCV {
        display: flex;
        justify-content: flex-end;
        width: 73vw;
    }

   .aboutMe .rowAboutMe {
       width: 60vw;
       padding-top: 10%;
   }

    .aboutMe .rowAboutMe .myName {
        padding-left: 0;
    }

    .row-contact {
        padding-top: 27%!important;
        margin-bottom:0!important;
    }

    .row-contact .myName {
        padding-left: 0;
        font-size: 3em;
    }

    .rowKnows {
        padding-top: 20%;
    }

    .rowKnows .myName {
        font-size: 3em;
        padding-left: 0;
    }

    .rowProjects {
        padding-top: 20%;
    }

    .rowProjects .myName {
        font-size: 3em;
        padding-left: 0;
    }

}

/*ABOUT ME*/
.about-section {
    width: 100vw;
    height: 100vh;
    margin-top: 8em;
    margin-bottom: 13em;
    z-index: -1;
}

.containerAboutMeTitles {
    font-family: 'Oswald', sans-serif;
}

.aboutMeTitles{
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 3px;
}
.containerAboutMeTitlesP {
    font-size: 14px!important;
    font-weight: normal;
}

.about-section p {
    color: #6C757D;
    text-align: justify;
    text-space: 10;
    letter-spacing: 3px;
    line-height: 28px;
}


.photo {
    height: 70%;

}
.photo img {
    width: 84%;
    padding: 3%;

}

.aboutMe{
    width: 50vw;
    height: 100vh;
    padding-top: 10vh;
    margin-left: 15vw;
}


/*PROJECTS*/
.card {
    margin-bottom: 40px;
    /*margin-right: 1em;*/
    box-shadow: 0 20px 40px -14px rgba(0,0,0,0.25);
    border-radius: .75rem;
    color: black;

}

.card:hover {
    background:#919191;
    color: white;
}

.card img {
    height: 100%;
    padding-top: 1.5em;
}

.myProjects{
    width: 100vw;
    margin-top: 6%;
    /*margin-left: 10%;*/
    font-size: 0.7rem;
    line-height: 1.5;
}

.btn{
    font-size: 0.7rem!important;
}

/*    CONTACT*/

.reds {
    width: 7em;
    padding-top: 17px;
    padding-bottom: 9px;
}

.row-contact {
    justify-content: center;
    align-items: center;
    padding-top: 10%;
    margin-bottom: 34%;
}

.row-contact-icon{
    margin-top: 10%;
}


/*KNOWLEDGE*/

.about-knowledge{
    padding-top: 7%;
    padding-bottom: 13em;
    width: 70vw;
    margin-left: 10%;
}

.column-know{
    display: grid;
}


.contend {
    position: relative;
    width: 50%;
    margin: 1em;
}

.image {
    display: block;
    width: 7.93em;
    height: 7.93em;
    border-radius:100%;
}

.overlay2 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 7.93em;
    height: 7.93em;
    opacity: 0;
    transition: .5s ease;
    background-color: rgba(31, 31, 31, 0.9);
    border-radius:100%;

}

.contend:hover .overlay2 {
    opacity: 1;
}

.text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}


/*INF CONTACT*/
.grow:hover {
    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
}

