/*    Content of the page*/

#gauche, #droite {
    height: 70vh;
    margin-top: 9.5vh;
    font-size: 1.3vw;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

#gauche div, #droite div {
    background-color: white;
    height: 33.25vh;
    overflow: hidden;
    text-align: center;
}

#gauche div a, #droite div a {
    text-decoration: none;
    color: #0090c1;
    display: block;
    margin: 2vh 0;
}

#gauche strong, #droite strong {
    font-size: 1.5vw;
}




/*    Pages for Education and Experience*/

.front {
    display: table;
    width: 100%;
}

.front p {
    display: table-cell;
    vertical-align: middle;
}

.back {
    padding-top: 8vh;
    width: 100%;
}

.animate {
    overflow: hidden;
    overflow-y: auto;
}





/*    Page Contact*/

#gauche .grand {
    margin-top: 5vh;
}

#gauche .grand span {
    font-family: 'Tangerine', cursive;
    font-size: 3.5vw;
}

#gauche .petit {
    text-align: left;
    padding: 1vh 1vw;
    display: table;
    margin-top: 5vh;
}

#gauche .petit span {
    display: table-cell;
    vertical-align: middle;
}

#gauche .petit img {
    height: 40px;
    width: 40px;
}

#gauche .cv {
    padding-top: 7vh;
}

form {
    padding-left: 1vw;
    color: #0074e6;
}

.legend {
    margin: 1vh 0 2vh 0;
    text-align: center;
}

form input[type="text"], input[type="email"] {
    height: 3vh;
    padding-left: 0.2vw;
}

form input, textarea {
    margin: 0 0vw 1vh 8vw;
    border: 1px solid #0074e6;
    width: 12vw;
    background-color: antiquewhite;
    resize: none;
    padding-left: 0.2vw;
}

form button, input[type="reset"] {
    color: #0074e6;
    font-size: 1vw;
    padding: 0.3vh 0.3vw;
    font-weight: bold;
    width: auto;
    border: 0.3vh;
    background-color: antiquewhite;
    border: 1px solid #0074e6;
}

.mailSent {
    color: #0050e6;
    font-size: 1vw;
    padding: 1vh 1vw;
}

#success, #error {
    display: none;
}




/*    Page Web Dev*/

.scroll {
    overflow: auto;
    background-color: white;
    border: 0.3vh solid #006200;
}

.scroll p {
    padding-left: 2vw;
}

.scroll p .addspace {
    margin-bottom: 1.5vh;
}

.scroll p span {
    display: table;
    margin-bottom: 1.5vh;
}

.scroll p span span {
    display: table-cell;
    vertical-align: middle;
}

.scroll p span img, .scroll p img{
    height: 50px;
    padding-right: 0.5vw;
}

.scroll h3 {
    margin: 1vh 0 1vh 1vw;
    display: flex;
}

.scroll h3 img{
    height: 30px;
    padding-right: 0.5vw;
}

.scroll h3 a {
    text-decoration: none;
    color: #006200;
}

#droite .otherSkills {
    text-align: left;
    padding-left: 2vw;
    overflow-y: auto;
    font-size: 1vw;
}

#droite .otherSkills p {
    text-align: right; 
    padding-right: 2vw;
    margin: -2vh 0;
}

#droite .linkProjects img {
    margin-top: 5vh;
}

h2 {
    color: #006200;
    text-align: center;
    margin-top: 2vh;
}

.languages a {
    text-decoration: none;
}




/*     Page Portofolio*/

#projects {
    background-color: white;
    width: 60vw;
    height: 71.5vh;
    margin-top: 9.5vh;
    border: 0.3vh solid #0090c1;
    font-size: 1vw;
}

select {
    margin-left: 5vw;
    font-size: 1vw;
}
        
.projects {
    height: 58vh;
    overflow: auto;
}

.projects div {
    display: inline-block;
}

.projects img {
    border: 1px solid #0050e6;
    padding: 1vh 1vw;
}

.projects, .showProject {
    padding: 1vw;
}

.showProject {
    width: 100%;
    height: 40vh;
    border: 1px solid #0090c1;
    margin-top: 2vh;
    overflow-y: auto;
    display: none;
}

.showProject .programsProject, .showProject .details {
    border-collapse: collapse;
    margin-right: 2vw;
}

.showProject .programsProject td{
    border: 1px solid #0050e6;
    width: 50px;
    height: 50px;
}

.showProject h3 {
    text-align: center;
    padding: 3vh 0;
    font-size: 1.5vw;
}

.showProject .details {
    width: 100%;
}

.showProject .details td:last-child {
    width: 350px;
}

.showProject .details td:first-child {
    width: auto;
    padding-right: 1vw;
    text-align: justify;
    vertical-align: top;
}



@media (max-width: 1100px) {
    .front img, .portfolio {
		width: 100px;
		height: 100px;
	}
    
    .cv {
        width: 100px;
        height: auto;
    }

    #projects, select {
        font-size: 1.3vw;
    }

    #droite .otherSkills {
        font-size: 1.5vw;
    }

    #gauche .petit img {
        height: 30px;
        width: 30px;
    }

    .scroll h3 {
        margin-bottom: 2vh;
    }
}


@media (max-width: 850px) {
    
    #projects {
        width: 100vw;
        margin-left: -20vw;
        margin-right: -5vw;
    }
    
    .projects, .showProject {
        width: 95vw;
        padding: 1vw;
    }
    
    .imageProject {
        width: 300px;
    }
    
    section {
        width: 40vw;
    }

    .showProject, #gauche, #droite, form button, input[type="reset"] {
        font-size: 2vw;
    }

    .showProject h3 {
        font-size: 3vw;
    }
    
    h2, #gauche strong, #droite strong {
        font-size: 3vw;
    }
    
    #gauche .grand span {
        font-family: 'Tangerine', cursive;
        font-size: 5vw;
    }
    
    form input, textarea {
        width: 25vw;
    }

    #droite .otherSkills {
        font-size: 2.5vw;
    }

    .scroll p span img, .scroll p img{
        width: 40px;
        height: auto;
    }

    .scroll h3 {
        margin-bottom: 3vh;
    }
}

@media (max-width: 600px) {
    #gauche, #droite {
        font-size: 2.5vw;
	}
    
    h2, #gauche strong, #droite strong {
        font-size: 3.5vw;
    }
    
    #gauche .grand span {
        font-family: 'Tangerine', cursive;
        font-size: 6vw;
    }

    #gauche .petit img {
        height: 25px;
        width: 25px;
    }

    #projects, select, .showProject .details {
        font-size: 3vw;
    }

    .showProject h3 {
        font-size: 4vw;
    }
    
    .showProject .details td:last-child {
        width: 150px;
    }
    
    .showProject .details td:last-child img{
        width: 150px;
    }

    #droite .otherSkills {
        font-size: 3vw;
    }

    .scroll h3 {
        margin-bottom: 4vh;
    }
}


@media (max-width: 425px) {
	.front img, .portfolio {
		width: 80px;
		height: 80px;
    }

    .scroll p span img, .scroll p img{
        width: 30px;
        height: auto;
    }
    
	#gauche, #droite {
        font-size: 3vw;
    }
    
    form button, input[type="reset"] {
        font-size: 3vw;
    }
    
    h2, #gauche strong, #droite strong {
        font-size: 4vw;
    }
    
    #gauche .grand span {
        font-family: 'Tangerine', cursive;
        font-size: 8vw;
    }

    #gauche .petit img {
        height: 20px;
        width: 20px;
    }

    #projects, select, .showProject .details {
        font-size: 4vw;
    }

    .showProject div h3 {
        font-size: 5vw;
    }

    .scroll h3 {
        margin-bottom: 7vh;
    }
}