%PDF- %PDF-
Direktori : /proc/self/root/var/www/html/styles/ |
Current File : //proc/self/root/var/www/html/styles/About.css |
.mainAbout { position: relative; background-color: #f26739; z-index: -10; } .mainAbout .intro.revealed { opacity: 1; } .mainAbout .intro { display: flex; justify-content: space-around; align-items: center; padding: 17rem 19rem 0 19rem; opacity: 0; will-change: opacity; transition: all 0.5s ease-out; } .mainAbout .aboutBackground svg { width: 100%; position: absolute; top: 0; z-index: -100; } .mainAbout .intro .text { display: flex; flex-direction: column; width: 60%; } .mainAbout .intro .text .adventureDiv { position: relative; display: flex; justify-content: center; align-items: center; background-color: #2d2d2d; width: 13.5rem; height: 3.3rem; transform: rotate(1.8deg); } .mainAbout .intro .text h4 { font-family: "Inter"; font-style: normal; font-weight: bold; font-size: 1.4rem; letter-spacing: -0.005em; text-transform: uppercase; color: #ffffff; display: inline-block; transform: rotate(-1.8deg); } .mainAbout .intro .text h1 { font-family: "Anton"; font-style: normal; font-weight: normal; font-size: 7.5rem; line-height: 8rem; letter-spacing: 0.005em; text-transform: uppercase; color: #2d2d2d; width: 90%; } .mainAbout .intro .text h1 span, .mainAbout .lowerIntro h1 span { color: white; } .mainAbout .intro .text p { font-family: "Inter"; font-style: normal; font-weight: normal; font-size: 1.8rem; line-height: 140%; letter-spacing: -0.005em; text-align: justify; color: #ffffff; width: 80%; } .mainAbout .intro .images { padding-top: 6rem; width: 53.5rem; height: 100%; overflow: hidden; } .mainAbout .intro .images img { width: 100%; height: 100%; object-fit: cover; } .mainAbout .lowerIntro { display: flex; justify-content: space-around; align-items: flex-start; padding: 18.7rem 19rem 9rem 19rem; } .mainAbout .lowerIntro .title { width: 60%; } .mainAbout .lowerIntro h1 { font-family: "Anton"; font-style: normal; font-weight: normal; font-size: 7.5rem; line-height: 1.1; letter-spacing: 0.005em; text-transform: uppercase; color: #2d2d2d; margin-top: 0; } .mainAbout .lowerIntro .text { width: 36%; /* margin-top: 9rem; */ } .mainAbout .lowerIntro p { font-family: "Inter"; font-style: normal; font-weight: normal; text-align: justify; font-size: 1.8rem; line-height: 1.5; letter-spacing: -0.005em; color: #ffffff; margin-top: 0; } .mainAbout .dubrovnik { position: relative; padding: 0 19rem 0 19rem; } .mainAbout .dubrovnik::after { content: ""; position: absolute; background-image: url("../public/img/About/db-bg-vector-1.svg"); background-size: 100%; background-repeat: no-repeat; top: -14rem; left: 0; width: 100%; height: 100%; z-index: -10; } .mainAbout .dubrovnikBackground { overflow: hidden; position: sticky; top: 0; } /* .mainAbout .dubrovnikBackground svg { width: 100%; position: absolute; top: -15rem; z-index: -100; left: 0; } */ .mainAbout .dubrovnik h1 { font-family: "Anton"; font-style: normal; font-weight: normal; font-size: 38.5rem; max-width: 90vw; line-height: 60rem; letter-spacing: -0.02em; text-transform: uppercase; color: #ffffff; margin: 0; } .mainAbout .collage { display: flex; width: 100%; max-width: 100%; align-content: stretch; justify-content: center; align-items: stretch; } .mainAbout .collage .image { width: 100%; height: 100%; overflow: hidden; } .mainAbout .collage .ml { margin-left: 10rem; } .mainAbout .collage .image img { width: 100%; height: 100%; object-fit: cover; } .mainAbout .collage .rotate { transform: rotate(-4deg); margin: 1.2rem; } /* Responsive */ /* @media not all and (min-resolution: 0.001dpcm) and (min-device-width: 260px) and (max-device-width: 1024px) { @supports (-webkit-appearance: none) { .mainAbout { padding-top: 350px !important; } } } */ @media (min-width: 260px) and (max-width: 720px) { .mainAbout .intro .text .adventureDiv { width: 25%; height: 6.5rem; } .mainAbout .intro .text h4 { font-size: 10px; } .mainAbout .intro, .mainAbout .lowerIntro { padding: 0 25px; padding-top: 2rem; } .mainAbout .intro .text, .mainAbout .lowerIntro .text { width: 100%; } .mainAbout .intro .text p, .mainAbout .lowerIntro p { font-size: 16px; text-align: left; margin-top: 7px; } /* .mainAbout .lowerIntro .text p:nth-child(1) { margin-bottom: 9rem; } */ .mainAbout .lowerIntro .text { margin-top: 0; } .mainAbout .videoPlayer button { width: 10rem; height: 10rem; } .mainAbout .intro, .mainAbout .lowerIntro { flex-direction: column; } .mainAbout .lowerIntro .title { width: 100%; } .mainAbout .intro .text h1, .mainAbout .lowerIntro h1 { font-size: 38px; line-height: 1.1; width: 100%; margin-bottom: 7px; margin-top: 15px; } .mainAbout .intro .text p { line-height: 140%; width: 100%; margin: 7px 0; } .mainAbout .intro .images { width: 100%; height: 100%; padding-top: 4rem; } .mainAbout .dubrovnik { padding: 60rem 0 0 0; margin-bottom: -151rem; } .mainAbout .dubrovnik h1 { font-size: 24.7rem; line-height: 48rem; margin-left: 1.5rem; padding-top: 25px; } .mainAbout .collage { flex-direction: column; } .mainAbout .collage.col2 { display: none; } .mainAbout .collage .image { margin: 1.5rem; width: 95%; } .mainAbout .collage .ml { margin-left: 0; } } @media (min-width: 721px) and (max-width: 1024px) { .mainAbout .intro, .mainAbout .lowerIntro { flex-direction: column; width: 100%; padding: 0; padding-top: 1.5rem; } .mainAbout .intro .text { width: 94%; } .mainAbout .intro .text h1, .mainAbout .lowerIntro h1 { font-size: 6rem; line-height: 1.1; width: 100%; } .mainAbout .intro .text p { font-size: 22px; line-height: 140%; width: 100%; } .mainAbout .intro .images { width: 100%; height: 100%; text-align: center; } .mainAbout .lowerIntro .title { width: 94%; } .mainAbout .lowerIntro .text { width: 94%; } .mainAbout .lowerIntro .text p { font-size: 22px; } .mainAbout .dubrovnik { padding: 0; } .mainAbout .dubrovnik h1 { font-size: 24.7rem; line-height: 48rem; margin-left: 1.5rem; } .mainAbout .collage { padding: 0 19.2px; } }