body {
    font-family: 'Cormorant', serif;
}

h1 {
    display: inline-block;
    font-weight: 300;
    margin: 0 32px 0 0;
}

.navbar {
    margin: 16px; /* Reduced margin for smaller screens */
    background-color: rgba(255, 255, 255, 0.2);
    text-align: center; /* Center-aligning for smaller screens */
}

.list {
    display: inline-block;
}

.nav_list {
    display: inline-block;
}

.navbar a {
    text-decoration: none;
    color: black;
    margin: 0 8px;
}

.list ul {
    padding: 0;
}

.list a:hover {
    border-bottom: 1px solid black;
}

.container {
    width: 90%; /* Adjusted width for smaller screens */
    max-width: 700px; /* Limiting max-width for larger screens */
    margin: 20px auto; /* Centering and adjusting margins */
    padding: 10px;
    box-sizing: border-box;
    font-weight: 300;
    font-size: 15px;
}

h2 {

    padding: 15px;
    border: 1px solid transparent;
    border-radius: 50px;
}

.content_container {
    width: 90%; /* Adjusted width for smaller screens */
    max-width: 1300px; /* Limiting max-width for larger screens */
    margin: 0 auto;
    height: 70px;
    margin-bottom: 50px;
    font-size: 15px;
    text-align: center;
}

.content_container h2 {
    display: inline;
}

.image {
    width: 90%; /* Adjusted width for smaller screens */
    max-width: 500px; /* Limiting max-width for larger screens */
    height: auto; /* Allowing image height to adjust proportionally */
    margin: 30px auto; /* Centering and adjusting margins */
    box-sizing: border-box;
    background-image: url(images/PhotoRoom_20230619_073131.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
}

.contact {
    width: 90%; /* Adjusted width for smaller screens */
    max-width: 600px; /* Limiting max-width for larger screens */
    margin: 20px auto; /* Centering and adjusting margins */
}

.contact p {
    margin: 0;
    font-size: 20px;
    margin-bottom: 5px;
}

.contact h3 {
    font-size: 20px;
    margin-left: 5px;
    margin-right: 80px;
}

.footer {
    background-color: #F2F4F6;
    width: 90%; /* Adjusted width for smaller screens */
    max-width: 1415px; /* Limiting max-width for larger screens */
    height: 300px;
    margin: 50px auto; /* Centering and adjusting margins */
}

.footer h1 {
    position: relative;
    left: 50%; /* Centering horizontally */
    transform: translateX(-50%); /* Centering horizontally */
    display: inline-block;
    bottom: 70px;
    height: 200px;
}

.socials {
    margin: 20px auto; /* Adjusting margins for smaller screens */
    text-align: center; /* Center-aligning for smaller screens */
}

.icon {
    width: 30px;
    height: 30px;
    margin: 0 10px; /* Adjusting margins for smaller screens */
    display: inline-block;
    border-radius: 50%;
}

.icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

h5 {
    width: 90%; /* Adjusted width for smaller screens */
    max-width: 500px; /* Limiting max-width for larger screens */
    margin: 0 auto; /* Centering horizontally */
}

hr {
    width: 90%; /* Adjusted width for smaller screens */
    max-width: 100%; /* Ensuring it spans the entire width */
    margin: 20px auto; /* Centering and adjusting margins */
}

.container img {
    opacity: 0.6;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    z-index: -1;
}

@media (min-width: 768px) {
    .navbar {
        margin: 32px; /* Resetting margin for larger screens */
    }
}
