/* ABOUT SECTION */

.home-about {
  min-height: 50vh;
  display: flex;
  flex-wrap: wrap;
}

.home-about-martin {
  display: flex;
  background: #BDD0AE;
  width: 90%;
  margin: 5rem 5rem;
  border-radius: 10px;
  padding: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex: 3 1 30rem;
}
.home-about-martin h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.home-about-martin h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.home-about-martin p {
  text-align: justify;
  margin-bottom: 1rem;
}

.home-about-button-container {
    width: 100%;
    text-align: center;
    padding: 2rem 0;
}


/* .home-about-martin button {
  width: 50%;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #007BFF;
  border: 2px solid #8dbff4;
  color: whitesmoke;
  font-size: 2rem;
  font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.2rem;
  border-radius: 25px;
  
}
.home-about-martin button:hover {
  background: #063362;
} */

.home-about-martin-image {
  display: flex;
  flex: 1 1 30rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex: wrap;
}
.home-about-martin-image img {
  width: 60%;
  margin: auto auto;
}

/* GALLERY SECTION */
.home-gallery {
    min-height: 100vh;
    width: 95%;
    margin: 0 2.5% 2rem 2.5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #BDD0AE;
    border-radius: 25px;
    padding-top: 2rem;
}

.home-gallery-header {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.home-gallery-content {
    width: 96%;
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat (2, 1fr 1fr);
    border-radius: 10px;
    margin-bottom: 5rem;
}

.home-gallery-button {
    width: 100%;
    text-align: center;
    padding: 3rem 0;
}

/* .home-gallery-button button {
    width: 50%;
    margin: auto;
    padding: 1.5rem 3rem;
    background: #007BFF;
    border: 2px solid #8DBFF4;
    color: whitesmoke;
    font-size: 2rem;
    font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
    font-weight: 700;
    letter-spacing: 0.2rem;
    border-radius: 25px;
    transform: translateX(50%);
}

.home-gallery-button button:hover {
    background: #063362;
} */

.home-gallery img {
    object-fit: cover;
    width: 100%;
}

/* PROJECTS SECTION*/
.home-projects {
    min-height: 100vh;
    width: 95%;
    margin: 0 auto;
    background: #BDD0AE;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.home-projects-header {
   
    text-align: center;
}

.home-projects h1 {
    margin-bottom: 3rem;
    
}


/* .profile-education {
     width: 90%;
     margin: 0 auto 10rem auto;
    
    
}*/

.home-projects-content {
    position: relative;
    display: grid;
    grid-template-columns: max-content 20rem 75rem auto;
    grid-template-rows: auto;
    column-gap:2rem;
    row-gap: 3rem;
    margin-bottom: 3rem;
}

.home-projects-content p {
    text-align: left;
}

.home-projects-content li {
    list-style: none;
    border-bottom: 2px solid #022F02;
}

.row1 {
    text-align: center;
}

.home-projects-logo {
        width: 100%;
        margin: 0 auto;
}

/* .home-projects-button,
.home-projects-item-button {
        width: 80%;
        height: 5rem;
        padding: 0 2rem;
        margin: 0 auto;
        background: #007BFF;
        border: 2px solid #8DBFF4;
        color: whitesmoke;
        font-size: 1.5rem;
        font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
        font-weight: 700;
        letter-spacing: 0.2rem;
        border-radius: 25px;
    }

    .home-projects-item-button

    .home-projects-button:hover {
        background: #063362;
    } */

.home-projects-item-button {
    width: 80%;
    height: 4rem;
    text-align: center;
    vertical-align: center;
}

    /* CONTACT SECTION*/
.home-form-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}

.home-contact-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin-bottom: 2rem;
}

.home-contact-header img {
    width: 8rem;
}

.home-form-container {
    width: 95%;
    padding: 3rem 0;
    margin: 3rem auto;
    background-color: #BDD0AE;
    border-radius: 10px;
}

.home-form-container form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}
    

.form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.5rem;
}

.form-group input {
    height: 3rem;
    width: 35rem;
    border-radius: 5px;
    border: none;
    font-size: 1.8rem;
    padding: 0.5rem;
}

#subject {
    width: 50rem;
}

.form-group label {
    margin-right: 1rem;
    color: #000086;
    font-size: 2rem;
    font-weight: 600;
}

.text-area-group {
    display: flex;
    flex-direction: row;
    align-items: top;
    justify-content: center;
    width: 90%;
    padding: 1.5rem;
}

.text-area-group label {
    margin-right: 1rem;
    color: #000086;
    font-size: 2rem;
}

.home-form-container textarea {
    border-radius: 10px;
    border: none;
    font-size: 2rem;
    padding: 1rem;
}


/* .home-form-container button {
    width: 60%;
    margin: 2rem auto 5rem auto;
    padding: 1.5rem 3rem;
    background: #007BFF;
    border: 2px solid #8DBFF4;
    color: whitesmoke;
    font-size: 2rem;
    font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
    font-weight: 700;
    letter-spacing: 0.2rem;
    border-radius: 25px;
    } */

    .home-form-container button:hover {
        background: #063362;
    }

    @media screen and (max-width: 1470px) {
  .home-about {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

.home-about-martin {
    flex: 0 0 auto;
    margin: 2rem auto;
}

.home-about-martin-image img {
  width: 80%;
  margin: 3rem auto 3rem auto;
  
}

.home-projects-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.home-projects-content .row1 {
    display: none;
}

.home-projects-content .home-projects-app-title {
    display: none;
}

.home-projects-logo {
    width: 50%;
}

.home-projects-app-text {
    font-size: 1.6rem;
}

.home-projects-item-button {
    display: none;
}
}

@media screen and (max-width: 1040px){
    .home-gallery{
        justify-content: flex-start;
        margin:  3rem 2.5%;
        height: auto;
    }
}

@media screen and (max-width: 700px){
    
    h1 {
    font-size: 2.4rem
    }

    h3 {
    font-size: 2rem
    }

    p {
        font-size: 1.6rem;
    }

    .home-about-para-1 {
        display: none;
    }
}