271 lines
5.3 KiB
SCSS
271 lines
5.3 KiB
SCSS
// Hero Selection Screen
|
|
.hero-selection-card {
|
|
border-radius: 16px;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
border: none;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero-selection-body {
|
|
padding: 3rem 2rem;
|
|
text-align: center;
|
|
background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
|
|
|
|
@media (max-height: 450px) and (orientation: landscape) {
|
|
padding: 2rem 1.5rem;
|
|
}
|
|
}
|
|
|
|
.hero-selection-content {
|
|
max-width: 500px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.hero-selection-title {
|
|
color: white;
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
margin-bottom: 0.75rem;
|
|
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
|
|
|
@media (max-height: 450px) and (orientation: landscape) {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
}
|
|
|
|
.hero-selection-subtitle {
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font-size: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
|
|
@media (max-height: 450px) and (orientation: landscape) {
|
|
font-size: 0.85rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
}
|
|
|
|
.hero-selection-btn {
|
|
padding: 0.75rem 2rem;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
border-radius: 50px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
|
transition: all 0.3s;
|
|
|
|
&:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
@media (max-height: 450px) and (orientation: landscape) {
|
|
padding: 0.6rem 1.5rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
.MD2Hp {
|
|
font-size: xx-large;
|
|
position: fixed;
|
|
z-index: 92;
|
|
color: white;
|
|
bottom: 23%;
|
|
left: 46%;
|
|
}
|
|
.MD2Mp {
|
|
font-size: xx-large;
|
|
position: fixed;
|
|
z-index: 92;
|
|
color: white;
|
|
bottom: 22%;
|
|
left: 7%;
|
|
}
|
|
|
|
.MD2Name {
|
|
font-size: xx-large;
|
|
position: fixed;
|
|
z-index: 92;
|
|
color: #2e2e30;
|
|
bottom: 20%;
|
|
left: 23%;
|
|
}
|
|
.MD2HeroCard {
|
|
//position: absolute;
|
|
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
&.HpMpBar {
|
|
z-index: 10;
|
|
}
|
|
}
|
|
|
|
.tp-wrapper {
|
|
-webkit-perspective: 800px;
|
|
perspective: 800px;
|
|
height: 40vh; // Default for portrait
|
|
|
|
@media (orientation: landscape) {
|
|
height: 85vh;
|
|
}
|
|
|
|
@media (orientation: portrait) and (max-height: 667px) {
|
|
height: 50vh;
|
|
}
|
|
}
|
|
|
|
.tp-box {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
-webkit-transform-style: preserve-3d;
|
|
transform-style: preserve-3d;
|
|
-webkit-transform: transform 1s;
|
|
-ms-transform: transform 1s;
|
|
transform: transform 1s;
|
|
}
|
|
|
|
.tp-box__side {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
-webkit-backface-visibility: hidden;
|
|
backface-visibility: hidden;
|
|
cursor: pointer;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
// Hero Card Content Section
|
|
.hero-card-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
padding: 0.5rem;
|
|
overflow: hidden;
|
|
|
|
@media (max-height: 450px) and (orientation: landscape) {
|
|
padding: 0.25rem;
|
|
}
|
|
}
|
|
|
|
.hero-image-col {
|
|
padding: 0.25rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
|
|
@media (max-height: 450px) and (orientation: landscape) {
|
|
padding: 0.15rem;
|
|
}
|
|
}
|
|
|
|
.hero-image-wrapper {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
border-radius: 8px;
|
|
background: #f8f9fa;
|
|
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.hero-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
display: block;
|
|
cursor: pointer;
|
|
transition: transform 0.3s;
|
|
|
|
&:hover {
|
|
transform: scale(1.02);
|
|
}
|
|
}
|
|
|
|
.hero-skills-col {
|
|
padding: 0.25rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
|
|
@media (max-height: 450px) and (orientation: landscape) {
|
|
padding: 0.15rem;
|
|
}
|
|
}
|
|
|
|
.hero-skills {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: #f8f9fa;
|
|
border-radius: 8px;
|
|
padding: 0.75rem;
|
|
overflow-y: auto;
|
|
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
|
|
@media (max-height: 450px) and (orientation: landscape) {
|
|
padding: 0.5rem;
|
|
}
|
|
}
|
|
|
|
.skills-title {
|
|
font-size: 0.95rem;
|
|
font-weight: 700;
|
|
color: #667eea;
|
|
margin-bottom: 0.5rem;
|
|
padding-bottom: 0.25rem;
|
|
border-bottom: 2px solid #667eea;
|
|
|
|
@media (max-height: 450px) and (orientation: landscape) {
|
|
font-size: 0.75rem;
|
|
margin-bottom: 0.3rem;
|
|
padding-bottom: 0.15rem;
|
|
}
|
|
}
|
|
|
|
.shadow-skills-title {
|
|
margin-top: 1rem;
|
|
color: #764ba2;
|
|
border-bottom-color: #764ba2;
|
|
|
|
@media (max-height: 450px) and (orientation: landscape) {
|
|
margin-top: 0.5rem;
|
|
}
|
|
}
|
|
|
|
.skill-content {
|
|
font-size: 0.85rem;
|
|
line-height: 1.5;
|
|
color: #495057;
|
|
|
|
@media (max-height: 450px) and (orientation: landscape) {
|
|
font-size: 0.7rem;
|
|
line-height: 1.3;
|
|
}
|
|
}
|
|
|
|
.shadow-skill-content {
|
|
color: #6c757d;
|
|
}
|
|
.tp-box__front {
|
|
-webkit-transform: rotateY(0deg);
|
|
-ms-transform: rotateY(0deg);
|
|
transform: rotateY(0deg);
|
|
background: white;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
|
|
}
|
|
.tp-box__back {
|
|
-webkit-transform: rotateY(-180deg);
|
|
-ms-transform: rotateY(-180deg);
|
|
transform: rotateY(-180deg);
|
|
}
|