* {
    margin: 0;
    padding: 0;
}

:root {
    --black: #000;
    --white: #f3f3f3;
    --grey: #858585;
    --blue: #3b5998;
}

#main-container {
    display: block;
    background: var(--white);
    border-style: none;
    margin: auto;
    padding: 0 auto;
    width: 100%;
    /* height: 7592px; */
}

.empty {
    height: 200px;
    background: yellow;
}

.wrapper {
    width: 90%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 5px;
}

/* HEADER */

header {
    display: block;
    border-style: none;
    margin: 0 auto;
    border-radius: 0px;
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
    background-color: var(--black);
}

#header-image {
    display: block;
    top: 22px;
    right: 0;
    position: absolute;
}

.header-image-container {
    border-style: none;
    border-radius: 0px;
    width: 374px;
    height: 588px;
    overflow: hidden;
}

.header-image-container img {
    height: 588px;
    opacity: 0.6;
}

.header-text {
    width: 100%;
    position: absolute;
    bottom: 30%;
    color: var(--white);
    z-index: 99;
    text-align: center;
}

.date {
    margin: 5px;
    text-transform: uppercase;
    color: var(--white);
    margin: 10px 10%;
    opacity: 0.5;
}

.header-image-text {
    width: 100%;
    position: absolute;
    bottom: 0;
    text-align: left;
    z-index: 99;
    color: var(--white);
    padding-top: 20px;
    padding-bottom: 20px;
    opacity: 0.7;
}

.header-image-text p {
    margin: 0 auto;
    width: 90%;
}

/* ABOUT SECTION */

.about {
    width: 100%;
    margin: 0;
    padding: 0;
}

.img-section-about {
    width: 200px;
    height: 200px;
    margin: 20px auto;
    border: 10px solid var(--white);
    overflow: hidden;
    border-radius: 50%;
    filter: drop-shadow(0 0 0.2rem rgba(0, 0, 0, 0.3));
}

.img-section-about img {
    width: 200px;
    margin: 0 auto;
    border-radius: 100px;
}

.about-text {
    width: 90%;
    margin: 10px auto;
}

.text-impact {
    font-size: 1.4rem;
    color: var(--grey);
}

/* HIS WORK */

.his-work {
    width: 100%;
    background: var(--black);
    color: var(--white);
    overflow: hidden;
    margin: 2rem auto;
}

.title-his-work {
    height: 3rem;
}

.his-work h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--white);
}

.border-bottom {
    border-bottom: 1px solid var(--white);
    width: 10%;
    margin: 10px auto;
}

.his-work-container {
    max-width: 1080px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 1fr;
}

.item {
    /* background: red; */
    color: var(--white);
    font-size: 1.2rem;
    padding: 1.2rem;
    /* border: greenyellow 1px solid; */
}

.img-cont {
    max-height: 190px;
    overflow: hidden;
}

.item img {
    width: 100%;
}

.item img:hover {
    opacity: 0.8;
}

.container-img h4, p {
    margin-top: 1rem;
}

.container-img h4 {
    text-align: center;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.container-img p {
    opacity: 0.7;
}

/* HIS FAMILY */

.his-family {
    width: 100%;
    color: var(--black);
    overflow: hidden;
    margin: 2rem auto;
}

.title-his-family {
    height: 3rem;
    text-align: center;
}

.his-family h3 {
    text-align: center;
    font-size: 1.8rem;
}

.his-family-container {
    max-width: 1080px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 1fr;
}

.img-cont-family img {
    margin: 0 auto;
    display: block;
}

.container-img-family h4, p {
    margin: 1rem auto;
}

.container-img-family h4 {
    text-transform: uppercase;
    text-align: center;
}

#father {
    opacity: 0.6;
}

 .container-img-family a {
    text-decoration: none;
    color: var(--blue);
    font-size: 1.1rem;
    opacity: 0.6;
}

.container-img-family a:hover {
   opacity: 1;
}

.img-cont-family {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    overflow: hidden;
    margin: auto;
    box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.3);
}

.img-cont-family img {
    width: 100%;
}

footer {
    background: var(--black);
    width: 100%;
    height: 4rem;
    color: var(--white);
    text-align: center;
}

footer ul {
    list-style-type: none;
    padding-top: 1rem;
}

footer ul li a {
    color: var(--blue);
}

footer ul li a:hover {
    color: var(--grey);
}



/* @media queries */

@media screen and (min-width: 641px){
    .his-work-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .line-work {
        margin: 4rem auto 0 auto;
        padding: 0;
        height: .2rem;
        background: var(--white);
        width: 90%;
    }
    br {
        display: none;
    }
    .header-text {
        margin-top: 10rem;
        position: relative;
    }
    .header-text, .header-image-text {
        bottom: 30%;
        width: 60%;
    }
}

@media screen and (max-width: 641px){
    .line-work {
        display: none;
    }
}

@media screen and (min-width: 960px) {
    .header-text {
       font-size: 1.6rem;
    }
    .header-text, .header-image-text {
      font-size: 1.3rem;
    }
}