@font-face {
    font-family: 'princess';
    src: url('/font/princess.ttf');
}
@font-face {
    font-family: 'baloo';
    src: url('/font/Baloo2-SemiBold.ttf');
}
@font-face {
    font-family: 'inter';
    src: url('/font/Inter_18pt-Regular.ttf');
}
@font-face {
    font-family: 'exo';
    src: url('/font/Exo2.0-Regular.otf');
}
* {
    margin: 0;
    padding: 0;
}

* {
  box-sizing: border-box;
}

body {
    display: flex;
    margin: 15px;
    padding-left: 10rem;
    padding-right: 10rem;
    /*background: #9b2a70;
    background: linear-gradient(0deg, rgba(155, 42, 112, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 97, 255, 1) 100%);
  
    background: #9b2a70;
    background: linear-gradient(0deg, rgba(155, 42, 112, 1) 0%, rgba(153, 222, 182, 1) 50%, rgba(237, 97, 255, 1) 100%);
    }*/
    background: #EDBECA;
    background: linear-gradient(0deg, rgba(237, 190, 202, 1) 0%, rgba(154, 219, 204, 1) 28%, rgba(179, 153, 184, 1) 62%, rgba(183, 143, 181, 1) 73%, rgba(237, 190, 202, 1) 100%);
}

.wrapper {
    
    width: 100%;
    margin: 0rem;
}

main {
    display:flex;
    padding: 1.5rem;
    border-radius: 15px;
    border-width: 10px;
    border-bottom: #bffce5;
    background-color:#e4d4e4;
    box-shadow: 2px 5px 15px rgb(80, 82, 82),inset 3px 3px 5px rgba(255, 255, 255, 0.9), 5px 5px 50px #dcfff2;
    
  }

 /* nav */ 

.navbox{
    padding: 0;
    padding-left: 20px;
    display:block;
    padding-bottom: 0rem;
    border-radius: 11px;
    margin-bottom: 2rem;
    background-color: #bffce5;
    box-shadow: 2px 5px 15px rgb(80, 82, 82),inset 3px 3px 5px rgba(255, 255, 255, 0.9);
    
}

.nav{
    display: flex;
    justify-content: space-between;
    min-height: 6vh;
    background-color: #eeeeee00;
    color: rgb(61, 61, 61);
    font-family: 'exo';
    padding-bottom: 0rem;
    padding-top: 0rem;
    align-items: center;
  }

.burger{
    display: none;
    cursor: pointer;
}

.burger img {
    height: 100px;
    margin: 5px;
}

/*widget - play, click, stb*/
.widget{
position: absolute;
left: 1200px;
top: 580px;
}

.widget img{
    height: 230px;
}

/*arrow left*/
.arrowleft{
position: absolute;
left: 40px;
top: 180px;
}

.arrowleft img {
    height: 100px;
}

/*arrow right*/
.arrowright{
position: absolute;
right: 40px;
top: 180px;
}

.arrowright img {
    height: 100px;
}


a img.hover {
    display: none;
}
a img.default {
    display: inherit;
}
a:hover img.hover {
    display: inherit;
}
a:hover img.default {
    display: none;
}

   /* index.html link - ide lehetne valami cuki pixel img */ 
.name{
    background-color: rgba(0, 0, 0, 0);
    justify-content: left;
    font-size: 1.2rem;
    font-weight: 1300;
    margin-top: 0rem;
    letter-spacing: 0px;
    text-decoration:none;
    color:rgb(255, 255, 255);   
}
.name:hover{
    background-color: #ffffff;
    justify-content: left;
    font-size: 1.2rem;
    font-weight: 1300;
    margin-top: 0rem;
    letter-spacing: 0px;
    text-decoration:none;
    color:rgb(19, 255, 43);
}

 /* nav links */ 
.mainlinks{
    display: contents;
    justify-content: space-between;
    width: 80%;
    padding-top: 0rem;
        text-align: right;
}

.mainlinks a { 
    color: rgb(255, 19, 247);
    text-align: right;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.2rem;
    margin-right: 1.2rem; 
}

.mainlinks a:hover {
    
    color: rgb(255, 255, 255);
    background-color: rgb(19, 255, 43);
    text-align: right;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.2rem;
    margin-right: 1.2rem;
    
}

.mainlinks li {
    list-style: none;
    justify-content:center;
    color: rgb(0, 0, 0);
    font-family: 'baloo';
    font-size: 1.5rem;
    margin-top: 0;
}

.linksplacement {
    justify-content: space-around;
    display: flex;
    gap:10px;
}


 /* index */ 
.img-me{
    width: 25%;
    background-color: rgb(30, 214, 193);
    margin-top: 0px;
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 0rem;
    float: left;
    box-shadow: 1px 2px 4px rgba(185, 255, 255, 0);
     padding: 10px;
    border-radius: 15px;
    border-width: 10px;
    border-bottom: #bffce5;
    background-color:rgb(187, 187, 187);
    box-shadow: 2px 5px 15px rgb(80, 82, 82),inset 3px 3px 15px rgba(255, 255, 255, 0.9),inset -1px -1px 2px rgba(255, 255, 255, 0.9), inset 5px 5px 5px rgba(255, 255, 255, 0.9);

}

.index-text{
    font-size: 1rem;
    color: rgb(0, 0, 0);
    font-family: "exo";
    float:right;
    text-align: justify; 
}


/* grid for works*/

.works-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 20px;
}

.works-index{
    position: relative; /* Allows for absolute positioning of navigation buttons */
    overflow: hidden; /* Hides the overflow content (only one image is visible at a time) */
    padding: 1rem;
    place-items: center;
    border-radius: 15px;
    border-width: 10px;
    border-bottom: #bffce5;
    background-color:rgba(236, 236, 236, 0.34);
    box-shadow: 2px 5px 15px rgb(80, 82, 82),inset 3px 3px 5px rgba(255, 255, 255, 0.9);
}

.works-index:hover {
    background-color: rgb(255, 131, 251);
}

    .works-index img {
        width: 100%; /* Image width matches the slide width */
        height: 100%; /* Image height matches the slide height */
        object-fit: cover; /* Images are scaled to cover the entire box, cropping if necessary */

    }

    .div1, .div2, .div3, .div4, .div5, .div6, .div7, .div8, .div9, .div10, .div11, .div12, .div13, .div14 p {
        text-align: center;
        color: rgba(255, 255, 255, 0);
        font-size: 1.3rem;
        font-family: "princess";
    }

    .div1:hover, .div2:hover, .div3:hover, .div4:hover, .div5:hover, .div6:hover, .div7:hover, .div8:hover, .div9:hover, .div10:hover, .div11:hover, .div12:hover, .div13:hover, .div14:hover p {
        text-align: center;
        color: rgba(255, 255, 255, 100);
        font-size: 1.3rem;
        font-family: "princess";
    }



/*individual work pages*/
.work-parent {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(7, 1fr);
    gap: 10px;
}
    
.work-img-box {
    position: relative;
    place-items: center;
    grid-column: span 4 / span 4;
    grid-row: span 7 / span 7;
    padding: 2rem;
    border-radius: 15px;
    border-width: 10px;
    border-bottom: #bffce5;
    background-color:rgb(187, 187, 187);
    box-shadow: 2px 5px 15px rgb(80, 82, 82),inset 3px 3px 15px rgba(255, 255, 255, 0.9),inset -1px -1px 2px rgba(255, 255, 255, 0.9), inset 5px 5px 5px rgba(255, 255, 255, 0.9);

}


.screen{
    position: relative; /* Allows for absolute positioning of navigation buttons */
    width: 100%; /* Sets the slider width to 100% of the parent container */
   height: 700px;
    overflow: hidden; /* Hides the overflow content (only one image is visible at a time) */
    background-color:rgb(236, 236, 236);
    padding: 0rem;
    margin-bottom: 2rem;
    box-shadow:3px 3px 5px #ffffff, -1px -1px 5px #ffffff;
    border-style: inset;
    border-width: 1px;
    border-color: black;}


/* ------ slider -------- */
/* Flexbox container that holds all the slides */
.slider {
    height: 700px; /*responsive*/
    display: flex; /* Enables flexbox layout to line up slides horizontally */
    transition: transform 0.4s ease-in-out; /* Smooth transition when sliding between images */
}

/* Each individual slide - takes up full width of the container */
.slide {
    min-width: 100%; /* Each slide takes up 100% of the slider container's width */
   /* height: 450px;  Fixed height for each slide */
    transition: transform 0.5s ease-in-out; /* Smooth transition when slides are changed */
}

/* Ensures that images fill the slide area while maintaining aspect ratio */
.slide img {
    width: 100%; /* Image width matches the slide width */
    height: 100%; /* Image height matches the slide height */
    object-fit: cover; /* Images are scaled to cover the entire slide, cropping if necessary */
    border-radius: 0px; /* Rounds the corners of the images to match the slider */
}


/* Common styling for both previous and next navigation buttons */
.prev, .next {
    position: absolute; /* Absolute positioning within the slider container */
    top: 50%; /* Centers the button vertically */
    transform: translateY(-50%); /* Offsets the button position by half its height */
    background-color: rgb(171, 171, 171); /* Semi-transparent black background */
    box-shadow:1px 1px 2px rgba(214, 214, 214, 0.9),-1px -1px 2px rgba(214, 214, 214, 0.9),inset 1px 1px 2px rgba(113, 113, 113, 0.638);
    color: white; /* White color for the arrow icons */
    border: none; /* Removes default button borders */
    width: 40px; /* Fixed width for the buttons */
    height: 40px; /* Fixed height for the buttons */
    cursor: pointer; /* Changes the cursor to pointer on hover */
   /* z-index: 10;  Ensures buttons appear above the slider content */
    border-radius: 50%; /* Makes the buttons round */
    /*transition: background-color 0.3s ease;  Smooth transition for background color on hover */
    display: flex; /* Enables flexbox for centering the arrow inside the button */
    justify-content: center; /* Centers arrow horizontally */
    align-items: center; /* Centers arrow vertically */
    margin-top: -5px;
}

/* Positioning the previous button to the left */
.prev {
    top: 96%;
    left: 15em; /* Positions the button 10px from the left edge */
}

/* Positioning the next button to the right */
.next {
    top: 96%;
    right: 15em; /* Positions the button 10px from the right edge */
}

/* Hover effect for navigation buttons */
.prev:hover, .next:hover {
    /*box-shadow: 0px 0px 10px rgb(19, 255, 43), inset 2px 2px 5px rgba(83, 83, 83, 0.9);*/
    background-color: rgb(158, 158, 158);
    box-shadow: 1px 1px 2px rgba(214, 214, 214, 0.9),-1px -1px 2px rgba(214, 214, 214, 0.9),inset 1px 1px 3px rgba(113, 113, 113, 0.638);}
    
/* ------- work texts -------------*/

.work-about {
    margin-top: 30px;
    align-items: center;
    display: flex;
    justify-content: center;
    grid-column-start: 7;
    grid-row-start: 3;
    border-radius: 15px;
    border-width: 10px;
    border-bottom: #bffce5;
    background-color:rgba(236, 236, 236, 0.34);
    box-shadow: 2px 5px 15px rgb(80, 82, 82),inset 3px 3px 5px rgba(255, 255, 255, 0.9);
}

.work-title {
    align-items: center;
     display: flex;
    justify-content: center;
    grid-column: span 2 / span 2;
    grid-column-start: 5;
    grid-row-start: 3;
    margin-top: 30px;
    border-radius: 15px;
    border-width: 10px;
    border-bottom: #bffce5;
    background-color:rgb(255, 19, 247);
    box-shadow: 2px 5px 15px rgb(80, 82, 82),inset 3px 3px 5px rgba(255, 255, 255, 0.9);
}

.work-text {
    grid-column: span 3 / span 3;
    grid-row: span 3 / span 3;
    grid-column-start: 5;
    grid-row-start: 4;
     padding: 1rem;
    border-radius: 15px;
    border-width: 10px;
    border-bottom: #bffce5;
    background-color:rgb(236, 236, 236);
    box-shadow: 2px 5px 15px rgb(80, 82, 82),inset 3px 3px 5px rgba(255, 255, 255, 0.9);
}
        
        
      /*work texts*/

.title{
    color: rgb(255, 255, 255);
    font-size: 1.4rem;
    font-family: "princess";
}

.about{
    font-size: 0.6rem;
    color: rgb(255, 255, 255);
    font-family: "exo";
}

.text {
    padding: 0.5rem;
    font-size: 0.8rem;
    color: rgb(0, 21, 255);
    font-family: "exo";
}

  
/*----------- work image slider ----------- */


audio{
   padding-top: 2rem;
   padding-bottom: 1.2rem;
}

video{
    width: 100%;
    padding-bottom: 3rem;
}

.footer{
    display: none; /* visszaterek ra majd */
  position: static;
  font-family: Inter;
  font-size:small;
  left: 0;
  bottom: 0;
  width: 100%;
  color: rgb(61, 61, 61);
  text-align: left;
  padding-top: 3rem;
  margin: 0rem;
}

.credit{
    padding-top: 0.5rem;
    font-size: 0.8rem;
    color: rgb(61, 61, 61);
    font-family: Inter;
    padding-bottom: 3rem;
}

    /* contact */ 
.contact {
    margin-bottom: 2.5rem;
} 


/*cv*/

.cv{
    padding: 1.5rem;
    border-radius: 15px;
    border-width: 10px;
    border-bottom: #bffce5;
    background-color:#e4d4e4;
    box-shadow: 2px 5px 15px rgb(80, 82, 82),inset 3px 3px 5px rgba(255, 255, 255, 0.9), 5px 5px 50px #dcfff2;
    
}

.cv h1{
    color: rgb(0, 21, 255);
    font-family: "princess"; 
}

.cv h2{
    color: rgb(255, 135, 227);
    font-family: "princess"; 
    font-size: 1rem;
}

.cv p{
    color: rgb(0, 21, 255);
    font-family: "exo"; 
     font-size: 0.8rem; 
}
/* ---------- iPad / general tablet (≤1024px) ---------- */
@media (max-width: 1024px) {

/* works grid: stack instead of 2 columns */
 body {
    display: flex;
    margin: 15px;
    padding-left: 1rem;
    padding-right: 1rem;
    overflow-x: hidden;
}

.welcome{
 max-width: 100%;
 padding-bottom: 5rem;
}

/* burger */
.burger{
        display: block;
}

.burger:hover{
    background-color: #ffffff;
}

.navbox{
    padding: 0;
    display:block;
    padding-bottom: 0rem;
     padding-left: 0px;
    border-radius: 0px;
    margin-bottom: 2rem;
    background-color: transparent;
    box-shadow: none;
    
}

.mainlinks li{
        opacity: 0;
}

.mainlinks a { 
    color: rgb(255, 19, 247);
    text-align: right;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    margin-right: 1.2rem; 
}

.mainlinks a:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(19, 255, 43);
    text-align: right;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    margin-right: 1.2rem;
    
}
.mainlinks{
        display: none;
        margin-top: 7rem;
        position: absolute;
        flex-direction: column;
        text-align: right;
        width: 30%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 1;
        border-radius: 11px;
        padding-top: 1rem;
        padding-bottom: 1rem;
        padding-left: 10px;
        background-color: #bffce5b3;
        box-shadow: 2px 5px 15px rgb(80, 82, 82),inset 3px 3px 5px rgba(255, 255, 255, 0.9);
    }

.nav-active{
    transform: translateX(-15%);
    display: block; /*amire a nav-active (js) vonatkozik vagyis a mainlinks-t fogja displayelni, 
                    felülírja a korábbi links:display:nonet!!*/
}

@keyframes navLinkFade{
    from{
        opacity: 0;
        transform: translateX(50px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);
    }
}

/* main */

main {
    display:flex;
    padding: 1.5rem;
    border-radius: 15px;
    border-width: 10px;
    border-bottom: #bffce5;
    background-color:#e4d4e4;
    box-shadow: 2px 5px 15px rgb(80, 82, 82),inset 3px 3px 5px rgba(255, 255, 255, 0.9), 5px 5px 50px #dcfff2;
    
  }

.widget{
position: absolute;
left: 230px;
top: 1000px;
}

.widget img{
    height: 200px;
}

.div1, .div2, .div3, .div4, .div5, .div6, .div7, .div8, .div9, .div10, .div11, .div12, .div13, .div14 p {
        text-align: center;
    
        font-size: 1rem;
        font-family: "princess";
}
    
  .works-page-grid {
    grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    /* individual work page grid: stack image + text */
    .work-parent {
      display: block;
    }

    .screen{
    height: 100%;
    }

    .work-img-box {
        height: 500px;
        width: 100%;
        padding: 1rem;
        padding-bottom: 3rem;
    }

    .slider{
        height: 450px;
    }

    .prev {
    top: 96%;
    left: 10em; /* Positions the button 10px from the left edge */
}

/* Positioning the next button to the right */
.next {
    top: 96%;
    right: 10em; /* Positions the button 10px from the right edge */
}

    .work-title {
        width: 60%;
        margin-top: 1rem;
        height: 44px;
    }

    .work-about {
        width: 38%;
        height: 44px;;
        margin-top: 1rem;
        float: right;
    }

    .work-text {
        width: 100%;
        margin-top: 1rem;
        margin-bottom: 4rem;
    }

    .title{
    color: rgb(255, 255, 255);
    font-size: 1.2rem;
    font-family: "princess";
}

.img-me{
    float: none;
    width: 50%;
    margin-left: 0;
    margin-bottom: 2rem;
}

.index-text{
    float: none;
}
}
