+
+
+
+
+
Frequently asked questions
diff --git a/src/sections/Room3/style.module.scss b/src/sections/Room3/style.module.scss
index d5b87cb..4de1956 100644
--- a/src/sections/Room3/style.module.scss
+++ b/src/sections/Room3/style.module.scss
@@ -19,64 +19,79 @@
display: flex;
justify-content: center;
align-items: center;
+ @media screen and (max-width: vars.$breakpoint-lg) {
+ height: 62.5rem;
+ }
}
-.trapezoidClipPath {
+.trapezoidOuter {
+ top: 0%;
width: 88%;
height: 100%;
- background-color: #22272d;
+ background: #22272d;
+ position: absolute;
clip-path: polygon(10% 0, 90% 0, 100% 100%, 0% 100%);
- position: relative;
- display: flex;
- justify-content: center;
- align-items: center;
- overflow: hidden;
@media screen and (max-width: vars.$breakpoint-md) {
width: 100%;
}
}
-.room3Background {
+.trapezoidInner {
position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%) scaleX(1.1) scaleY(0.95);
- width: 100%;
- height: 100%;
+ inset: 20px;
+ background: radial-gradient(circle 700px at 85% 90%, #5c677bbb, #40454b);
+ clip-path: polygon(10% 0, 90% 0, 100% 100%, 0% 100%);
+ z-index: 1;
+
+ @media screen and (max-width: vars.$breakpoint-xl) {
+ background: radial-gradient(circle 600px at 90% 90%, #5c677bbb, #40454b);
+ }
@media screen and (max-width: vars.$breakpoint-lg) {
- transform: translate(-50%, -50%) scaleX(0.9) scaleY(1.5);
+ background: radial-gradient(circle 500px at 90% 90%, #5c677bbb, #40454b);
}
@media screen and (max-width: vars.$breakpoint-md) {
- transform: translate(-50%, -50%) scaleX(0.9) scaleY(2.7);
+ background: radial-gradient(circle 400px at 85% 90%, #5c677bbb, #40454b);
}
}
-.shelf {
+.gradient {
+ inset: 20px;
+ clip-path: polygon(10% 0, 90% 0, 90% 100%, 10% 100%);
position: absolute;
- bottom: 1rem;
- right: 10%;
- z-index: 2;
- width: 30%;
- @media screen and (max-width: vars.$breakpoint-md) {
- width: 50%;
- max-width: 300px;
- }
+ background: #696f78;
+ z-index: 0;
+}
+
+.crack {
+ top: 0%;
+ left: 70%;
+ width: 65px;
+ height: 298px;
+ position: absolute;
}
-.cauldron {
+.decor {
position: absolute;
- bottom: 1rem;
- right: 30%;
+ bottom: 0;
+ left: 65%;
+ transform: translateX(-50%);
z-index: 2;
- width: 25%;
+ width: 50%;
+
+ @media screen and (max-width: vars.$breakpoint-lg) {
+ width: 60%;
+ left: 60%;
+ }
@media screen and (max-width: vars.$breakpoint-md) {
- width: 50%;
- max-width: 300px;
+ bottom: 2%;
+ left: 50%;
+ width: 88%;
+ transform: translateX(-55%);
}
}
@@ -87,10 +102,12 @@
align-items: flex-start;
position: absolute;
top: 5rem;
+ left: 15%;
gap: 1rem;
width: 65%;
@media screen and (max-width: vars.$breakpoint-md) {
- top: 1rem;
+ top: 2rem;
+ left: 20%;
}
}
diff --git a/src/styles/vars.scss b/src/styles/vars.scss
index 8d1ad3e..f3e0626 100644
--- a/src/styles/vars.scss
+++ b/src/styles/vars.scss
@@ -13,9 +13,10 @@ $white: #ffffff;
$neutral: #a1acbd;
// Media Query Standard Breakpoints
-$breakpoint-sm: 425px; //
+$breakpoint-sm: 425px;
$breakpoint-md: 870px; // Use this breakpoint for most mobile-first CSS designs
$breakpoint-lg: 1024px;
+$breakpoint-xl: 1280px;
$breakpoint-navbar: 1000px;
$background-border: linear-gradient(
diff --git a/tsconfig.json b/tsconfig.json
index 5d5d7e9..62c557b 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,11 +1,7 @@
{
"compilerOptions": {
"target": "es5",
- "lib": [
- "dom",
- "dom.iterable",
- "esnext"
- ],
+ "lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
@@ -23,19 +19,10 @@
}
],
"paths": {
- "@/*": [
- "./src/*"
- ]
+ "@/*": ["./src/*"]
},
"forceConsistentCasingInFileNames": true
},
- "include": [
- "next-env.d.ts",
- "**/*.ts",
- "**/*.tsx",
- ".next/types/**/*.ts"
- ],
- "exclude": [
- "node_modules"
- ]
+ "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
+ "exclude": ["node_modules"]
}