body {
    background-color: #000;
    margin: 50px;
    margin-top: 0;
}
h1, h2, ul {
    margin: 0;
}


/*Hero home*/
.container {
    display: grid;
    grid-template-rows: 1fr 1fr 1.5fr;
    height: 100vh;
}
.rect {
    background-color: #c3ff0b;
    width: 100%;
}
.rect h1 {
    font-family: "Xanh Mono", serif;
    text-transform: uppercase;
    font-weight: bolder;
    font-style: italic;
    font-size: 128px;
    /*mobile:24px medium:78px desktop:128px*/
}
.subtitle {
    font-family: "Major Mono Display", serif;
    font-weight: bold;
    font-style: normal;
    font-size: 34px;
    letter-spacing: 36px;
}
.nav {
    background-color: #f141b2;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
}
.mid-image {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: end;
    align-items: flex-end;
    position: relative;
}
.mid-image > img {
    position: absolute;
    filter: blur(2px);
    z-index: 0;
    width: 40%;
    object-fit: contain; 
}
.menu {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 80%;
}
.menu li {
    text-align: end; 
    padding: auto 0;
}
.menu a {
    color: #000;
    font-style: normal;
    font-weight: bold;
    font-family: "Major Mono Display", serif;
    font-size: 30px;
    padding: 10px 5px 10px 5px;
}
.menu a:link {
    text-decoration: none;
}
  
.menu a:visited {
  text-decoration: none;
}
  
.menu a:hover {
    text-decoration: none;
    background-color: #c3ff0b;
    letter-spacing: 10px;
    text-align: end; 
}
.menu a:active {
    text-decoration: none;
}

/*Portfolio section*/

.container-portfolio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    
}
.portfolio-title {
    color: #f141b2;
    font-size: 28px;
    padding-left: 50px;
    transform: rotate(-90deg);
    white-space: nowrap;
    text-align: end;
}
.container-portfolio > .menu p {
    color: #c3ff0b;
    text-align: end;
    font-family: "Major Mono Display", serif;
    font-style: italic;
    font-size: 20px;
    margin: 0;
}
.container-portfolio .menu a {
    color: #f141b2;
    font-size: 40px;
}

/*Section about me*/

.container-aboutme {
    height: 100vh;
    display: grid;
    grid-template-rows: 0.5fr 1fr 1fr;
    gap: 20px;
}
.container-aboutme .rect {
    background-color: #fff;
    
}
.container-aboutme h2 {
    font-family: "Xanh Mono", serif;
    text-transform: uppercase;
    font-weight: bolder;
    font-style: italic;
    font-size: 128px;
}
.text-aboutme {
    width: 700px;
    height: 200px;
    background-color: #fff;
}
.container-aboutme p {
    font-family: "Major Mono Display", serif;
    font-size: 22px;
}

/*Section skills*/
.container-skills {
    height: 100vh;
    display: grid;
    grid-template-rows: 2fr 10fr;
    gap: 100px;
}
.thing-title {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-family: "Major Mono Display", serif;
    
}
.skills-thing {
    color: #c3ff0b;
    text-align: start;
    font-family: "Major Mono Display", serif;
}
.skills-title {
    background-color: #c3ff0b;
    text-align: end;
    font-size: 100px;
}
.skills {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.skill-1 {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
}
.skill-2 {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
}
.skill-3 {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
}
.figure, .skill-title, .skill-rate {
    display: flex;
    justify-content: center;
    align-items: center;
}
.figure svg{
    color: #c3ff0b;
    width: 160px;
    height: 160px;

}
.skill-title {
    color: #c3ff0b;
    text-align: center;
    font-family: "Major Mono Display", serif;
    font-size: 40px;
    
}
.skill-rate {
    color: #c3ff0b;
    text-align: center;
    font-family: "Major Mono Display", serif;
    font-size: 40px;
}

/*Section Contact Me*/
.container-contactme {
    height: 100vh;
    display: grid;
    grid-template-rows: 2fr 6fr 2fr;
}
.title-contactme {
    width: 100%;
    background-color: #c3ff0b;
}
.title-contactme h2 {
    font-family: "Major Mono Display", serif;
    font-size: 150px;
    color: #000;
}
.mail {
    display: flex;
    justify-content: end;
    align-items: center;
}
.mail a {
    font-family: "Major Mono Display", serif;
    font-size: 40px;
    color: #c3ff0b;
}
.mail a:link {
    text-decoration: none;
}
.mail a:visited {
  text-decoration: none;
}
.social-media {
    width: 100%;
    background-color: #c3ff0b;
    display: flex;
    justify-content: space-around;
    align-items: center; 
}
.svg-size {
    width: 80px;
    height: 80px;
}

/*Footer*/
footer {
    margin: 0;
    margin-top: 100px;
}
footer p {
    text-align: center;
    font-family: serif;
    font-size: 20px;
    color: #c3ff0b;
}

/*Medias Query for responsive design*/

@media (max-width: 1450px) {
    h1 {
        font-size: 128px;
    }
    .subtitle {
        font-size: 34px;
        letter-spacing: 36px;
    }
}
@media (max-width: 1320px) {
    h1 {
        font-size: 78px;
    } 
    .subtitle {
        font-size: 24px;
        letter-spacing: 19px;
    }
}
@media (max-width: 890px) {
    h1 {
        font-size: 24px;
        white-space: nowrap;
    }
    .subtitle {
        font-size: 8px;
        letter-spacing: 5.5px;
    }
}