* {
    margin: 0;
    padding: 0; 
    box-sizing: border-box;
  }

body {
   font-family:'Times New Roman', Times, serif ;
   background: rgb(226, 223, 223);
   font-size: 1rem;
}


#header {
    background-color: rgb(231, 228, 228);
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}

.header-name__h1 {
    color: rgb(182, 164, 164);
    font-family: sans-serif;
}

.header-name__h1::first-letter {
    color: red;
    font-size: 2.8rem;
}


.navegacion-a {
    padding-left: 20px;
    text-decoration: none;
    color: black;
    font-family: sans-serif;
    font-size: 1.5rem;
    border-radius: 6px;
}


.navegacion-a:hover {
   text-decoration: 0.3rem underline rgb(4, 214, 169);
}


main {
    background-color: white;
    max-width: 90vw;
    max-height: 100vh;
    margin: auto;
    margin-top: 6rem;    
}

.main-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
}


.main-section__me {
    display: flex;
    width: 30rem;
    height: auto;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    margin: auto;
    padding: 3rem;
    box-shadow: 0 2px 6px rgba(2, 2, 2, 0.5);
}


.main-section__me:hover {
    transition: 0.6s ease;
    transform: scale(1.01);
}


.main-section__me h2 {
    font-size: 2rem;
    padding-bottom: 1rem;
}


.main-section__me p {
    font-size: 1rem;
    padding-bottom: 1rem;
}


.main-section__button {
    margin-top: 3rem;
    padding: 0.5rem;
    background-color: black;
    align-self: flex-start;
}


.main-section__button a {
    text-decoration: none;
    color: white;
}


.main-section__button:hover {
    transition: 0.8s ease;
    background-color: rgb(109, 102, 102);
}

.my-photo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 40rem;
}


.my-photo img {
    max-width: 100%;
    height: auto;
    display: block;
}


.img-fondo {
    margin-top: 2rem;
    height: 15rem;
    background-image: url("./iconos/img_fondo2.jpeg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


.footer {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    background-color: rgb(231, 228, 228);
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-top: 4.5rem;
}


.footer-name__h1 {
    color: rgb(182, 164, 164);
    font-family: sans-serif;
    margin-right: 10rem;
}


.footer-name__h1::first-letter {
    color: red;
    font-size: 2.8rem;
}


.footer-nav__a img {
    width: 40px;
    height: auto;
    display: block;
    margin-left: 2rem;
}

.footer-nav {
    display: flex;
    justify-content: space-around;
    margin-left: auto;
    margin-right: 30rem;
}

@media (max-width: 968px) {
    #header {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .main-section {
        grid-template-columns: 1fr;
    }
}
