/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;

}

blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
	content: none;
}
ul{
    margin: 0;
    padding: 0;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* ---------------end of css reset-----------------------------*/

html{
    scroll-behavior: smooth;
}
:root{
    --themeColor :white;
}

.themeColor{
    color: white;
    transition: color 0.5s ease;
    text-shadow: 0 0 0.01em black,0 0 0.2em black;
}


body html{
   height: 100%;
    width: 100%;
   margin: 0;
   padding: 0;

  }

.Yellowtail{
    font-family: "Yellowtail";
}

nav h1{
    font-family: "Dancing Script",cursive;
    font-size: 3em;
    text-align: center;
}



.bigBold{
    font-weight: 800;
}

.box{
    display: flex;
}

#nav{
position: fixed;
width: 100vw;
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 0.2em;
padding-top: 0.2em;
margin: 0;
z-index: 999999;
/* grid-area: nav; */
transition: background-color 0.3s ease;
}

#nav.scrolled {
    background-color:#15181bbb; /* Change to your desired color */
}



.socialLinks ul{
    padding: 0;
    margin: 0;
}

.socialLinks{
    margin-top: 2em;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.socialLinks li a{
    margin: 0.6em;
    padding: 0.5em 0.8em;
    font-size: 1.45em;
    color: rgb(38, 38, 38);
    background-color: white;
    border-radius: 0.5em;
    border: 0.1em solid white;
}

.socialLinks li a:hover i{
color: white;
transition: 0.3s;
}
.socialLinks li a:hover{
transition: 0.3s;
background:none;
cursor: pointer;
}

.socialLinks li a:visited,.socialLinks li a{
    color: rgb(38, 38, 38);
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    font-size: 0.7em;
    visibility: hidden;
    background-color: #212529; /* Background color */
    color: #fff; /* Text color */
    text-align: center;
    border-radius: 5px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the link */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust to center */
    opacity: 0;
    transition: opacity 0.3s; /* Fade in effect */
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}


/* #profilePhoto {
    height: 30em;
    object-fit: cover; 
    object-position: center top;
    grid-area: portrait;
} */
 
.wavy {
    animation-name: wavy;
    animation-duration: 1.3s;
    animation-timing-function: ease;
    animation-iteration-count: 1;
    position: relative;
    top: 0;
    left: 0;
  }
  @keyframes wavy {
    0% {
      top: 0px;
    }
    50% {
      top: -15px;
    }
    100% {
      top: 0px;
    }
    110% {
      top: 0px; /* Pause after the wave completes */
    }
}



#maincard{
margin: 0;
padding: 0em;
height:100vh;
    background-image:url("../content/bg_svg.svg");
    background-size: cover;
    background-position: top center;
    grid-template-columns: 1fr 1fr;
    display: grid;
grid-template-areas:
 "content-left content-left"
 "scroll scroll"
;
justify-items: center;
align-content: center;

}

nav h1{
    margin-left: 50px;
    }
    
    nav a{
    text-decoration: none;
    font-size: 0.8em;
    text-shadow:0 0 1em black;
    margin: 0.6em;
    padding: 0.5em 0.8em;
    color: white;
    border-radius: 0.5em;
    font-size: 0.8em;
    background:none;
    }

    
    nav a:hover{
        transition: 0.1s;
        background-color: rgba(95, 105, 120, 0.47);
        border: 0.1em solid rgba(255, 255, 255, 0.795);
    }

nav a:visited{
    color: white;
}

.navright{
    padding: 1em;
    margin-right: 2em;
    font-family: sans-serif;
}


#navlinkBox{
    display: flex;
    list-style-type: none;
    justify-content: center;
    align-items: baseline;
    padding: 0;
}

.navlink{
    margin-right: 2em;
    font-size: 1.2em;
    font-weight: 200;
    font-family: sans-serif;
}

.textcard {
    color: rgb(255, 255, 255);
    min-width:60em;
    width: 100%;
    display: flex;
    text-align: center;
    text-wrap: wrap;
    flex-direction: column;
    justify-items: center;
    align-content: center;
    grid-area: content-left;
    font-family : system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.subtitle{
    font-size: 2.5em;
    font-weight: 100;
    
}

.textcard h1{
    font-size: 5em;
    padding-bottom: 0.5em;
    font-weight: 800;
}

.textcard p {
text-wrap: wrap;
max-width: 80%;
text-align: center;
margin: 0 auto;
font-weight: 300;
font-size: 1.2em;

}

.textcard h2, .textcard p {
margin-bottom: 1em;
}

.poetsen-one-regular {
    font-family: "Poetsen One", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

  .yellowtail-regular {
    font-family: "Yellowtail", cursive;
    font-weight: 400;
    font-style: normal;
    
  }


  .scroll {
    width: 60px;
    height: 60px;
    border: 2px solid var(--themeColor); /* Dynamic color */
    border-radius: 50%;
    animation: down 1.5s infinite;
    display: flex; /* Centering with flexbox */
    justify-content: center;
    align-items: center;
    margin: 0 auto; /* Horizontally center */
}

.scroll::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 19px;
    width: 18px;
    height: 18px;
    border-left: 2px solid var(--themeColor); /* Dynamic color */
    border-bottom: 2px solid var(--themeColor); /* Dynamic color */
    transform: rotate(-45deg);
}

.scroll:hover{
    cursor: pointer;
    box-shadow: 0 0 0.5em black;
}

@keyframes down {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translateY(15px);
    }
    40% {
        transform: translate(0);
    }
}


/*-------------------------------------------------------------------------*/
/*  color Picker */
/*-------------------------------------------------------------------------*/
/* Style the color picker icon */
#colorPicker {
    cursor: pointer;
    font-size: 1.5em;
    color: var(--themeColor);
    margin-left: 0.4em;
    margin-top: 0.2em;
    animation: breathe 2s infinite;
}

#colorPicker:hover{
transform: scale(1.15);
animation: none;
}

@keyframes breathe {
    50%{
        transform: scale(1.15);
    }
    100%{
        transform: scale(1.0);
    }
}

.colorPickerButtons {
    display: flex; /* Keep it as flex for layout */
    flex-direction: column;
    position: absolute;
    padding: 0.3em;
    top: 4.5em; /* Adjust top position as needed */
    left: 0; /* Position at the left side of the screen */
    transform: translateX(-100%); /* Start fully off-screen */
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.604);
    border-radius: 0.5em;
    opacity: 0; /* Start fully transparent */
    transition: transform 0.7s ease, opacity 0.7s ease; /* Transition for transform and opacity */
    height: auto; /* Adjust height as needed */
}

#colorPickerDiv.active .colorPickerButtons {
    transform: translateX(0); /* Slide into view */
    opacity: 1; /* Fully visible */
}



#colorPicker.active{
    text-shadow: 0 0 0.2em black, 0 0 0.5em black, 0 0 2em black, 0 0 1em white;

}

.colorButton {
    width: 3.3em;
    height: 1.5em;
    margin: 0.3em;
    cursor: pointer;
    border-radius: 0.3em;
    box-shadow: 0 0 0.5em black;
}

.colorPickerButtons li:hover{
    transform: scale(1.1);
}

.colorPickerButtons li, .colorPickerButtons ul {
    padding: 0;
    list-style: none;
    padding-inline-start: 0;
    margin: 0;
}

.redButton{
    background: linear-gradient(45deg,rgb(73, 0, 0),rgb(254, 82, 82));
}

.blueButton{
    background: linear-gradient(45deg,rgb(0, 10, 73),rgb(93, 82, 254));
}
.whiteButton{
    background-color: white;
}

.greenButton{
    background: linear-gradient(45deg,rgb(2, 73, 0),rgb(82, 254, 82));
}

.orangeButton{
    background: linear-gradient(45deg,rgb(167, 67, 0),rgb(255, 143, 32));
}



/*-------------------------------------------------------------------------*/
/*------------------------PROJECTS SECTION---------------------------------*/
/*-------------------------------------------------------------------------*/
.title {
    padding: 1.6em;
    padding-bottom: 1.3em;
    font-size: 2.5em;
    font-family: sans-serif;

  }
  
  #projects_title {
text-align: center;
background-color: #212529;
font-weight: 200;
font-size: 3em;
padding-top: 2em;
padding-bottom: 1em;
font-family : system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  }


  
  .project_title {
    font-size: 1.1em;
  }
  
  .technology_used {
    margin: 0.6em;
    padding: 0.5em 0.8em;
    font-size: 1.2em;
    border-radius: 0.5em;
    border: 0.1em solid white;
  }
  
  #projects {
    padding: 3em;
    color: white;
    gap: 3em;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    grid-template-rows: auto auto auto; /* Allow for dynamic height */
    justify-items: center;
    row-gap: 5em;
    background-color: #212529;
    grid-template-areas:
    "shelfLife watchedit JS-dsa"
        "scroll scroll scroll"; /* Last row spans 3 columns */
}

#watchedit { grid-area: watchedit; }
#JS-dsa { grid-area: JS-dsa; }
#shelfLife { grid-area: shelfLife; }
.maincard-scroll { grid-area: scroll; }

  
.maincard-scroll{
    grid-area: scroll;
    margin-top: 8em;
}

  .project_container {
    min-width: 23em;
    background-color: #33393f;
    display: flex;
    flex-direction: column;
    border-radius:2em;
    font-family : system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    overflow: hidden;
    position: relative;
   transition: transform 0.2s;
  }



  .project_container:hover{
    transform: scale(1.03);
  }

 a{
    text-decoration: none;
    color: white;

}

  #project_image {
    width: 100%;
    height: 15em;
    background-color: white;
    object-fit: cover;
    border-top-left-radius: 2em;
    border-top-right-radius: 2em;
  }


.tech_used{
    padding-bottom: 1.1em;
    font-family: sans-serif;
    font-weight: 600;
    color: var(--themeColor);
    /* background: -webkit-linear-gradient(#fef200, #ff5500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */

}
  
  .project_info {
    background-color: #3a4148;
    padding-top: 0.8em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 2em;
    border-bottom-right-radius: 2em;
    padding: 1.3em;
    min-height: 16em;
  }
  
  .project_title {
    margin-bottom: 0.5em;
    font-size: 1.7em;
    font-weight: 200;
    text-align: center;
  }
  
  .project_description {
    font-size: 1em;
    font-weight: 100;
    color: white;
    text-align: center;
    line-height: 1.3em;
  }
  

  @media (max-width: 768px) {
    nav h1 {
        font-size: 2.5em; /* Smaller font size for mobile */
    }

    #nav {
        flex-direction: column; /* Stack navigation links */
    }

    .textcard h1 {
        font-size: 4em; /* Adjust size for smaller screens */
    }

    .textcard p {
        font-size: 1em; /* Smaller text */
    }

    #projects {
        grid-template-columns: 1fr; /* Stack project cards on smaller screens */
    }

    .project_container {
        min-width: auto; /* Remove fixed minimum width */
    }

    .socialLinks {
        flex-direction: column; /* Stack social links */
    }
}

@media (max-width: 480px) {
    nav a {
        font-size: 0.7em; /* Further reduce text size */
    }

    .textcard {
        padding-left: 1em; /* Reduce padding */
    }

    #maincard {
        height: auto; /* Adjust height to fit content */
    }

    .scroll {
        width: 50px; /* Smaller scroll icon */
        height: 50px;
    }
}

.projects-scroll{
    grid-area: scroll;
}

/* Contact section */
  
#contact{
    font-family : system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5em;
    padding-bottom: 5em;
    background: linear-gradient(rgb(71, 76, 88),rgb(59, 57, 79));
}

  .contact-container {
    background-color: white;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 5px 15px black,0 0 0.5em black;
    width: 400px;
  }
  
  .contact-container h1 {
    text-align: center;
    margin-bottom: 1.5em;
    color: #333;
  }
  
  .input-group {
    margin-bottom: 1em;
  }
  
  .input-group label {
    display: block;
    margin-bottom: 0.5em;
    color: #333;
  }
  
  .input-group input, .input-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .submit-btn:hover {
    background-color: #218838;
  }
  
  #responseMessage {
    text-align: center;
    margin-top: 1em;
    color: green;
  }
  
   /* Footer */

  #footer h2{
text-align: center;
font-size: 1.3em;
padding-top: 1.5em;
font-family : system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  }

  #footer .socialLinks{
    margin-top: 0;
  }



/* About Me Section */


.fract-container {
    width: 98vw; /* Set desired width */
    left: -1em;
    height: 28em; /* Set desired height */
    position: relative;
    overflow: hidden;
    /* background:black; */
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    border-radius: 1em;
}

.fracture {
    width: 15em; /* Adjust as needed */
    height: 100%; /* Adjust as needed */
    transform: skew(13deg) ;
    margin: 0 0.5em; /* Space between each shape */
    position: relative;
    overflow: hidden;
}

.fracture::before{
    content: "";
    position: absolute;
    background-size: cover;
    background-position:center;
    width: 155%;
    left: -25%;
    top: -5%;
    height: 115%;
    transform: skew(-15deg);
}
.fracture:nth-of-type(3)::before{
background-image: url("../content/music.jpg");
}

.fracture:nth-of-type(5)::before{
    background-image: url("../content/golf.JPG");
    }

    .fracture:nth-of-type(1)::before{
        background-image: url("../content/nyla.jpg");
        left: -35%;
        }
        .fracture:nth-of-type(4)::before{
            background-image: url("../content/tarts.JPG");
            }
            .fracture:nth-of-type(2)::before{
                background-image: url("../content/volleyball.JPG");
                }

.fracture::after{
    content: "";
    background-size: cover;
    position: absolute;
    background-position: center;
    width: 100%;
    height: 100%;
    background-color: rgb(40, 43, 49);
    opacity: 0.9;
    transition: opacity 0.5s;
}

.fracture:hover::after,.fracture2:hover::after{
    opacity: 0;
}


#about-title{
    font-size: 3em;
    font-weight: 200;
    padding-bottom:1em;
}

#aboutMe{
    background-image:url("../content/bg_svg.svg");
    background-size: cover;
    background-position: top center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 5em;
}

.about-me-text{
color: #000000;
font-size: 1.3em;
line-height: 1.4em;
font-family : system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.about-me-text-container{
margin-top:3em;
padding: 2em;
padding-top: 3em;
padding-bottom: 5em;
width: 75vw;
font-size: 0.95em;
background-color: white;
text-align: center;
border-radius: 0.5em;
font-weight: 300;
}
