/* Import font */
@import url('https://fonts.googleapis.com/css2?family=Comic+Relief:wght@400;700&display=swap');


:root {
    --color-gray: #37353E;
    --color-black: #0F0E0E;
    --color-green: #A8BBA3;
    --color-bluey: #212121;
    --color-green: #06923E;
    --color-orng: #E67514;
    --color-green-light: #ECEDB0;

}

*{
    font-family: 'Comic Relief';
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

/* all paraghraphs*/
p {
    color: var(--color-gray);
}

/* Transitions */

/* This makes our links and bottons more scalible*/
a , .btn {
    transition: all 300ms ease;
}

/* Desktop navbar*/

nav, .nav-links {
    display: flex;
}

nav {
    justify-content: space-around;
    align-items: center;
    height: 17vh;
}

.nav-links {
    gap: 2rem;
    text-decoration: none;
    list-style: none;
    font-size: 1.5rem;
}

a {
    color: var(--color-black);
    text-decoration: none;
    text-decoration-color: var(--color-gray);
}
a:hover {
    color: var(--color-gray);
    text-decoration: underline;
    text-underline-offset: 0.7rem;
    text-decoration-color: var(--color-green);
}

.logo {
    font-size: 2rem;
    
}

.logo:hover {
    cursor: default;
}

/* Hambugrger menu*/

#hambuger-nav {
    display: none;
    position: relative;
}

.hambuger-menu {
    position: relative;
    display: inline-block;
}

.hambuger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;

}

.hambuger-icon  span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-black);
    transition: all 0.3s ease-in-out;
}

.menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;

}

.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: var(--color-black);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.menu-links li {
    list-style: none;
}

.menu-links.open {
    max-width: 300px;
    max-height: 300px;
}
.hambuger-icon.open span:first-child{
    transform: rotate(45deg) translate(10px, 5px);

}
.hambuger-icon.open span:nth-child(2){
    opacity: 0;

}
.hambuger-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
}

.hambuger-icon span:first-child{
    transform: none;
}
.hambuger-icon span:first-child{
    opacity: 1;
}
.hambuger-icon span:first-child{
    transform: none;
}

/* Sections */

section {
    padding-top:4vh;
    height: 96vh;
    margin: 0 10rem;
    min-height: fit-content;
}
.section-container{
    display: flex;
}
/* Profil's Section */
#profil {
    display: flex;
    justify-content: center;
    gap: 5rem;
    height: 80vh;
}

.section_pic-container {
    display: flex;
    height: 400px;
    width: 400px;
    margin: auto 0;
}

.section_text {
    align-self: center;
    text-align: center;
}

.section_text p {
    font-weight: 600;
}

.section_text_p1 {
    text-align: center;
}
.section_text_p2 {
    font-size: 1.5rem;
    text-align: center;
    padding-bottom: 0.5rem;
}
.section_text h1{
    font-size: 1.75rem;
    padding: 1rem;
}

#social-container {
    display: flex;
    justify-content: center;
    margin: 2rem;
    gap: 3rem;
    padding-top: 2rem;
}

/* icons*/
.icon {
    cursor: pointer;
    height: 2rem;
}

/* Buttons */
.btn_container {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.btn {
    font-weight: 600;
    transition: all 300ms ease;
    padding: 1rem;
    width: 8rem;
    border-radius: 2rem;
}

.btn-color-1, .btn-color-2 {
    border: var(--color-green) 0.1rem solid;
}

.btn-color-1:hover, .btn-color-2:hover {
    cursor: pointer;
}

.btn-color-1:hover, .btn-color-2:hover {
    background-color: var(--color-green);
    color: var(--color-black);

}

.btn_container {
    gap: 1rem;
    padding: 1.2rem;
}


/* About section*/

#about {
    position: relative;
}

.about-containers {
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.about-details-container {
    justify-content: center;
    flex-direction: column;
}

.about-containers, .about-details-container {
    display: flex;
}
.about-pic {
    border-radius: 2rem;
    width: 30rem;
    height: 30rem;
}

.arrow {
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
}

.sectoion_text_p1, .title {
    text-align: center;
    align-items: center;
}
.title { 
    padding-bottom: 2rem;
}
.details-container {
    padding: 1.5rem;
    flex: 1;
    background: var(--color-green);
    border-radius: 2rem;
    border: var(--color-green) 0.1rem solid;
    border-color:var(--color-gray);
    text-align: center;
    width: 16rem;
}
.section-container{
    gap: 3rem;
    height: 80%;
}

.section_pic-container{
    height: 400px;
    width: 400px;
}
.article-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.experience-sub-title{
    margin-bottom: 1rem;
}
.experience-details-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.3rem;
}
.article-container p{
    color: var(--color-green);
}

/* Experience Section*/

#experience {
    position: relative;
}

.details-containers{
    justify-content: center;
    text-align: center;
    align-items: center;
    border: var(--color-gray) 0.1rem solid;
    border-radius: 10px;
}

/*Projects */
#Project{
    position: relative;
}

.color-container {
    border-color: var(--color-gray);
    background: var(--color-green-light);
}

.project-img {
    border-radius: 2rem;
    width: 90%;
    height: 90%;
    margin-top: 1rem;
}

.project-title {
    margin: 1rem;
    color: var(--color-black);
}
.project-btn {
    color: var(--color-black);
    border-color: var(--color-green);
}

/* Contact */
#contact {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 90vh;
}
.contact-info-upper-container{
    display: flex;
    justify-content: center;
    border: var(--color-green-light) 0.1rem solid;
    border-color: var(--color-green);
    border-radius: 2rem;
    background: var(--color-green-light);
    margin: 2rem auto;
    padding: 1rem;
    gap: 2rem;
    
}

.contact-info-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}
.contact-info-container p {
    font-size: larger;
}

.contact-icon {
    cursor: default;
    
}

.contactemail{
    height: 2.5rem;
}

/* Footer */

footer{
    height: 26vh;
    margin: 0 0rem;
    padding-bottom: 1rem;
}

footer p {
    text-align: center;
}