@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Roboto+Condensed:wght@700&display=swap');

:root{
    --colorPri: rgb(255, 0, 98);
    --colorPri2: rgba(255, 0, 98, 0.808);
    --colorSec: rgb(0, 255, 234);
    --colorSec2: rgb(0, 160, 147);
    --colorSecHover: rgb(0, 114, 104);
    --colorBg1: hsl(0, 0%, 100%);
    --colorBg2:hsl(0, 0%, 97%);
    --colorBg3: hsl(0, 0%, 81%);
}

*{
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;    
    box-sizing: border-box;
    user-select: none;
}

body{
    background-color: var(--colorBg1); 
    position: relative;
    min-height: 100vh;
    padding-bottom: 30px; /* height of the footer */
}

.canvasContainer{
    width: 100%;
    height: 100vh;
    position: relative;
}

.canvas{
    width: 100%;
    height: 100vh;
    background-color: rgb(0, 31, 75);  
}

.canvasBox{
    padding: 30px;
    z-index: 5;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);   
    font-size: 1.3em;
    text-align: left;
    color: var(--colorSec);
}

.canvasTextName{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 4em;
    color: white; 
    text-align: left;
}

.canvasTextJob{
    color: var(--colorSec);
    text-align: left;   
}

.canvasTextIntro{
    text-align: left;
    color: white;
}

.canvasContactButton, .formButton, .githubRepoButton, .resumeButton{  /* HOVER EFFECT IN BUTTONS */
    color: var(--colorPri);
    background-color: rgb(255, 255, 255);
    border: none;
    text-align: center;
    border: 1px solid var(--colorPri);
    padding: 10px 15px;
    font-size: 0.8em;
    cursor: pointer;
    box-shadow: inset 0 0 0 0 var(--colorPri);
    transition: 0.3s;
}

.canvasContactButton{
    background-color: #0000008f;
}

.navWrapper{
    margin: 0 auto;
    width: auto;
    height: 70px;
    max-width: 1000px;
    justify-content: space-between;
}

nav{
    width: 100%;
    height: 70px;
    background-color: #050b18;
    top: 0;
    position: fixed;
    z-index: 6;    
}

nav ul{
    margin: 0 0px; 
}

nav ul li{
    list-style: none;
    float: left;
    line-height: 70px;
    width: 100px;
    text-align: center;
}

nav ul a li{
    text-decoration: none;
    font-size: 1em;
    color: #ffffff;
    display: block;
}

.buttonHam{
    float: right;
    line-height: 70px;
    background-color: #000000; 
    color: #ffffff; 
    border: 0;
    width: 70px;
    display: none;
    justify-content: center;
}

.currentPage {
    color: var(--colorSec);
    height: 70px;
    width: 100px;
}

.currentLanguage{
    color: var(--colorSec);
    height: 70px;
}

.languageMenu{
    float: right;

    display: none;
}

.languageMenu a li{
    width: 70px;
}

.colorBar{
    width: 100%;
    height: 1px;
    background-color: var(--colorSec);
}

.homeSectionContainerIndex, .projectsSectionContainerIndex, .contactSectionContainerIndex{
    margin: 0;
    width: 100%;
    padding: 130px 0;

}

.projectsSectionContainer, .aboutSectionContainer, .contactSectionContainer{
    margin: 0;
    width: 100%;
    padding: 200px 0;
}

.scroll, .scroll2, .scroll3{    /* SCROLL ITEMS */
    opacity: 0;
    transform: translateY(100px);
    transition: 0.3s all ease-in-out;
}

.scrollAppear{
    opacity: 1;
    transform: translateX(0px);
}


.projectsSectionContainerIndex{
    background-color: var(--colorBg2);
}

.content{
    font-size: 0.92em;
    color: #1a1a1a; 
    margin: 0;
}

.content h1{
    
    font-family: 'Roboto Condensed', sans-serif;
    color: var(--colorPri);
    font-size: 2.2em;
    text-align: left;
    margin: 0 0 20px 0;
}

.content h2{
    font-size: 1.2em;
}

.content .homeSection, .projectsSection, .aboutSection, .contactSection{
    text-align: justify;
    margin: 100px 0;
    overflow: hidden;

    margin:0 auto 0 auto;
    padding: 0 60px;
    width: auto;
    max-width: 1500px;
}

.homeSectionIntro{
    width: 50%;
    padding: 0 30px 0 0;
    float: left;
}

.aboutSectionText{
    float: left;
    width: 70%;
    padding: 0 30px 0 0;
}

/*{open} Project boxes*/

.projectBoxesContainer{
    margin: 30px 0;
    display: grid;
    grid-gap: 1em;
    grid-template-columns: repeat(3, 1fr);
 
}

.projectBoxIndex, .projectBox{
    padding: 25px;
    background-color: var(--colorBg1);
    position: relative;
    padding-bottom: 200px ;
}

.projectBox{
    background-color: var(--colorBg2);
}

.projectBoxIndex h2, .projectBox h2{
    color: var(--colorPri2);
}

.projectBoxTopContainer{     /****************************************************/
    margin-bottom: 15px;
}

.projectBoxBottomContainer{
    margin-top: 15px;
    position: absolute;
    bottom: 0;
    padding-bottom: 30px;
}

.techList{
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
}

.techList li{
    font-size: 0.92em;
    margin: 2px 2px;
    padding: 4px 10px;
    color: rgb(255, 255, 255);
    background-color: var(--colorSec2);
    list-style: none;
}

/*{close} Project boxes*/


/*{open} Skill bars */

.skillsTable ul{
    text-align: left;
}

.homeSectionSkills{
    width: 50%;
    padding: 0 0 0 30px;
    float: right;
}

.skillItemContainer li{
    display: inline;
    background-color: var(--colorSec2); 
    color: rgb(255, 255, 255);
    font-size: 0.92em;
    padding: 4px 10px;
}

.skillCategoryContainer li{
    margin: 20px 0;
}

.skillCategoryContainer{
    margin: 20px 0;
}

.skillsTable ul{ /*All the skills table unordered list. Will be necessary if skills go down the grid to check margin*/
    margin: 0;
}

.skillCategoryContainer li{
    list-style: none;
}


/*{close} Skill bars */

/* {open} Contact Form */

input, textarea { 
    margin-bottom: 20px;    
    display: block; 
    width: 100%; 
    padding: 15px;                        
    background-color: var(--colorBg1);  
    color: rgb(63, 63, 63);
    border: 1px solid var(--colorBg2);
    font-size: 0.92em;
  }

input{
    width: 100%;
}

input:focus, textarea:focus {
    outline: none;
    border:1px solid var(--colorSec2);
}

textarea{ 
      height: 120px;
      width: 100%;
      resize: none; 
}

.contactForm{
     
     margin: 30px 0;
     padding: 30px;
     width: 100%;
     background-color: var(--colorBg2);
 }

.formButton{
     width: 100%;
     margin: 0
 }

/* {close} Contact Form */


.contactSectionContent{
    float: left;
    width: 60%;
    padding-right: 50px;
}

.footer{
    background-color: #000000;
    font-size: 0.7em;
    color: rgb(197, 197, 197);    
    width: 100%;
    height: 30px;
    text-align: center;
    line-height: 30px;
    position: absolute;
    bottom: 0;
}

.highPri{
    color: var(--colorPri); 
}

.highSec{
    color: var(--colorSec);
}

.highSec2{
    color: var(--colorSec2);
}

.highPriLink{
    text-decoration: none;
    color: var(--colorPri);
}

.highSec2Link{
    text-decoration: none;
    color: var(--colorSec2);
}

.highSec2Link:hover{
    color: var(--colorSecHover);
}

.highPriLink:hover{
    color: var(--colorPri2);
}

.navMenuItems a li:hover {
    background-color: var(--colorSec);
    color: #000000;
}

.languageMenu a li:hover{
    background-color: var(--colorSec);
    color: #000000;   
}

.canvasContactButton:hover, .formButton:hover, .githubRepoButton:hover, .resumeButton:hover{
    color: white;
    box-shadow: inset 100vh 0 0 0 var(--colorPri);
}

@media only screen and (max-width: 800px){ /* smartphone mode */

    .canvasBox{
        font-size: 0.9em;
    } 

    .languageMenu{
        display: none;
    }

    .navWrapper{
        justify-content: right;
        display: block;
    }

    /* {Open} hamburger menu */

    .buttonHam{
        background-color: #050b18; 
        display: flex;
        cursor: pointer;
        width: 70px;
        height: 70px;
        padding: 20px;
    }

    .ham{
        border-top: 2px solid var(--colorSec);
        width: 28px;
    }

    .ham::after, .ham::before{
        position: relative;
        content:'';
        width: 28px;
        height: 2px;
        display: block;
        background-color: var(--colorSec);
        margin-top: 10px;
        transition: 0.2s;
    }

    .navMenuItems a li{
        width: 100%;
        border-bottom: 1px solid rgba(34, 34, 34, 0.829);
    }

    .navMenuItems{
        position: fixed;
        display: flex;
        width: 100%;
        height: 0px;
        top: 70px;
        flex-direction: column;
        background-color: #050b18;
        transition: 0.5s;
        visibility: hidden;
        overflow-y: hidden; 
    }

    #nav.active .navMenuItems{
        visibility: visible;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    #nav.active .ham{
         border-top-color: transparent; 
    }

    #nav.active .ham::before{
         transform: rotate(135deg); 
         background-color: var(--colorPri);
   }

     #nav.active .ham::after{
        transform: rotate(-135deg);
        background-color: var(--colorPri);
        top: -11px;       
}
    /* {close} hamburger menu */

    .content h1{
        font-size: 1.8em;
    }

    .homeSectionContainerIndex, .projectsSectionContainerIndex, .contactSectionContainerIndex{
        padding: 80px 0;
    }

    .projectsSectionContainer, .aboutSectionContainer, .contactSectionContainer{
        padding: 150px 0;
    }

    .content .homeSection, .projectsSection, .aboutSection, .contactSection{
        padding: 0 25px;
    }

    .homeSectionIntro{
        width: 100%;
        float: none;
        padding: 0;
        margin: 0;
    }
    
    .aboutSectionText{
        float: none;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .homeSectionSkills{
        width: 100%;
        float: none;
        padding: 50px 0;
    }

    .contactSectionContent{
        float: none;
        width: 100%;
        padding-right: 0;
    }

    .projectBoxesContainer{
        grid-template-columns: repeat(1, 1fr);
    }

    .projectBoxBottomContainer{   /****************************************/
        position: relative;
    }

    .projectBoxIndex, .projectBox{
        padding-bottom: 0;

    }
   
    input, textarea { 
        margin-bottom: 10px;                           
    }

    .contactForm{
        width: 100%;
        padding: 25px;
    }

}

@media only screen and (min-width: 800px) and (max-width: 1200px){ /* tablet mode */

    .canvasBox{
        font-size: 1.2em;
    } 

    .content{
        padding: 0;
    }

    .content h1{
        font-size: 2.2em;
    }

    .homeSectionContainerIndex, .projectsSectionContainerIndex, .contactSectionContainerIndex{
        padding: 200px 0;
    }

    .homeSectionIntro{
        width: 100%;
        float: none;
        padding: 0;
        margin: 0;
    }

    .aboutSectionText{
        float: none;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .homeSectionSkills{
        width: 100%;
        float: none;
        padding: 0;
        margin: 50px 0 0 0;
    }

    .contactSectionContent{
        float: none;
        width: 100%;
        padding-right: 0;
    }

    .projectBoxesContainer{
        grid-template-columns: repeat(2, 1fr);
     
    }

    input, textarea { 
        margin-bottom: 15px;                           
      }

    .contactForm{
        max-width: 800px; 
        padding: 25px;
    }


}
