* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section, article, aside, footer, header, nav {
  display: block;
}

.key-container, .bio-container, .photo-container {
    background-color: #AB987A;
    color: #F5F5F5;
}

.key-container {
    display: flex;
    padding: 20px 0;
    justify-content: center;
}

.key-content {
    width: 600px;
    display: flex;
    justify-content: space-between;
}

.key-photo img {
    width: 200px;
    height: 200px;
    border: 5px solid #424857;
    border-radius: 20px 20px 20px 20px;
    background-color: #424857;
}

.specilize {
    width: 380px;
    height: 200px;
    list-style-type: none;
    list-style-position: inside;
    border-left: 5px solid #424857;
    border-right: 5px solid #424857;
    border-radius: 20px;
    padding: 20px 0px 0px 55px;
}

.specilize h2 {
    font-size: 18px;
}

.specilize ul {
    list-style: disc;
    padding-top: 5px;
    font-size: 16px;
    line-height: 1.3;
    list-style: square inside;
}

.bio-container {
    display: flex;
    justify-content: center;
}

.bio-text {
    width: 600px;
    padding: 0 20px;
    border-left: 5px solid #424857;
    border-right: 5px solid #424857;
    border-radius: 20px;
    font-size: 16px;
    text-align: justify;
}

.bio-text h2 {
    display: none;
}
.bio-text p {
    padding: 10px 0;
    line-height: 1.25;
}

.photo-container {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.photo-grid {
    width: 600px;
    display: flex;
    justify-content: space-between;
}

.photo-grid-item img {
    width: 190px;
    height: 143px;
    border: 5px solid #424857;
    border-radius: 5px;
    background-color: #424857;
}

.photo-grid-item:first-of-type img {
    border-radius: 20px 5px 5px 20px;
}

.photo-grid-item:last-of-type img {
    border-radius: 5px 20px 20px 5px;
}

@media only screen and (max-width:599px) {
    .key-content {
        flex-wrap: wrap;
        justify-content: center;
    }
    .specilize {
        height: 150px;
        padding: 15px 0px 0px 55px;
        border: none;
    }
    .bio-text {
        border: none;
    }
    .photo-grid {
        flex-direction: column;
        align-items: center;
    }
    .photo-grid-item {
        padding: 5px 0;
    }
    .key-photo img,
    .photo-grid-item img,
    .photo-grid-item:first-of-type img,
    .photo-grid-item:last-of-type img {
        border-radius: 10px;
    }
}
