:root {
    --default-text-font: Outfit;
    --default-text-color: #ffffff;
    --default-text-size: 1rem;
    --default-bg-color: #000000;
    --accent-color: rgb(128, 82, 244);
    --accent-text: rgb(255, 255, 255);
}

::selection{
    background-color: var(--accent-color);
    color: var(--accent-text);
}

:active{
    outline: none;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: Outfit, 'Arial', sans-serif;
    background: #000;
    min-width: 300px;
    min-height: 100vh;
    padding: 4%;
    overflow: hidden;
}

/* ====== DESKTOP VIEW ELEMENTS ====== */

.fylc {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    height: calc(100vh - 80px);
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
}

.fylcbox {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: 1s ease;
}

.box1 {
    position: relative;
    width: 55%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 2%;
    transition: 0.2s ease;
}
        
.box1::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--accent);
    background-image: url('../-IMAGES-/pandrasid.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    filter: opacity(0.6);
    inset: 0;
    pointer-events: none;
}

.box1 h1 {
    font-size: 6rem;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
    letter-spacing: 2px;
    opacity: 1;
    background: url('../-IMAGES-/staticNoise-alp.gif') center center / cover no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    transition: 0.2s ease;
    user-select: text;
    -moz-user-select: text;
    -webkit-user-drag: none;
    cursor:default;
}

.box1 h1::selection {
    background-color: var(--accent);
    color: #ffffff;
    -webkit-background-clip:unset;
    -webkit-text-fill-color: rgb(255, 255, 255);
    background-clip: unset;
    transition: 0.2s ease;
    user-select: text;
    -moz-user-select: text;
    -webkit-user-drag: none;
}


.box1 p {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 300;
}

.box2 {
    position: relative;
    width: 35%;
    height: 50%;
    display: flex;
    align-items: center;
    margin-left: 7%;
    overflow: hidden;
    cursor:unset;
    color: white;
    font-family: Quicksand;
}

.box2:active {
    cursor:wait;
}

.box2::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('../-IMAGES-/BookProjectDisplayEn.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.8;
    z-index: -1;
    border-radius: 0;
    margin: 0; padding: 0;
}

.box2 .fylcbox {
    border-radius: 0px;
    overflow: hidden;
    position: relative;
    transition: 1s ease;
    padding: 4%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.box2 h1 {
    transition: 0.2s ease;
    color: var(--accent-text);
    background-color: var(--accent-color);
    width: fit-content;
    padding: 1% 3% 1% 2%;
    font-size: 1.8rem;
    font-family: Rubik;
    font-weight: 500;
}

.box2 p {
    color: var(--accent-text);
    font-family: Rubik;
    font-weight: 100;
    font-size: 1.6rem;
}

.box2overdown p {
    position: absolute;
    bottom: 0;
    right: 0;
    color: var(--accent-text);
    font-family: Rubik;
    font-weight: 100;
    font-size: 1.0rem;
    margin: 0;
    padding: 4%;
    text-align: right;
    text-decoration: underline;
    user-select: text;
    -moz-user-select: text;
    -webkit-user-drag: none;
}

.box3 {
    position: relative;
    width: 65%;
    height: 35%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 7%;
}


.box3::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('../-IMAGES-/CGCyKNM.webp');
    background-repeat: repeat;
    background-position: center;
    background-size: 100%;
    filter: blur(1px);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

.box4 {
    width:30%;
    height: 50%;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 2%;
    margin-left: auto;
    overflow-y: none;
}

.nav-menu {
    list-style: none;
    text-align: left;
    width: 100%;
}

.nav-menu h3 {
    color: var(--accent-color);
    font-size: 1rem;
    margin-top: 10%;
    font-weight: normal;
    border-bottom-style: solid;
    border-width: 1px; 
}

.nav-menu li {
    margin-top: 2%;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
}

.nav-menu a {
    color: #c1c1c1;
    text-decoration: none;
    font-size: 2rem;
    transition: 0.2s ease;
    position: relative;
    border-bottom-style: solid;
    border-bottom-color: black;
    border-bottom-width: 1px;
}

.nav-menu a:hover {
    color: var(--accent-color);
    transition: 0.2s ease;
}

.nav-menu a::before {
    content: '• ';
    color: var(--accent-color);
    margin-right: 5px;
}

.box2:hover ~ .box4 .nav-menu a[href="./book/"] {
    color:  var(--accent-text) !important;
    text-shadow: 0 0 10px var(--accent-text);
    transition: all 0.3s ease;
}

.box2:hover ~ .box4 .nav-menu a[href="./book/"] div {
    text-decoration: underline;
    animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px var(--accent-color);
    }
    to {
        text-shadow: 0 0 10px var(--accent-color);
    }
}

/* ====== PHONE VIEW ELEMENTS ====== */
.phoneView {
    display: none;
    position: absolute;
    width: 100vw;
    height: 100vh;
    color: white;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
}

.PhoneViewContent {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    padding: 5%;
}

.mainFrame {
    position: absolute;
    background-image: url('../-IMAGES-/pan-draw.webp');
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    inset: 0;
    opacity: 0.4;
    z-index: 0;
}

.title {
    text-align: center;
    position: relative;
    font-size: 6rem;
    font-family: outfit;
    font-weight: 600;
    background: url('../-IMAGES-/fameTitle.png') center center / contain no-repeat;
    width: fit-content;
    color: transparent;
}

.title::before {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    color: white;
    z-index: -1; 
    font-size: 5rem;
    font-family: outfit;
    font-weight: 600;
    pointer-events: none;
    user-select: none; 
}

.description {
    font-size: 1rem;
    margin-top: -7%;
}

.titleContainer {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    height: 70%;
}

.titleJob {
    align-self: center;
    height: 90%;
    width: 100%;
}
.controlButtons{
    display: flex;
    flex-direction: row;
    gap: 3%;
}

.cbtn {
    font-family: Outfit;
    padding:2%;
    flex-direction: column;
    display: flex;
    align-items: end;
    justify-content: center;
    margin-top: 5%;
    width: fit-content;
    height: 45px;
    background-color: var(--accent-color);
    border-radius: 5px;
    background-position: left;
    background-size: contain;
    transition: 0.2s ease;
    background-repeat: no-repeat;
    font-size: 1.2rem;
}

.cbtn:hover {
    background-color: #000000b8;
}