.circle{ position: absolute; top: -75px; left: 0; width: 150px; height: 150px; border-radius: 50%; background-color: #035B73; display: flex; align-items: center; justify-content: center; color: white; font-family: "Montserrat", serif; font-size: 80px; font-weight: bold; } .image-projects{ display: flex; align-items: end; line-height: 0; } .blue-square-projects{ width: 100%; max-width: 382px; margin: 0 0 0 auto; position: relative; } .blue-square-projects.eternal{ bottom: 123px; } .image-projects h3{ line-height: normal; width: 100%; max-width: 382px; font-family: "Assistant", serif; font-size: 36px; font-weight: bold; background-color: #1A4870; color: white; text-align: center; padding: 18px 0 11px 0; } .blue-square-projects p { background-color: #5B99C2; text-align: center; font-family: "Montserrat",serif; text-align: center; padding: 44px 0 44px 0; color: white; font-weight: bold; font-size: 20px; } .container.project-single{ padding-left: 75px; } .project-wrapper{ margin-bottom: 116px; } .countless{ background-color: #272727; padding: 75px 90px; border-radius: 25px; width: 100%; max-width: 780px; margin: 0 auto 116px auto; text-align: center; } .countless p{ font-family: "Montserrat", serif; font-size: 40px; font-weight: bold; color: white; } @media screen and (max-width: 1200px) { .container{ max-width: 1145px!important; } } @media screen and (max-width: 1150px) { .container.project-single{ padding-left: 0px!important; } .container{ max-width: 1145px!important; } header nav ul{ flex-direction: column; } header nav ul li{ padding: 10px 0; } .image-projects{ flex-direction: column-reverse; align-items: center; } .blue-square-projects{ margin: 0 auto 75px auto; } .circle{ display: none; } .footer.container{ display: flex; flex-direction: column; align-items: center; text-align: center; } .footer-nav-dois{ margin-left: unset; } .image-projects img{ width: 100%; } } @media screen and (max-width: 720px) { .countless p{ font-size: 28px; } } /* Video Modal Styles */ .modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.9); } .modal-content { position: relative; background-color: #fefefe; margin: 5% auto; padding: 0; width: 90%; max-width: 800px; border-radius: 10px; overflow: hidden; } .close { color: #aaa; position: absolute; top: 10px; right: 25px; font-size: 35px; font-weight: bold; z-index: 1001; cursor: pointer; background-color: rgba(0,0,0,0.7); border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; } .close:hover, .close:focus { color: #000; text-decoration: none; cursor: pointer; } #modalVideo { width: 100%; height: auto; display: block; } @media screen and (max-width: 600px) { .modal-content { width: 95%; margin: 10% auto; } .close { top: 5px; right: 15px; font-size: 28px; width: 35px; height: 35px; } }