/************ GLOBAL STYLES ************/
* {
    margin: 0;
    padding: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/************ ROOT VARIABLES ************/
:root {
    /* NAVBAR COLORS */
    --nav-gradient: linear-gradient(to right, #ffffff, #5e5e55, #ffffff);
    --nav-link-color: #1a1a1a;
    --nav-link-hover-bg: #9a9d4e33;
    --nav-link-hover-color: white;
    --nav-link-hover-shadow: #9a9d4e80;

    /* TEXT SELECTION */
    --selection-bg: #9a9d4e33;
    --selection-color: black;

    /* LOADING SCREEN */
    --loading-bg: linear-gradient(black, #1a1a1a);
    --loading-shadow: #9a9d4e;

    /* MAIN BODY */
    --main-bg: linear-gradient(to right, #000000, #1a1a1a, #000000);

    /* HEADER */
    --logo-shadow: #ffffff;

    /* FUTURO SOFTWARE TEXT */
    --futuro-bg: #1a1a1a;
    --futuro-color: green;

    /* DIV ABOUT */
    --div-about-bg: #5e5e55cc;
    --div-about-shadow: #5e5e55;
    --div-about-color: white;

    /* IMAGES */
    --img-shadow: #5e5e55;

    /* PROJETOS */
    --projeto1-bg: #1b202a;
    --projeto2-bg: #1c180f;
    --projeto1-hover-shadow: #ffffff;
    --projeto2-hover-shadow: #dc9223;
    --button-bg: #1a1a1a;
    --button-hover-bg: #000000;

    /* EXPERIÊNCIA */
    --exp-bg: #04182f;
    --exp-hover-shadow: #ffffff;
    --exp-hover-filter: #dc3523;
    --exp-color: white;
    --exp-competencia-bg: #ffffff;
    --exp-competencia-color: black;

    /* CONTATO */
    --contato-bg: #1a1a1a;
    --contato-color: green;
    --contato-hover-shadow: #23dc2c;

    /* FOOTER */
    --footer-bg: linear-gradient(to right, #ffffff, #5e5e55, #ffffff);
    --footer-link-color: #1a1a1a;
    --footer-link-hover-color: white;
    --footer-link-hover-bg: #9a9d4e33;
    --footer-link-hover-shadow: #9a9d4e80;
}

/************ NAVBAR ************/
.nav {
    background: var(--nav-gradient);
    top: 0;
    left: 0;
    right: 0;
    transition: all 0.3s ease-in-out;
}

.nav a {
    color: var(--nav-link-color);
    text-decoration: none;
    padding: 0px 20px;
    font-weight: bold;
    font-size: 15pt;
    transition: all 0.5s ease-in-out;
}

.nav a:hover {
    color: var(--nav-link-hover-color);
    background: var(--nav-link-hover-bg);
    border-radius: 5px;
    box-shadow: 0 0 5px var(--nav-link-hover-shadow);
}

.nav-list {
    list-style: none;
    display: flex;
    margin-left: 20px;
}

/************ TEXT SELECTION ************/
::selection {
    color: var(--selection-color);
    background-color: var(--selection-bg);
}

/************ LOADING SCREEN ************/
#loading-screen {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: var(--loading-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

.anima {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    box-shadow: 4px 0 0 var(--loading-shadow);
    animation: anima 1s linear infinite;
}

.loading-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    color: var(--loading-shadow);
    position: fixed;
    text-transform: uppercase;
    text-align: center;
    line-height: 300px;
    font-size: 32px;
    background: url("../arq/img/Thauã-Logo-GPT.png") no-repeat center/cover;
    box-shadow: 0 0 5px var(--loading-shadow);
}

@keyframes anima {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/************ MAIN BODY ************/
.Current-body {
    background: var(--main-bg);
    min-height: 100vh;
    margin-bottom: 100px;
}

/************ HEADER ************/
header {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    cursor: default;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
    font-size: 24pt;
    font-weight: bold;
    filter: drop-shadow(0 0 15px var(--logo-shadow));
}

/************ FUTURO SOFTWARE ************/
.futuro-software {
    color: var(--futuro-color);
    font-weight: bold;
    font-size: 30px;
    padding: 15px;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 2px;
    background-color: var(--futuro-bg);
    border-radius: 15px;
    width: fit-content;
    margin: 20px auto 0;
}

.blinking-cursor {
    display: inline-block;
    animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/************ DIV CONTAINER ************/
.about-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin: 50px auto;
    max-width: 1000px;
}

/************ DIV ABOUT ME ************/
.div-about {
    animation: slideIn 3s forwards;
    margin: 50px;
    cursor: default;
    min-height: 300px; 
    max-height: 350px; 
    width: 500px;
    padding: 30px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    border-right: 10px solid var(--button-bg);
    border-bottom: 10px solid var(--button-bg);
    box-shadow: 0 0 10px var(--div-about-shadow);
    background-color: var(--div-about-bg);
    color: var(--div-about-color);
    border-radius: 20px;
    overflow: auto; 
    transition: all 0.3s ease-in-out;
}

.div-about:hover {
    border-right: 10px solid #ffffff85;
    border-bottom: 10px solid #ffffff85;
    
    transition: all 0.3s ease-in-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/************ IMAGEM TULIO ************/
.img-tulio {
    width: 270px;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 0 10px var(--img-shadow);
    border-left: 10px solid var(--button-bg);
    border-bottom: 10px solid var(--button-bg);
    transition: all 0.3s ease-in-out;
}

.img-tulio:hover {
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
    border-left: 10px solid #ffffff85;
    border-bottom: 10px solid #ffffff85;
}

/************ DIV HABILIDADES ************/
#div-habilidades {
    text-align: center;
    gap: 20px;
    padding: 20px;
}

#div-habilidades img {
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

#div-habilidades img:hover {
    transform: scale(1.2);
    text-align: center;
}

#div-habilidades h2 {
    color: white;
    font-size: 20pt;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

/************ DIV PROJETOS ************/
#div-projetos {
    margin: 0;
    margin-top: 20px;
    justify-content: center;
    gap: 50px;
    display: flex;
}

.projeto1 {
    color: white;
    background-color: var(--projeto1-bg);
    gap: 20px;
    margin-top: 50px;
    margin: 0;
    padding: 20px;
    width: 300px;
    height: 350px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.projeto1:hover {
    transform: scale(1.03);
    box-shadow: 0 0 10px var(--projeto1-hover-shadow);
    cursor: default;
}

.projeto2 {
    color: white;
    background-color: var(--projeto2-bg);
    width: 300px;
    height: 350px;
    margin: 0;
    padding: 20px;
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

.projeto2:hover {
    transform: scale(1.03);
    box-shadow: 0 0 10px var(--projeto2-hover-shadow);
    cursor: default;
}

.projeto1 img, .projeto2 img { margin-top: 20px; width: 300px;}

/************ BOTÃO VER PROJETO ************/
.button-link {
    background-color: var(--button-bg);
    display: inline-block;
    line-height: 40px;
    margin-top: 20px;
    text-decoration: none;
    color: white;
    border-radius: 15px;
    padding: 5px;
    border-left: 8px solid white;
    border-right: 8px solid white;
    border-bottom: 8px solid var(--div-about-shadow);
    transition: all 0.3s ease-in-out;
}

.button-link:hover {
    transform: scale(1.1);
    background-color: var(--button-hover-bg);
    opacity: 0.8;
    cursor: pointer;
    border-right: 10px solid var(--footer-link-color);
    border-left: 10px solid var(--footer-link-color);
    border-bottom: 10px solid var(--footer-link-color);
}

/************ DIV EXPERIÊNCIA ************/
#div-experiencia {
    margin: 0;
    margin-top: 10px;
    justify-content: center;
    gap: 50px;
    display: flex;
}

.exp1 {
    color: var(--exp-color);
    background-color: var(--exp-bg);
    margin-top: 20px;
    font-size: 12px;
    margin: 0px;
    padding: 40px;
    width: 300px;
    height: auto;
    border-radius: 20px;
    text-align: center;
    line-height: 1.5;
    transition: all 0.3s ease-in-out;
}

.exp1:hover {
    transform: scale(1.03);
    box-shadow: 0 0 10px var(--exp-hover-shadow);
    cursor: crosshair;
    filter: drop-shadow(0 0 10px var(--exp-hover-filter));
}

.exp1 h3 {
    font-size: 17pt;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.exp1 img {
    margin: 0px 100px 0px;
    display: block;
    width: 100px;
    border-radius: 20%;
}

.exp1-competencia {
    display: flex; 
    gap: 10px; 
    flex-wrap: wrap; 
    margin-top: 10px;
}

.exp1-competencia p {
    background-color: var(--exp-competencia-bg);
    color: var(--exp-competencia-color);
    padding: 5px 10px;
    display: flex;
    justify-content: center;
    border-radius: 20px;
    font-size: 10pt;
    text-align: center; 
}

/************ DIV CONTATO ************/
#helloWorld {
    color: var(--contato-color);
    font-weight: bold;
    font-size: 30px;
    padding: 15px;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 2px;
    background-color: var(--contato-bg);
    border-radius: 15px;
    width: fit-content;
    margin: 80px auto 0;
}

.div-contatos {
    text-align: center;
    gap: 50px;
    margin-top: 50px;
    padding: 10px auto;
    text-decoration: none;
    display: flex;
    justify-content: center;
}

.div-contatos img {
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.div-contatos img:hover {
    transform: scale(1.2);
    text-align: center;
    filter: drop-shadow(0 0 10px var(--contato-hover-shadow));
}

/************ FOOTER ************/
footer {
    background: var(--footer-bg);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
}

footer a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-align: center;
    color: var(--footer-link-color);
    font-style: italic;
    height: 100%;
    font-weight: bold;
    transition: all 0.5s ease-in-out;
}

footer a:hover {
    color: var(--footer-link-hover-color);
    background: var(--footer-link-hover-bg);
    border-radius: 5px;
    box-shadow: 0 0 5px var(--footer-link-hover-shadow);
}

/************ MEDIA QUERIES ************/
@media (max-width: 900px) {
    .nav-list { flex-direction: column; align-items: center; margin-left: 0; }
    .div-about { width: 90%; margin: 20px auto; }
    .img-tulio { width: 200px; }
    #div-habilidades img { width: 40px; height: 40px; }
    .projeto1, .projeto2 { width: 90%; margin: 20px auto; }
    .exp1 { width: 90%; margin: 20px auto; }
    .div-contatos { flex-direction: column; gap: 20px; }
}

@media (max-width: 600px) {
    .nav { flex-direction: column; padding: 10px; }
    .nav a { font-size: 12pt; padding: 10px; }
    .futuro-software { font-size: 20px; padding: 10px; }
    .div-about { font-size: 14px; padding: 20px; }
    .img-tulio { width: 150px; }
    #div-habilidades img { width: 30px; height: 30px; }
    .projeto1, .projeto2 { width: 100%; margin: 10px auto; }
    .exp1 { font-size: 10px; padding: 20px; }
    .div-contatos img { width: 40px; height: 40px; }
}
