body{
    padding: 0;
    margin: 0;
    background-color: #f0f0f0;
    font-family: 'Poppins-Regular',sans-serif;
}
a {
    display: inline-block;
    position: relative;
}
a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    border-radius: 4px;
    background-color: #000;
    bottom: -5px;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .3s ease-in-out;
  }
  a:hover::before {
      transform-origin: left;
      transform: scaleX(1);
    }

@font-face {
    font-family: "ShadowsIntoLight-Regular";
    src: url("fonts/ShadowsIntoLight-Regular.woff2") format("woff2");
  }
@font-face {
    font-family: "DMSerifDisplay-Italic";
    src: url("fonts/DMSerifDisplay-Italic.woff2") format("woff2");
}
@font-face {
    font-family: "Poppins-Regular";
    src: url("fonts/Poppins-Regular.woff2") format("woff2");
}
a {
    text-decoration: none;
    color: inherit;
}
@media (min-width: 768px){
    #container {
        width: 600px;
        margin: 10% auto;
        height: auto;
    }
    .text {
        width: 65%;
        }
        .photo {
            width: 35%;
            }
            .photo img {
                width: 100%;
            }
    .text h2{
        text-align: center;
    }
}
@media (max-width: 767px){
    #container {
        width: 96%;
        margin: 20px auto;
        height: 100%;
    }
    .content {
        flex-direction: column-reverse;
    }
    .photo {
        width: 100%;
    }
    .photo img {
        width: 70%;
        float: right;
    }
    .text h2 {
        text-align: left;
    }
}
#container {
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 10px;
    background-color: #fff;
}

.content {
    padding: 10px;
    display: flex;
}

.content h2 {
    font-family: 'DMSerifDisplay-Italic',sans-serif;
    font-weight: 700;
}

.contact-box {
    display: grid;
    gap: 10px;
    padding: 0 10px;
}

.contact-box p{
    margin: 0;
}

.contact-row {
    display: flex;
    justify-content: space-between;
}

.photo img {
    object-fit: cover;
}
