.main-container { width: 100%; } body { margin: 0; padding: 0; } .content-welcome { display: flex; justify-content: center; align-items: center; } .content-welcome img { width: 100%; } .container { padding: 0px 20px; margin: 0px 50px; } .text-about { margin: 20px; } .text-about h1 { font-size: 30px; text-align: center; color: #3B3B3B; } .vision-missions { display: flex; gap: 25px; margin-top: 50px; } .vision, .missions { border: 4px solid #213E9E; padding: 10px; border-radius: 15px; width: 100%; } .vision h1, .missions h1 { color: #3B3B3B; text-align: center; border-bottom: 2px solid #555555; } .vision p, .missions p { text-align: justify; } .headings-group h1 { font-size: 30px; color: #3B3B3B; text-align: center; } #about-us { margin-bottom: 100px; } .about-container h1 { display: flex; text-align: center; justify-content: center; color: #3B3B3B; font-size: 32px; } .about-content { display: flex; justify-content: center; align-items: center; text-align: center; margin-top: 50px; } .text-about { text-align: center; display: flex; justify-content: space-between; align-items: center; flex-direction: column; } .grid2 { display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 20px; } .about-content .box { text-align: center; position: relative; margin-top: 10px; } .about-content .box h4 { position: relative; margin-top: -10px; font-size: 15px; } .box { padding: 5px; border-radius: 10px; display: flex; justify-content: space-evenly; align-items: center; } #rooms-img, #restaurant-about, #gym, #meeting { height: 50px; width: 50px; padding: 5px; } .about-content img { padding: 10px; width: 30rem; } .text-about h2 { color: #3B3B3B; } .text-about p { margin: 0; } .card-members { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; align-content: center; flex-direction: row; flex-wrap: wrap; margin-bottom: 40px; } .card-member { border-radius: 8px; background-color: #ffffff; box-shadow: 0.3s; width: 280px; height: 410px; border: #ffffff; position: relative; } .card-member { margin: 14px; } .card-member img { top: 5%; left: 5%; width: 90%; height: 63%; position: absolute; } .position-member { text-align: center; position: absolute; top: 73%; left: 5%; font-size: 14px; color: #555555; font-weight: 200; } .name-member { position: absolute; top: 66%; left: 5%; font-size: 17px; color: #050F30; } .follow-me { justify-content: space-between; } .follow-in img { width: 17px; height: auto; top: 85%; margin-left: 10px; margin: 0%; } .follow-ig img { width: 17px; height: auto; top: 84.8%; margin-left: 25px; border-color: #009c95; padding: 3px; } .follow-in img:hover { box-shadow: 0px 0px 2px 2px #0e76a8; cursor: pointer; border-radius: 5px; transform: scale3d(2); } .follow-ig img:hover { box-shadow: 0px 0px 2px 2px #c32aa3; cursor: pointer; border-radius: 5px; transform: scale3d(2); } .card-member:hover { box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); transform: scale(1.05); cursor: pointer; transition: transform 0.3s ease-in-out; } section:not(#nav, #footer) { opacity: 0; transform: translateY(50px); transition: all 1s ease-in-out; will-change: transform, opacity; } section:not(#nav, #footer).show { opacity: 1; transform: translateY(0); } @media screen and (max-width: 880px) { .about-content { display: block; } } @media screen and (max-width: 770px) { .container { margin: 0px; padding: 0px; } .content-welcome { display: block; justify-content: center; align-items: center; } .content-welcome img { width: 100%; } .vision-missions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; align-content: center; flex-direction: row; margin: 10px; } .vision, .missions { margin: 20px; } .box { flex-direction: column; } .view-about { float: right; margin: 20px; } .about-content img { padding: 0; width: 80%; } .card-member{ width: 280px; height: 380px; margin-right: 0px; } .name-member{ font-size: 16px; } .position-member{ font-size: 14px; } } @media screen and (max-width: 395px) { .about-content { font-size: 14px; } }