@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&display=swap');

:root{
    --bg-grey: grey;
    --bg-black-800: rgb(22, 12, 12);
}

:root:has(#theme [value="☀️"]:checked) {
	color-scheme: light;
	--base: #cfcfcf;
	--text: #000;
    --grayBox: #FFFFFF;
}

:root:has(#theme [value="🌑"]:checked) {
	color-scheme: dark;
	--base: #212121;
	--text: #fff;
	--grayBox: #121212;
}

.selector{
    width: 100%;
    position: fixed;
    /* left: 3%; */
    right: 0;
    top: 0;
    z-index: 100;
    border-color: red;
}

select{
    background-color: transparent;
    border: 0;
    font-size: large;
}

option{
    font-weight: 900;
    background-color: black;
    color: white;
}

select:focus-visible{
    border: 0;
}

*{
    margin: 0;
    box-sizing: border-box;
}


html{
    /* font-size: 62.5%; */
    scroll-behavior: smooth;
    overflow-y: hidden;
    width: 100%;
    /* background-color: var(--greyBox); */
    font-family: "Nunito Sans", sans-serif;
}

.aside{
    width: 270px;
    position: fixed;
    z-index: 1;
}

.aside .logo{
    height: 200px;
    width: 270px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    font-style: italic;
    font-family: "Cedarville Cursive", cursive;
}

.aside .logo a {
    text-decoration: none;
    display: block;
    font-size: 2rem;
    font-size: clamp(2.4vh, 2rem, 5vw);
    color: var(--text);
}

.aside .logo a:hover{
    color: #f00;
}

.aside .logo a span{
    font-family: "Nunito Sans", sans-serif;
}

.name{
    font-family: "Cedarville Cursive", cursive;
}
.aside .logo a::after{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    display: block;
    border-left: 5px solid ;
    border-bottom:5px solid ;
    margin-inline: 40px;
    color: #f00;
}

.aside .logo a::before{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    display: block;
    border-right: 5px solid ;
    border-top:5px solid ;
    margin: 40px;
    right: 0;
    top: 0;
    color: #f00;
}

.aside .logo a span{
    font-size: 50px; 
}

.nav-btn{
    display: none;
}

.sidebar{
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.2rem;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 100px;
    align-content: center;
}

.sidebar .list{
   list-style: none;
   padding: 20px;
   font-size: larger;
}

.sidebar i, .sidebar-nav i{
color: #d42c2c;
}

.sidebar .list a{
   padding: 20px;
   text-decoration: none;
   color: var(--text);
}

.sidebar .list a:hover{
    color: #f00;
    transform: scale(8);
}

.sidebar-nav{
    transform: translateX(-100%);
    transition: .5s all ease-out;
}

.sidebar-nav.active{
    transform: translateX(0%);
}

.nav-btn{
    background-color: transparent;
    border: none;
}

.svvg {
    transform: rotate(180deg);
    mix-blend-mode: difference;
    transition: all 0.5s;
    stroke: rgb(255, 0, 0);
  }
  
.svvg.active {
    transform: rotate(0deg);
}

.sidebar-nav{
    display: none;
}
 /* SNAP SCROLLING */
.main-content{
    scroll-snap-type: y mandatory;
    height: 100vh;
    overflow-y: scroll;
    transition: scroll-snap-type 2s ease;
}

.section{
    scroll-snap-align: start;
    transition: scroll-snap-align .1s ease-in;
}
/* ================= */


.section{
    min-height: 100vh;
    width: calc(100% - 270px);
    position: relative;
    left: 270px;
    top: 0;
    border: 5px dotted;
    border-radius: 50px;
    /* background-color: var(--bg-black-800); */
}

.showAnimation{
    animation: autoShowAnimation 2s both;
}

@keyframes autoShowAnimation{
    from{
        opacity:0;
        transform: scale(0); 
        filter: blur(100px);
    }to{
        opacity:1;
        transform: scale(1); 
        filter: blur(0px);
    }
}

.home{
    display: flex;
    flex-direction: row;
}


.home-img{
    width: 500px;
    height: 700px;
    /* background-color: aqua; */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    right: 4vmax;
    top: 3vmax;
    overflow: hidden;
    border-radius: 20px;
    /* z-index: 8; */
    
} 

.home-img img{
    position: absolute;
    z-index: 3;
    width: 280px;
    height: 80%;
    border-radius: 20px;
}

.home-img::after{
    content: '';
    position: absolute;
    background-color: var(--base);
    inset: 10px;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--grayBox);
}

.home-img::before{
    content: '';
    position: absolute;
    width: 170px;
    height: 900px;
    background: linear-gradient(rgb(207, 17, 81), #060d4df8);
    animation: rotate 6s linear infinite;
    overflow: hidden;
}

@keyframes rotate{
    from{
        transform: rotate(0deg);
    }to{
        transform: rotate(360deg);
    }
}

.home-p {
    font-family: "Nunito Sans", sans-serif;
    max-width: 500px;
    position: absolute;
    bottom: 20%;
    left: 5vmin;
    font-size: clamp(1vh, 1.4rem, 7vw);
    padding-top: 10px;
    padding-right: 10px;
}

.intro-line{
    font-size: clamp(1vh, 2.4rem, 10vw);
    text-decoration: none;
    list-style: none;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 900;
    margin-left: 24px;
}

.intro-line-span{
    color: red;
    font-size: clamp(1vh, 2.4rem, 10vw);
    font-weight: 100;
    font-family: cursive, Courier, monospace;
}

.home-p li::before{
    content: '';
    width: 5px;
    height: 45px;
    background-color: red;
    position: absolute;
    left:0;
    top: 0;
    z-index: 3;
}

.home-p li::after{
    content: '';
    width: 5px;
    height: 35px;
    background-color: red;
    position: absolute;
    left:10px;
    top: 0;
    z-index: 3;
}

.home-p p{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight:500;
    font-size: clamp(2vh, 1.4rem, 7vw);
}

.header-page{
    font-size: clamp(2vh, 3rem, 7vw);
    padding: 30px;
    padding-bottom: .1rem;
}

.decoration-line{
    font-family: 'Times New Roman', Times, serif;
}

.decoration-line::before{
    content: '';
    width: 5px;
    height: 45px;
    background-color: red;
    position: absolute;
    left:.8rem;
    top: 2rem;
    z-index: 3;
}

.decoration-line::after{
    content: '';
    width: 5px;
    height: 45px;
    background-color: red;
    position: absolute;
    left:1.3rem;
    top: 2rem;
    z-index: 3;
}

.about-p p, .about-p li{
    font-family: "Nunito Sans", sans-serif;;
    font-size: clamp(2vh, 1rem, 7vw);
    margin-top: 10px;
    margin-left: 20px;
    font-weight: 600;
    text-align: start;
    list-style: circle;
    width: 90%;
}

.about-left-container{
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    padding-top: 2rem;
    height: 20rem;
    border-right: 4px dotted #f00;
    gap: 1rem;
}

.about-left{
    display: flex;
    flex-direction: row;
    margin-right: 2rem;
}

.about-left li{
    line-height: 2rem;
    font-weight: 600;
    font-size: clamp(min(1.3vh, 10vw) .2rem, 3vw);
    color: #f00;
}

.about-left b{
    color: var(--text);
}

.about-btn{
    text-align: center;
    display: flex;
    flex-direction: row;
    gap: 1.8rem;
    padding-top: 1rem;
    padding-left: 5rem;
}

.about-btn button{
    padding: 1rem;
    border-radius: 1rem;
    background-color: red;
    color: #fff;
    cursor: pointer;
}

.about-btn button:hover{
    background-color: #d42c2c;
    transform: scale(1.2);
}

.about-container{
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.about-right{
    margin-left: 20px;
    width: 20rem;
}

.about-right h3{
    font-family: 'Times New Roman', Times, serif;   
}

.about .about-right a{
    font-size: 4.1rem;
    padding: 1rem;
    color: var(--text);
}

.about .about-right a:hover{
    color: #d42c2c;
}

.about .about-right a svg{
    width: 5rem;
    stroke: var(--text);
    fill: var(--base)
}

.about .about-right a svg:hover{
    stroke: #d42c2c;
}


caption{
    margin-bottom: 8px;
}

table {
        text-align: center;
        width: 80%;
        border-collapse: separate;
        margin-bottom: 20px;
        margin: 9%;
         border-radius: 10px;
        
}
td {
        border: 1px solid var(--text);
        text-align: center;
        padding: 8px;
        color: var(--text);
        border-radius: 20px;
 }
th {
        background-color: var(--text);
        border-radius: 20px;
        color: var(--base);
}

.edu-p p{
    /* position: absolute;
    top: 18rem; */
    margin: 9%;
    margin-top: 0;
    margin-bottom: 0;
    width: 80%;
    height: 30%;
    font-size: clamp(1.6vh, 2rem, 2vw);
    font-family: "Nunito Sans", sans-serif;
}

.edu-p p::before{
    content: '';
    position: absolute;
    left: 6%;
    width: 8px;
    height: 15%;
    background-color: #f00;
}

.edu-p p::after{
    content: '';
    position: absolute;
    display: none;
    left: 5%;
    width: 5px;
    height: 3%;
    background-color: #f00;
}

.pro-container{
    overflow-y: scroll;
    width: 80%;
    height: 80vh;
    margin: 10px auto;
    border: 2px solid #f00;
    box-shadow: 5px 5px 10px #f00;
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    scrollbar-color: #d42c2c;
    padding: 5%;
}

.proj{
    width: 20rem;
    border: 4px dotted var(--text);
    text-align: center;
    height: 15rem;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.proj img{
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.proj:hover img{
    filter: blur(10px);
    transform: scale(1.2);
    transition: all .5s ease;
    cursor: pointer;
}

.proj .text{
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4;
    top: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: clamp(2vh, 2rem, 2vw);
    color: #000;
}

.proj:hover .text{
    opacity: 1;
    background-color: #fff5f55f;
    backdrop-filter: blur(7px);
}

.proj a{
    text-align: center;
    padding-top: 50%;
    height: 100%;
}

::-webkit-scrollbar{
    width: 10px;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb{
   width: 10px;
   background-color: #f00;
   border-radius: 50px;
}

thumb{
  background-color: #f00;
}

.contact-form{
    width: 100%;
    height: 80vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: space-between;
}

.form{
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
}

.per-links{
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-right: 30px;
    border-left: 4px solid red;
    border-radius: 20px;
}

.per-links a{
    font-size: clamp(3vh, 3rem, 4vw);
    color: var(--text);
}

.per-links a:hover{
    transform: scale(1.3);
}

.form input{
    width: 80%;
    font-size: clamp(1.5vh, 1.5rem, 1.5vw);
    padding: .5rem 2rem;
    border-radius: 20px;
    
}

.form input:focus-visible{
    outline: 2px solid #f00;
    border: 0;
}

textarea {
    box-sizing: border-box; 
    width: 300px;
    height: 200px;
    border-radius: 20px;

  }

textarea {
  padding: 10px 20px;
  font-family: Arial, sans-serif;
  font-size: clamp(1.5vh, 1.5rem, 1.5vw);
  border: 2px solid;
}

textarea:focus-visible{
    outline: 2px solid #f00;
    border: 0;
}

.form button{
    width: 10rem;
    height: 5rem;
    border-radius: 8px;
    font-size: clamp(1.5vh, 1.5rem, 1.5vw);
    background-color: transparent;
    font-size: 1.7rem;
    cursor: pointer;
    border-color: #f00;
}

.form button:hover{
    background-color: #f00;
    transition: all .5s ease;
    color: #fff;
    box-shadow: 5px 5px 10px #f00;
}

.per-links a{
    padding: 0 10px;
}

.about-right a:hover, .per-links a:hover, a:hover{
    color: #f00;
    transition: color .5s ease;
}


/* Media Quieries */
@media (max-width: 1388px) {
    .home-img{
        width: 400px;
        height: 400px;
        display: flex;
        text-align: center;
        position: absolute;
        right: 5vmax;
        top: 3vmax;
    } 

  .edu-p p::after{
   display: none;
}
    
}


@media (max-width: 728px){
    
.selector{
    position: absolute;
    right: 0;
    top: 0;
    z-index: 8;
}

    .selector option{
        width: 10px;
        font-size: 80%
    }
    
    html{
        font-size: 80%;
    }
    .aside{
        position: relative;
        z-index: 5;
    }
    .aside .logo{
        height: 100px;
        width: 50vw;
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        font-style: italic;
       
    }
    
    .aside .logo a {
        text-decoration: none;
        display: block;
        font-size: 2rem;
        font-size: clamp(2.4vh, 2rem, 5vw);
    }
    
    .aside .logo a::after{
       display: none;
    }
    
    .aside .logo a::before{
        display: none;
    }
    
    .nav-btn{
        display: block;
        position: absolute;
        right: 20px;
        top: 30px;
        z-index: 2;
        height: 30px;
    }

    .nav-btn:active{
        background-color: transparent;
    }
    .sidebar{
        display: none;
    }
    .sidebar-nav{
        display: block;
        position: fixed;
        border-top-right-radius: 40px;
        background-color: rgba(255, 255, 255, 0);
        backdrop-filter: blur(16px);
    }

    .sidebar-nav{
        height: 100vh;
        flex-direction: column;
        padding-top: 80px;
    }
    
    .sidebar-nav .list{
       list-style: none;
       padding: 20px;
       font-size: 2rem;
       font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    .sidebar-nav .list a{
       padding: 20px;
       text-decoration: none;
       color: var(--text);
    }
    
    .sidebar-nav .list a:hover{
        color: #f00;
        transform: scale(8);
    }
    
   


    .section{
        width: 100%;
        left: 0;
        height: 90vh;
    }


    .home-img{
        max-width: 80%;
        height: 40%;
        display: flex;
        text-align: center;
        position: absolute;
        right: 10%;
        top: 3vmax;
       
    } 

    .home-img img{
        width: 200px;
    }

    .header-page{
        font-size: clamp(2vh, 3rem, 7vw);
        padding: 30px;
        padding-top: 10px;
        padding-bottom: .1rem;
        font-family: 'Times New Roman', Times, serif,
    }
    
    .decoration-line::before{
        content: '';
        width: 5px;
        height: 45px;
        background-color: red;
        position: absolute;
        left:.8rem;
        top: 1rem;
        z-index: 3;
    }
    
    .decoration-line::after{
        content: '';
        width: 5px;
        height: 35px;
        background-color: red;
        position: absolute;
        left:1.3rem;
        top: 1rem;
        z-index: 3;
    }
    
    .about-p p, .about-p li{
        /* font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; */
        font-size: clamp(1.5vh, .3rem, .5vw);
        margin-top: 10px;
        margin-left: 20px;
        font-weight: 400;
        text-align: start;
        list-style: circle;
        width: 90%;
    }

    .about-left{
        font-size: 80%;
        margin-left: 0;
        margin-top: 0;
        height: 100px;
    }
    .about-btn button{
        border: 0;
        padding: .4rem;
        border-radius: .4rem;
        background-color: red;
        color: #fff;
    }

    .about-left-container{
        height: 9rem;
        margin-bottom: 1rem;
        gap: 0;
        margin-left: 0;
        border: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    .about-container{
        display: flex;
        flex-direction: column;
        gap: 0rem;
        padding-top: 0;
        height: 100px;
    }
    
    .about .about-right a{
        font-size: 2.5rem;
        padding: .5rem;
        padding-bottom: 0;
        color: var(--text);
    }
    .about .about-right a svg{
        padding-bottom: 0;
        width: 3rem;
        height: 2rem;
        stroke: var(--text);
        fill: var(--base)
    }

    .about-left{
        display: flex;
        flex-direction: row;
        margin-right: 0;
        border: 0;
    }

    /* SNAP SCROLLING */
/* .main-content{
    scroll-snap-type:  x mandatory;
    overflow-y: scroll;
}

.section{
    scroll-snap-align: start;
    transition: scroll-snap-align 5s ease;
} */
/* ================= */

.edu-p p::before{
    content: '';
    position: absolute;
    left: 6%;
    width: 8px;
    height: calc(85rem - 80%);
    background-color: #f00;
}
.edu-p p::after{
   display: none;
}

.contact-form{
    flex-direction: column;
}

.form{
    width: 100%;
    border-right: 0;
   
    margin-bottom: 20px;
}

.form input{
    width: 80%;
    font-size: 2rem;
    padding: .5rem 2rem;
    border-radius: 20px;
    
}

.form input:focus-visible{
    outline: 2px solid #f00;
}

textarea {
    box-sizing: border-box; /* include padding and border in the width calculation */
    width: 300px; /* set the width to 300 pixels */
    height: 200px;
    border-radius: 20px;

  }

textarea {
    padding: 10px 20px;
    font-family: Arial, sans-serif;
    font-size: 2rem;
}


.form button{
    width: 10rem;
    height: 5rem;
    border-radius: 8px;
}


.per-links{
    display: block;
    width: 100%;
    height: 40%;
    flex-direction: row;
    padding-left: 30px;
    border-top: 4px solid red;
    border-radius: 20px;
    padding-top: 20px;
    border-left: 0;
}

.per-links h3{
    font-size: larger;
}

.per-links a{
    padding: 0 10px;
    font-size: clamp(4vh, 4rem, 4vw);
}

}