@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", "sans-serif";
    font-weight: 300;
    font-style: normal;
  }

.container {
    margin: 0 auto;
    width: auto;
}

.header {
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),
        url(images/bg.jpg);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* ---------- Menu ---------- */

.menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Lato", "sans-serif";
    text-transform: uppercase;
}

.logo {
    width: 40px;
    height: 40px;
    margin-left: 50px;
    color: #fffdfc;
}

.logo-container a {
    color: #fffdfc;
    position: relative;
    margin-top: 100px;
}


.menu .navbar ul li {
    position: relative;
    float: left;
}

.menu .navbar ul li a{
    padding: 20px;
    color: #fffdfc;
    display: block;
    font-weight: 300;
    letter-spacing: 1px;
}

.menu .navbar ul li a:hover{
    color: #ce967b;
}

#menu {
    display: none;
}

.menu-icono {
    width: 25px;
}

.menu label {
    cursor: pointer;
    display: none;
}

/* ---------- Header ---------- */

.header-content {
    text-align: center;
}

.header-content h1 {
    font-size: 55px;
    font-weight: 600;
    line-height: 80px;
    color: #f9fafc;
    text-transform: uppercase;
    margin-bottom: 35px;
}
.header-content p {
    font-size: 20px;
    font-weight: 400;
    color: #c5c5c5; 
    padding: 0 250px;
    margin-bottom: 25px;
}

.btn-1 {
    display: inline-block;
    padding: 11px 35px;
    background-color: #ce967b;
    color: #f9fafc;
    text-transform: uppercase;
}

.btn-1:hover {
    background-color: #ebad8d;
}

/* ---------- About me ---------- */

.aboutme {
    padding: 50px 0;
    background-color: #e1e2e6;
    position: relative;
}

.aboutme-content {
    text-align: center;
    max-width: 100vh;
}

.aboutme-content h2 {
    font-size: 25px;
    line-height: 70px;
    color: #323337;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.aboutme-group {
    display: inherit;
    justify-content: space-between;
    margin-bottom: 50px;
}

.aboutme-img {
    position: center;
    width: 200px;
}

.aboutme-1 {
    padding: 0 25px;
    align-items: center;
    position: static;
}

.aboutme-1 p{
    padding: 0 25px;
    align-items: center;
    position: static;   
}

.aboutme-2 {
    display: block;
    padding: 35px 15px;
    text-align: center;
    position: static;
    margin: auto;
    max-width: 100vh;
}

.aboutme-2-box {
    padding: auto;
    position: center;
    background-color: #cfcfcfcc;
    text-align: center;
    border: #cfcfcfcc;
    border-radius: 5px;
}

.aboutme-2 h3{
    padding: 20px 0 25px;
    text-transform: uppercase;
    position: static;
}

.aboutme-2-box-group {
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.aboutme-2-box-icn {
    padding: 0 10px 30px 0;
    width: 130px;
}

.aboutme-2-box-icn-txt {
    padding-top: 15px;
}

.aboutme-2-box-icn-txt p{
    text-align: center;
}

/* ---------- Experience ---------- */

.experience {
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),
        url(images/bg3.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;
}

.experience-content {
    text-align: center;
}

.experience-content h2 {
    font-size: 55px;
    line-height: 70px;
    color: #f9fafc;
    text-transform: uppercase;
    margin-bottom: 50px;
    padding: 0 0 25px;
    position: static;
}

.experience-content p {
    font-size: 16px;
    color: #c5c5c5;
    margin-bottom: 50px;
    padding: 0 100px;
}

.experience-group {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.experience-1 {
    width: 200px;
    padding: 0 100px;
    display: flex;
    justify-content: center;
    flex: 1 0 auto;
    margin: 10px;
    max-width: calc(100% - 20px);
}

.experience-1 img {
    width: 60px;
    margin-bottom: 15px;
}

.experience-1 h3 {
    color: #eaCCb3;
    font-size: 18px;
}

/* ---------- Portfolio ---------- */

.portfolio {
    padding: 100px 0;
    text-align: center;
}

.portfolio-content {
    justify-content: space-between;
    text-align: center;
    padding-top: 20px;
}

.portfolio h2 {
    font-size: 55px;
    line-height: 70px;
    color: #323337;
    text-transform: uppercase;
    margin-bottom: 25px;
    padding: 0 0 25px;
    position: static;
}

.portfolio-content p {
    font-size: 16px;
    color: #323337;
    margin-bottom: 50px;
    padding: 0 100px;
    flex-wrap: wrap;
}

.portfolio-group {
    justify-content: space-between;
    align-content: center;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.portfolio-1 {
    padding: 15px 25px;
}

.portfolio-1 img {
    width: 320px;
    height: 200px;
    border-radius: 5px;
    margin: 20px 20px;
    cursor: pointer;
}

/* ---------- Portfolio-Modal ---------- */

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.modal-content h2 {
    font-size: 35px;
}

.modal-content img {
    max-width: 40%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/* ---------- Curriculum ---------- */

.curriculum {
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),
        url(images/bg4.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;
}

.curriculum-content {
    text-align: center;
}

.curriculum-content h2 {
    font-size: 35px;
    line-height: 70px;
    color: #f9fafc;
    text-transform: uppercase;
    margin-bottom: 50px;
    padding: 0 0 25px;
    position: static;
}

.curriculum-group {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

/* ---------- Contact ---------- */

.contact {
    padding: 100px 0;
    text-align: center;
}

.contact-content-content {
    display: flex;
    justify-content: space-between;
}

.contact h2 {
    font-size: 55px;
    line-height: 70px;
    color: #323337;
    text-transform: uppercase;
    padding: 0 250px;
    margin-bottom: 15px;
    padding: 0px 0 25px;
    position: static;
}

.contact-group {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}


/* ---------- Footer ---------- */

.footer {
    padding: 50px;
    display: flex;
    background-color: #000;
    justify-content: center;
    align-items: center;
}

.footer-container {
    text-align: center;
}

.footer-row {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.icon {
    width: 50px;
    height: 50px;
    margin: 0 10px;
    padding-top: 8px;
    display: inline-block;
    font-size: 35px;
    color: #fffdfc;
}

.icon-2 {
    width: 30px;
    height: 30px;
    margin: 0 10px;
    display: inline-block;
    font-size: 25px;
    color: #fffdfc;
}

.footer-name {
    color: #ccc;
    font-size: 200;
    margin-top: 20px;
}

/* ---------- Responsive ---------- */

@media(max-width:991px) {
    
    /* Menu */

    .menu {
        padding: 30px;
    }

    .menu label {
        display: initial;
    }

    .menu .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #323337;
        display: none;
    }

    .menu .navbar ul li{
        width: 100%;
    }

    #menu:checked ~ .navbar {
        display: initial;
    }

    .logo {
        margin-left: 0px;
    }

    /* Header */

    .header {
        min-height: 0vh;
    }

    .header-content {
        padding: 100px 30px;
    }

    .header-content p {
        padding: 0;
    }

    /* About me */

    .aboutme-2-box-group {
        padding: 0;
    }

    /* Experience */

    .experience {
        padding: 30px;
    }

    .experience-content h2 {
        font-size: 50px;
    }

    .experience-content p {
        padding: 0;
    }

    .experience-group {
        flex-direction: row;
    }

    .experience-1 {
        margin-bottom: 25px;
    }

    .experience-1 img {
        min-height: 50px;
        min-width: 50px;
    }

    /* General */

    .general {
        flex-direction: column;
    }

    .general-1 {
        width: 100%;
        padding: 30px;
        text-align:  center;
    }

    .general-2, .general-3 {
        display: none;
    }

    /* Porfolio */

    .portfolio {
        padding: 30px;
    }

    .portfolio-content {
        flex-direction: row;
    }

    .bportfolio-1 {
        padding: 0;
    }

    /* Modal */

    .modal img{
        max-width: 100%;
    }

    .modal video{
        max-width: 100%;
    }

    .modal h2{
        font-size: 30px;
    }

    .modal p{
        font-size: 14px;
        padding: 0;
    }

    /* Footer */

    .footer {
        padding: 30px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

}
