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

:root {
    --background-primary: white;
    --color-primary: black;
}

html[data-theme='dark'] {
    --background-primary: black;
    --color-primary: white;
}

* {
    margin: 0;
    padding: 0;
}

html, body {
    transition: background-color 300ms, color 300ms;
    background-color: var(--background-primary);
    color: var(--color-primary);
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    /* border: 3px solid white; */

    height: 100%;
}

header {
    width: 70%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    padding: 20px;
    align-items: center;
}

header .logo {
    text-align: center;
    line-height: 50px;
    height: 50px;
    width: 50px;
    font-size: 40px;
    color: var(--color-primary);
    border-radius: 50%;
    border: 5px solid var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
}

header .logo a {
    color: var(--color-primary);
    text-decoration: none;
}

header nav {
    display: flex;
}

header nav li {
    list-style: none;
    color: #FFF;
    margin: 0 20px;
    font-size: 20px;
}

header nav li a:hover {
    color: var(--background-primary);
    background-color: var(--color-primary);
}

header nav li a {
    color: var(--color-primary);
    text-decoration: none;
    text-transform: uppercase;
}

.display-none {
    display: none !important;
}

.float {
    border: 2px var(--color-primary) solid;
	position: fixed;
	width: 50px;
	height: 50px;
	bottom: 30px;
	right: 30px;
	background-color: var(--background-primary);
	border-radius: 50px;
	text-align: center;
}

.icon-mode {
    font-size: 30px;
    color: var(--color-primary);
}

#hambuguer-btn {
    display: none;
}

/* CENTRO DA PÁGINA */
.container {
    width: 70%;
    /* height: 100%; */
    margin: 200px auto;
    display: flex;
    justify-content: space-between;
}

/* LADO ESQUERDO DO CENTRO */
.container .intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
}

.container .intro h1 {
    font-size: 50px;
    text-align: center;
}

.container .intro h3 {
    font-size: 30px;
    text-align: center;
}

.container .intro .texts {
    width: 47ch;
    animation: typing 2s steps(40), blink .5s step-end infinite alternate;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid;
}

@keyframes typing {
    from {
        width: 0;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* BOTÃO DA APRESENTAÇÃO */
.container .intro a:hover {
    /* background-color: #5be2d8; */
    opacity: .9;
}

.container .intro a {
    background-color: #66FCF1;
    width: 150px;
    padding: 12px;
    cursor: pointer;
    border: transparent 1px solid;
    border-radius: 12px;
    margin-top: 20px;
    
    text-align: center;
    text-decoration: none;
    color: black;
    font-size: 15px;
    font-weight: 600;
}

/* LADO DIREITO DO CENTRO */
.container .image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container .image img {
    border-radius: 50%;
    width: 400px;
    border: 3px solid var(--color-primary);
}


/* PÁGINA SOBRE E CONTATO */
.title {
    color: #5be2d8;
    text-align: left;
    font-size: 50px;
    font-weight: 600;
}
.paragraph {
    text-align: justify;
    margin-top: 20px;
    font-size: 25px;
}
.link {
    color: var(--color-primary);
    text-decoration: none;
    margin: 5px;
}

/* PÁGINA HABILIDADES */
.title-skills {
    font-size: 2.7em;
    font-weight: normal;
    padding: 10px 0 16px 0;
    margin: 0 0 30px;
    text-align:center;
    color:#66FCF1;
    text-shadow: 1px 1px 5px #000, 0 0 10px #66FCF1, 0 0 20px #66FCF1;
    background: black;
    border-radius:2px;
    border: 1px solid #66FCF1;  
    box-shadow: 0px 0px 50px -8px #66FCF1;
}
.col {
    width: 90%;
    margin: 0 5%;
    position: relative;
    float: left;
    font-size: 12px;
    line-height: 2em;
    /* padding: 5% 0; */
} 
/*.col { width:101%; }*/
.skill { 
	list-style: none; 
	padding-top: 30px;
}

.skill li { 
	margin-bottom: 70px; 
	background:#030303; 
	height: 6px; 
	border-radius: 3px; 
	border-left: 1px solid #111; 
	border-top: 1px solid #111; 
	border-right: 1px solid #333; 
	border-bottom: 1px solid #333;  
}

.skill li em { 
	position: relative; 
    font-style: normal;
    font-size: 14px;
    text-align: center;
    color: var(--color-primary);
	top: -28px;
}

.blueline { 
	height: 3px; 
	margin: 2px 0; 
	background: #66FCF1; 
	position: absolute;
	box-shadow: 0px 0px 10px 1px rgba(0,198,255,0.6);
}

.front       { width: 90%;  animation: front 2s ease-out;      }
.react       { width: 90%;  animation: react 2s ease-out;      }
.next        { width: 80%;  animation: next 2s ease-out;       }
.nodejs      { width: 80%;  animation: nodejs 2s ease-out;     }
.php         { width: 70%;  animation: php 2s ease-out;        }
.laravel     { width: 70%;  animation: laravel 2s ease-out;    }
.git         { width: 80%;  animation: git 2s ease-out;        }
.javascript  { width: 80%;  animation: javascript 2s ease-out; }
.typescript  { width: 80%;  animation: typescript 2s ease-out; }
.db          { width: 80%;  animation: db 2s ease-out;         }

@media (max-width: 1024px) {
    header {
        width: 80%;
        font-size: 25px;
    }

    header nav {
        align-items: center;
    }

    .container {
        width: 80%;
        flex-direction: column;
        align-items: center;
    }

    .container .image {
        margin-top: 100px;
    }


    .container .intro button {
        width: 200px;
        height: 50px;
    }

    .container .intro button a {
        font-size: 15px;
    }
    
    
}

@media (max-width: 1250px) {
    header {
        width: 80%;
        font-size: 25px;
    }

    header nav {
        align-items: center;
    }

    .container {
        width: 80%;
        flex-direction: column;
        align-items: center;
        margin: 100px;
    }

    .container .image {
        margin: 100px 0;
    }


    .container .intro button {
        width: 200px;
        height: 50px;
    }

    .container .intro button a {
        font-size: 15px;
    }

    
}

@media (max-width: 950px) {
    header {
        width: 90%;
    }

    .remove-padding {
        padding: 0;
    }

    header nav {
        display: none;
    } 

    .menu-overlay {
        background-color: var(--background-primary);
        color: var(--color-primary);
        left: 0;
        height: 130%;
        width: 100%;
        position: fixed;
        text-align: center;
        transition: opacity 0.2s ease-in-out;
        z-index: 1;
        opacity: 1;
        visibility: visible;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    header nav {
        position: absolute;
        height: 100%;
        top: 40%;
        transform: translateY(-50%);
        text-align: center;
    }

    header nav li {
        margin-top: 10px;
        font-size: 40px;
        font-weight: bold;
    }

    .container {
        margin: 100px auto 0 auto;
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .container .image img {
        width: 300px;
    }

    .container .intro h1 {
        font-size: 30px;
        text-align: center;
    }
    
    .container .intro h3 {
        font-size: 20px;
        text-align: center;
    }

    .container .intro .texts {
        width: 28ch;
    }

    .title {
        font-size: 20px;
        text-align: center;
    }
    .paragraph {
        font-size: 15px;
        padding: 0 30px;
    }
    .link {
        margin: 0px
    }

    .float {
        width: 60px;
        height: 60px;

        right: 5%;
        bottom: 3%;

        z-index: 1;
    }

    /* HAMBUGUER MOBILE */
    #hambuguer-btn {
        display: flex;

        width: 60px;
        height: 45px;
        position: relative;
        right: 10px;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
        z-index: 2;
    }

    #hambuguer-btn span {
        display: block;
        position: absolute;
        height: 7px;
        width: 100%;
        background: var(--color-primary);
        border-radius: 7px;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }
    
    #hambuguer-btn span:nth-child(1) {
        top: 0px;
        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        -o-transform-origin: left center;
        transform-origin: left center;
    }
    
    #hambuguer-btn span:nth-child(2) {
        top: 18px;
        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        -o-transform-origin: left center;
        transform-origin: left center;
    }
    
    #hambuguer-btn span:nth-child(3) {
        top: 36px;
        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        -o-transform-origin: left center;
        transform-origin: left center;
    }
    
    #hambuguer-btn.open span:nth-child(1) {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        margin: 20px 20px;
        top: -3px;
        left: 8px;
    }
    
    #hambuguer-btn.open span:nth-child(2) {
        width: 0%;
        opacity: 0;
    }
    
    #hambuguer-btn.open span:nth-child(3) {
        margin: 20px 20px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        top: 39px;
        left: 8px;
    }
}