Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*base*/
- *,
- *::before,
- *::after {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- /*body*/
- body {
- font-family: "Arial", sans-serif;
- line-height: 1.6;
- background-color: #fafaf5;
- }
- /*animation*/
- @keyframes fadeIn {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- @keyframes slideIn {
- 0% {
- transform: translateY(3rem);
- opacity: 0;
- }
- 100% {
- transform: translateY(0);
- opacity: 1;
- }
- }
- /*buttons*/
- .btn {
- padding: 1rem 2.5rem;
- text-transform: uppercase;
- border-radius: 5rem;
- text-decoration: none;
- font-size: 1.5rem;
- transition: all 0.3s ease;
- }
- .btn--white {
- background-color: #fff;
- color: #000;
- }
- .btn--animated {
- animation: slideIn 1.5s ease-out;
- }
- /*rooms*/
- .room-card {
- background-color: #fff;
- border-radius: 0.625rem;
- overflow: hidden;
- box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1);
- transition: all 0.3s ease;
- }
- .room-card:hover {
- transform: scale(1.05);
- }
- .room-card__img {
- width: 100%;
- height: 18.75rem;
- object-fit: cover;
- }
- .room-card__title {
- font-size: 1.8rem;
- margin-top: 1.5rem;
- }
- .room-card__price {
- font-size: 1.4rem;
- margin-bottom: 1.5rem;
- }
- /*activities*/
- .activity-card {
- background-color: #f7f7f7;
- padding: 2rem;
- border-radius: 0.625rem;
- transition: transform 0.3s ease;
- box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
- }
- .activity-card:hover {
- transform: translateY(-0.625rem);
- }
- .activity-card__title {
- font-size: 1.5rem;
- font-weight: bold;
- color: #333;
- }
- .activity-card__img {
- width: 100%;
- height: 18.75rem;
- object-fit: cover;
- }
- /*grids*/
- .grid-container {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
- gap: 2rem;
- }
- .activities__grid {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(21.875rem, 1fr));
- gap: 2rem;
- }
- /*
- image:
- https://www.pexels.com/photo/waterfront-hotels-buildings-near-blue-water-5007455/
- */
- /*header*/
- .header {
- height: 100vh;
- background: linear-gradient(to right bottom, rgba(255, 182, 193, 0.8), rgba(30, 144, 255, 0.7)), url("../img/pexels-jess-vide.jpg") center/cover no-repeat;
- clip-path: polygon(0 0, 100% 0, 100% 80%, 75% 100%, 25% 100%, 0 80%);
- display: flex;
- justify-content: center;
- align-items: center;
- animation: fadeIn 2s ease-out;
- }
- .header__text-box {
- text-align: center;
- color: #fff;
- }
- .header__text-box .heading-primary {
- font-size: 3.5rem;
- text-transform: uppercase;
- margin-bottom: 4rem;
- }
- .header__text-box .heading-primary--main {
- display: block;
- font-size: calc(2rem + 2vw);
- }
- .header__text-box .heading-primary--sub {
- display: block;
- font-size: calc(1rem + 1vw);
- }
- /*room section*/
- .section-rooms {
- padding: 5rem 2rem;
- background-color: #f4f4f4;
- text-align: center;
- }
- .section-rooms .heading-secondary {
- font-size: 2.5rem;
- margin-bottom: 3rem;
- color: #333;
- }
- /*activities section*/
- .section-activities {
- padding: 5rem 2rem;
- background-color: #fafaf5;
- text-align: center;
- }
- /*# sourceMappingURL=style.css.map */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement