* { margin: 0; padding: 0; box-sizing: border-box; } h1 { font-family: 'Roboto', sans-serif; font-size: 3rem; font-weight: bold; color: #fff; background: darkgoldenrod; text-align: center; padding: 1.5rem; box-shadow: 0rem 0.1rem 1rem rgba(100, 100, 100); } h1 a { color: #fff; text-decoration: none; } h1 a:hover { color: #fff; text-decoration: none; cursor: default; } .container { padding: 2rem; padding-top: 1rem; display: flex; } .card { margin-left: 1rem; max-width: 40rem; background-color: #eee; display: flex; flex-direction: column; text-align: center; height: fit-content; margin: 2rem 0; box-shadow: .5rem .5rem 3rem rgba(0,0,0,0.2); } .card .card-img { width: 100%; height: 35rem; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 78%, 0% 100%); } .act-head { font-size: 2.5rem; color: goldenrod; margin: 1.5rem 0; font-family: 'Roboto', sans-serif; font-weight: bold; } .subtitle { color: #777; font-size: 2rem; font-weight: 300; font-family: 'Roboto', sans-serif; } .card .about { font-size: 1.5rem; margin: 1.5rem 1.5rem; font-style: none; text-align: center; } .card .about li { text-align: justify; color: #333; font-family: 'Roboto', sans-serif; list-style: none; } .card .about a { text-decoration: underline; color: #444; transition: all 0.2s ease; font-weight: normal; } .card .about a:hover { color: darkgoldenrod; } .detail-container { display: flex; justify-content: center; align-items: center; margin-top: 20px; } .first-container { margin-top: 0; } .last-container { margin-bottom: 0; } .query { font-weight: bold; text-align: right; } .answer { margin-left: 7px; } .second-line { margin-top: 10px; } .writing { margin-top: 2rem; margin-left: 3rem; max-width: 977px; } .writing h1 { font-size: 3rem; background: none; padding: 0; color: #444; text-align: left; box-shadow: none; } .writing .noice { margin-top: 1rem; margin-bottom: 1rem; height: 0.5rem; width: 15rem; border-radius: 5rem; text-align: left; } .info { font-size: 1.2rem; font-family: 'Roboto', sans-serif; } a { text-decoration: underline; color: #444; font-weight: bold; transition: all 0.2s ease; } a:hover { color: darkgoldenrod; cursor: pointer; } .inv { font-size: 1.2rem; font-family: 'Roboto', sans-serif; } .footer { font-family: 'Roboto', sans-serif; font-size: 2rem; font-weight: bold; color: #fff; background: darkgoldenrod; text-align: center; padding: 1.5rem; box-shadow: 0rem 0.1rem 1rem rgba(100, 100, 100); justify-content: center; align-items: center; } .gap { margin-left: 2rem; } .footer button { height: 3rem; width: 10rem; border-radius: 10px; font-size: 1.2rem; border: none; outline: none; background-color: #fff; transition: all 0.2s ease; text-decoration: none; color: darkgoldenrod; font-weight: bold; } .footer button:hover { background-color: #ddd; cursor: pointer; } .footer button a { text-decoration: none; color: darkgoldenrod; } .footer button a:hover { text-decoration: none; color: darkgoldenrod; cursor: pointer; } @media screen and (max-width:1024px) { .container { padding: 2rem; padding-top: 1rem; display: block; } .card { margin-left: 1rem; max-width: 60rem; background-color: #eee; display: flex; flex-direction: column; justify-content: center; align-items: center; margin: 2rem 0; box-shadow: .5rem .5rem 3rem rgba(0,0,0,0.2); } } .bg-popup, .bg-popup-two, .bg-popup-three, .bg-popup-four, .bg-popup-five, .bg-popup-six, .bg-popup-seven, .bg-popup-eight, .bg-popup-nine, .bg-popup-ten, .bg-popup-eleven { width: 100%; height: 100%; background-color: rgba(0,0,0,0.7); position: fixed; top: 0; display: flex; justify-content: center; align-items: center; display: none; } .popup-content, .popup-content-two, .popup-content-three, .popup-content-four, .popup-content-five, .popup-content-six, .popup-content-seven, .popup-content-eight, .popup-content-nine, .popup-content-ten, .popup-content-eleven { width: 500px; min-height: 200px; background-color: #fff; opacity: 1; border-radius: 10px; text-align: center; padding: 20px; position: relative; } .popup-content img, .popup-content-two img, .popup-content-three img, .popup-content-four img, .popup-content-five img, .popup-content-six img, .popup-content-seven img, .popup-content-eight img, .popup-content-nine img, .popup-content-ten img, .popup-content-eleven img { height: 40%; width: 40%; border-radius: 10px; } .popup-content h1, .popup-content-two h1, .popup-content-three h1, .popup-content-four h1, .popup-content-five h1, .popup-content-six h1, .popup-content-seven h1, .popup-content-eight h1, .popup-content-nine h1, .popup-content-ten h1, .popup-content-eleven h1 { font-size: 2.5rem; background: none; padding-top: 20px; color: #444; box-shadow: none; } .popup-content label, .popup-content-two label, .popup-content-three label, .popup-content-four label, .popup-content-five label, .popup-content-six label, .popup-content-seven label, .popup-content-eight label, .popup-content-nine label, .popup-content-ten label, .popup-content-eleven label { font-size: 1.2rem; font-family: 'Roboto', sans-serif; text-align: justify; } .close, .close-two, .close-three, .close-four, .close-five, .close-six, .close-seven, .close-eight, .close-nine, .close-ten, .close-eleven { height: 3rem; width: 7rem; border-radius: 10px; color: #fff; background-color: darkgoldenrod; border: none; outline: none; font-size: 1.2rem; font-weight: bold; transition: all 0.2s ease; } .close:hover, .close-two:hover, .close-three:hover, .close-four:hover, .close-five:hover, .close-six:hover, .close-seven:hover, .close-eight:hover, .close-nine:hover, .close-ten:hover, .close-eleven:hover { background-color: goldenrod; cursor: pointer; } @media screen and (max-width:849px) { .footer button { margin-top: 2rem; } .popup-content, .popup-content-two, .popup-content-three, .popup-content-four, .popup-content-five, .popup-content-six, .popup-content-seven, .popup-content-eight, .popup-content-nine, .popup-content-ten, .popup-content-eleven { width: 400px; background-color: #fff; opacity: 1; border-radius: 10px; text-align: center; padding: 20px; } }