:root{
    --text-font: 'Poppins', sans-serif;
}

@font-face { 
    font-family: 'Round Pro Condensed';
    src: url('../font/Pattanakarn-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Cy Grotesk Key Thin';
    src: url('../font/CaviarDreams.woff');
}


body{
    background-color: #212E40;
    background-image: url("../img/backgnd.png");
    
    
    /*Como font-size default é 16px; 62.5% redefine
    font-size pra 10px*/
    font-size: 62.5%;
}

header{
    background-color: #212E40;
    background-image: url("../img/backgnd.png");
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: inline-block;
    text-align: right;
    z-index: 1;
}

header ul{
    padding-left: 0%;
    padding-right: 0%;
}

header li, header li a{
    font-family: Round Pro Condensed;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.75rem;
    display: inline;
}

header li{
    margin-right: 3%;
}

header li:last-child{
    margin-right: 6%;
}


header li:hover, header li a:hover{
    color: #45ffc7;
}


#sections{
    position: absolute;
    /*background: url("../img/backgnd2.png") right top repeat-y;
    background-size: 23% auto;*/
}


section{
    min-height: 150vh;
    position: relative;
}


#sections p {
    width: 80%;
    padding-left: 10%;
}

#info{
    background: url("../img/backgnd2.png") right top repeat-y;
    background-size: 23% auto;
    padding-top: 10vh;
}

#info p{
    padding-left: 10vw;
    padding-right: 10vw;
    width: 57%;
}

section #info_title{
    font-family: Round Pro Condensed;
    color: #FFFFFF;
    font-size: 4.5rem;
    text-align: left;
    line-height: 100%;
    font-weight: 600;
    width: 67%;
}

section #info_text{
    font-family: Round Pro Condensed;
    width: 40%;
    padding-left: 15vw;
    color: #45FFC7;
    text-align: center;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 120%;
}

#rdsr-dev{
    font-family: Round Pro Condensed;
    color: #45FFC7;
    width: 80%;
    padding-left: 15%;
    text-align: start;
    font-size: 2rem;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 4px;
    margin-top: 7%;
    /*background-color: #f00;*/
}

#about, #projects, #contacts{
    padding-top: 3vh;
}


#about_title, #projects_title, #contacts_title{
    font-family: Round Pro Condensed;
    color: #ffffff;
    text-align: center;
    font-weight: 600;
    font-size: 5rem;
}

#about_text, #projects_text{
    font-family: Cy Grotesk Key Thin;
    color: #ffffff;
    text-align: justify;
    font-size: 1.5rem;
}

/*Div que contem as div's dos contatos já configurados e
responsivos. Essa div é simplemente pra determinar a
area que será ocupada pelos contatos*/
.cts_tbl{
    width: 80%;
    margin-left: 10%;
    margin-top: 200px;
    /*background: #f0f;*/
    display: flex;
    justify-content: space-between;
}


/*Configurando div que equivale a cada conjunto d icone +
texto já devidamente configurados. Essa div é responsavel
por fazer o deslocamento do contato de uma linha pra outra
quando a página é redimensionada*/
.cts_a{
    width: fit-content;
    height: fit-content;
    display: inline-block;
    /*background: #0f0;*/
}



/*Configurando div que alinha o texto e a imagem do contato*/
.cts{
    width: fit-content;
    height: fit-content;
    /*background: #ff0;*/
    display: flex;
    margin-bottom: calc(7vw * 0.4);
}

/*Definindo os parametros da imagem relacionada a
cada contato*/
.cts img{
    /*background: #f00;*/
    max-height: calc(7vw * 0.8);
    min-height: 45px;
    min-width: 55px;
    margin: auto;
    margin-right: 10px;
    margin-left: 20px;
    display: inline-block;
}

#projects{
    text-align: center;
}

.project{
    position: relative;
    height: 400px;
    width: 300px;
    background-color: #00ff0000;
    margin: auto;
    display: inline-block;
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 50px;
}

.backsqr{
    position: absolute;
    height: 75%;
    width: 100%;
    margin-top: 16.66%;
    background-color: #45ffc7;
    border-radius: 8.33%;
}

.frontsqr{
    position: absolute;
    height: 100%;
    width: 90%;
    margin-left: 5%;
    background-color: #455776;
    border-radius: 25px;
    text-align: center;
}

.project_title{
    position: relative;
    font-family: Round Pro Condensed;
    color: #45ffc7;
    height: auto;
    width: 100%;
    margin: 0px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 100;
}

.project_tumb{
    position: relative;
    height: auto;
    width: 90%;
    aspect-ratio: 1;
    opacity: 1;
}

.hidden{
    opacity: 0;
}

.project_info{
    position: relative;
    font-family: Round Pro Condensed;
    color: #fff;
    height: auto;
    width: 100%;
    margin: 0px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5em;
    font-weight: 20;
}

@media screen and (-webkit-min-device-pixel-ratio:0){
    /* regras de CSS que não farão efeito no Internet Explorer */
    

    /*Definindo os parametros do texto relacionado a
    cada contato*/
    #contacts .cts p, #contacts .cts p a{
        font-family: Round Pro Condensed;
        color: #45FFC7;
        padding-left: 0%;
        padding-right: 0%;
        font-size: 1.5rem;
        font-weight: 400;
        line-height: 100%;
        width: max-content;
        height: fit-content;
        margin: auto;
        /*background: #00f;*/
        display: inline-block;
    }

    #contacts .cts p a{
        text-decoration: none;
    }
}


@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){
    /* regras de CSS que só farão efeito no Internet Explorer */

    /*Definindo os parametros do texto relacionado a
    cada contato*/
    #contacts .cts p, #contacts .cts p a{
        font-family: Round Pro Condensed;
        color: #45FFC7;
        padding-left: 0%;
        padding-right: 0%;
        font-size: 1.5rem;
        font-weight: 400;
        line-height: 100%;
        width: max-content;
        height: fit-content;
        margin: auto;
        /*background: #00f;*/
        display: inline-block;
    }

    #contacts .cts p a{
        text-decoration: none;
    }
}
  

@media(max-width: 1030px){
    
    section #info_text{
        width: 55%;
        padding-left: 12vw;
    }

    .cts_tbl{
        display: block;
        max-width: 80%;
        min-width: fit-content;
        text-align: center;
        margin: auto;
        margin-top: 200px;
    }

    .cts_a{
        display: inline-block;
        margin: auto;
        margin-bottom: 5vh;
    }
}


@media (max-width: 820px){
    section #info_title{
        font-size: 4rem;
    }
}

@media (max-width: 768px){
    body{
        font-size: 50%;
    }

    #sections{
        background-size: 30% auto;
    }

    section #info_title{
        font-size: 3.5rem;
    }
    
}

@media (max-width: 650px){
    header{
        text-align: center;
        justify-content: space-between;
    }

    header li{
        margin: auto;
        margin-top: 3%;
        margin-bottom: 3%;
        width: 24%;
        display: inline-block;
    }

    header li:last-child{
        margin-right: 0%;
    }

    header li a{
        font-size: 1.3rem;
    }

    section #info_title{
        font-size: 3rem;
        margin-top: 20%;
    }

    /*#rdsr-dev{
        margin-top: 20%;
    }*/

    #info_text, #about_text, #projects_text{
        margin-top: 10vh;
    }

    section #info_text{
        width: 70%;
        padding-left: 10vw;
    }

    .cts{
        margin-bottom: calc(7vw * 0.8);
    }
}



@media (max-width: 500px){
    section #info_title{
        font-size: 2.8rem;
    }

}

@media (max-width: 450px){
    section #info_title{
        font-size: 2.5rem;
    }

}

@media (max-width: 400px){
    body{
        font-size: 30%;
    }

    #info{
        padding-left: 5vw;
        padding-right: 5vw;
    }

    section #info_title{
        font-size: 2rem;
    }
}

/* {
    outline: 1px solid red;
}