@font-face {
    font-family: 'muroregular';
    src: url('Font/muro-webfont.woff2') format('woff2'),
         url('Font/muro-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'bikoregular';
    src: url('Font/biko_regular-webfont.woff2') format('woff2'),
         url('Font/biko_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'bikobold';
    src: url('Font/biko_bold-webfont.woff2') format('woff2'),
         url('Font/biko_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

*{
    font-family: bikoregular;
}

html{
    scroll-behavior: smooth;
    height: 100%;
text-decoration: none;
}


Body{
    margin:0;
    height: 100%;
}

.inactive-button {
    cursor: not-allowed;
    box-shadow: none !important;
    opacity: 0.6;
}


#Main{
    overflow:hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#NavbarContainer{
    width: 100%;
    display: flex;
    justify-content: center;
}
#Navbar {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    background-color: orange;
    font-size: 20px;
    margin-bottom: 20px;
    padding:10px;
    
}

summary{
    cursor:pointer;
}


#Left, #Right {
    display: flex;
}

#Navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

#Navbar ul li {
    align-items: center;
    display: flex;
}

#Navbar ul#Links li {
    padding: 10px;
    text-decoration: none;
    color: black;
}

#Navbar ul#Links li a {
    text-decoration: none;
    color: black;
}

#Navbar ul#Links #ActiveLink a{
    font-family: bikobold;
}


#Navbar img {
    width: 30px;
    margin-right: 10px;
}

#CenterText {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 25px;
}

#Footer {
    background-color: orange;
    width: 100%;
    text-align: center;
    font-size: 20px;
    margin-top: auto;
    /* padding: 5px; */
}

.FooterLinks {
    display: flex;
    justify-content: center;
    flex-direction: row;
}
.FooterLinksImg {
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.FooterLinks a {
    margin-right: 20px;
}

.FooterLinksImg img {
    width: 30px;
}

#Footer li {
    padding: 10px;
}

#Footer ul {
    list-style-type: none;
    padding-inline-start: 0;
    margin-block-end: 0;
    padding: 10px;
}

#Footer li a {
    text-decoration: underline;
    color: black;
    display: flex;
    align-items: center;
}


#confettiLeft,#confettiRight{
    height:100px;width:auto;margin:30px
}

#ConfettiSpan{
    display:flex;align-items: center;flex-direction: row;font-size:100px;
}



hr {
    width:90%;
    text-align:middle;
    margin: 20px auto 20px auto;
}

@keyframes fadeIn {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(50px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes popInScale {
            0% { transform: scale(0.8); opacity: 0; }
            100% { transform: scale(1); opacity: 1; }
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

.PageTitle, #EmailPageTitle{
    font-family: muroregular;
    text-align: center;
    font-size: 100px;
}

#EmailPageTitle{
    animation: popInScale 0.6s ease-out;
    margin-bottom: 20px;

}

#EmailCentre{
    background:white;
    align-self: center;
    padding:50px;
    border-radius: 20px;
    justify-items: anchor-center;
    align-content: center;
    margin:50px;
    box-shadow:  rgba(0, 0, 0, 0.1) 1px 0px 0px 3px, rgba(0, 0, 0, 0.2) 0px -4px 1px inset;

}

.PageDescription, #EmailPageDescription{
    font-family: bikoregular;
    text-align: center;
    font-size:40px;
}

#EmailPageDescription{
    animation: popInScale 0.6s ease-out;
    margin-bottom: 20px;
    padding:0;
}


#FilterRadioSelections{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    font-family: bikoregular;
    margin-top:60px;
    font-size: 30px;
}

.FilterColumn{
    margin: 0px 20px;
    padding:20px;
    border-radius:20px;
    /*text-align: center;*/
    font-size: 40px;
    display: flex;
    /*align-items: center;*/
    flex-direction: column;
}

.FilterOption{
    font-size: 30px;
    display: flex;
    margin-left: 10px;
}

.FilterOption input {
    margin-right:10px;
}

.FilterOptionsContainer {

}

#ProjectsContainer{
    display: flex;
    width:100%;
    flex-wrap: wrap;
    justify-content: center;

}

.ProjectElement {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: bikoregular;
}

.ProjectElementSmall {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: bikoregular;
    width: 40%;
    outline-style: solid;
    padding: 20px;
    border-radius: 20px;
    margin: 20px;
    box-shadow:  rgba(0, 0, 0, 0.1) 1px 0px 0px 3px, rgba(0, 0, 0, 0.2) 0px -4px 1px inset;
    transition: all 0.5s ease;
}

.ProjectElementSmall:hover {
    cursor: pointer;
    outline-width:3px;
    transition:none;
    box-shadow: rgba(0, 0, 0, 0.4) 4px 4px 6px, rgba(0, 0, 0, 0.3) 0px 3px 6px -3px, rgba(0, 0, 0, 0.2) 0px -2px 0px inset;
  }

.ProjectTitleAndDate {
    text-align: center;
    display: flex;
    align-items: flex-end;
    
}

.ProjectTitle {
    font-size: 60px;
    
    font-family: muroregular;
}

.ProjectYear {
    font-size: 40px;
    color:rgb(179, 179, 179);
    font-family: muroregular;
}

#ProjectTagsFilter, .ProjectTags {
    display: flex;
    justify-content: center;
    border-radius: 20px;
    outline: solid;
    margin: 20px 0;
    align-items: center; /* Vertical centering */
}

#ProjectTagsFilter {
    outline: none;
    margin: 0;
}

/*Selected filter tags */
#ProjectTagsFilter .ProgramTagFilter {
    padding: 10px 15px;
    font-size: 25px;
    border-radius: 20px; 
    background: repeating-linear-gradient(
        45deg,
        #fff0d6,
        #fff0d6 10px,
        #fffaf0 10px,
        #fffaf0 20px
    );
    outline-style:solid;
    
}

.ProgramTagFilter span {
    font-size: 30px;
    margin-left: 10px;
}

.ProjectTags div {
    padding: 10px 15px;
    color: black;
    font-size: 25px;
}

/*Currently active filter*/
.ProjectTags .ActiveFilter {
    /*font-family: bikobold;*/
    outline-style: solid;
    outline-width: 4px;
} 

#FilterToggleButton {
    display: none;
    padding:20px;
    margin:20px 20px 20px -20px;
    font-size: 30px;
    align-items: center;
    align-self: flex-start;
    border-radius: 20px;
    outline: 1px solid black;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 4px, rgba(0, 0, 0, 0.3) 0px 1px 6px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    transition: all 0.3s ease;
    align-self: center;
    margin-top:20px;
}
  

/*Changing tags in project divs*/
.CategoryTag {
    background: repeating-linear-gradient(
        45deg,
        #fff3f3,
        #fff3f3 10px,
        #ffe7e7 10px,
        #ffe7e7 20px
    );
    border-radius: 20px 0 0 20px;
}

.ProjectTypeTag {
    background: repeating-linear-gradient(
        45deg,
        #ece1ff,
        #ece1ff 10px,
        #f5eeff 10px,
        #f5eeff 20px
    );
    border-radius: 0 0 0 0; 
}

.ProgramTag {
    background: repeating-linear-gradient(
        45deg,
        #fff0d6,
        #fff0d6 10px,
        #fffaf0 10px,
        #fffaf0 20px
    );
    border-radius: 0 20px 20px 0; 
}

/*Original filter tags at top of page */
.CategoryTagFilter, #ProjectTagsFilter .CategoryTagFilter {
    background: repeating-linear-gradient(
        45deg,
        #fff3f3,
        #fff3f3 10px,
        #ffe7e7 10px,
        #ffe7e7 20px
    );
    border-radius: 20px; 
}

.ProjectTypeTagFilter, #ProjectTagsFilter .ProjectTypeTagFilter {
    background: repeating-linear-gradient(
        45deg,
        #ece1ff,
        #ece1ff 10px,
        #f5eeff 10px,
        #f5eeff 20px
    );
    border-radius: 20px; 
}

.ProgramTagFilter, #ProjectTagsFilter #ProgramTagFilter {
    background: repeating-linear-gradient(
        45deg,
        #fff0d6,
        #fff0d6 10px,
        #fffaf0 10px,
        #fffaf0 20px
    );
    border-radius: 20px;
}

/*Filter column title styles */
#CategoryColumnTitle {
    background: repeating-linear-gradient(
        45deg,
        #fff3f3,
        #fff3f3 10px,
        #ffe7e7 10px,
        #ffe7e7 20px
    );
    margin-bottom: 10px;
    border-radius: 20px;
    padding: 10px;
    outline: solid;
    width: 100%;
    /*text-align: center;*/
}

#ProjectTypeColumnTitle {
    background: repeating-linear-gradient(
        45deg,
        #ece1ff,
        #ece1ff 10px,
        #f5eeff 10px,
        #f5eeff 20px
    );
    margin-bottom: 10px;
    border-radius: 20px;
    padding: 10px;
    outline: solid;
    width: 100%;
    /*text-align: center;*/
}

#ProgramColumnTitle {
    background: repeating-linear-gradient(
        45deg,
        #fff0d6,
        #fff0d6 10px,
        #fffaf0 10px,
        #fffaf0 20px
    );
    margin-bottom: 10px;
    border-radius: 20px;
    padding: 10px;
    outline: solid;
    width: 100%;
    /*text-align: center;*/
}



.ProjectDescription {
    font-size: 25px;
    width: 90%;
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}



.ProjectPictures {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.popup-content .ProjectPictures{
    margin-bottom: 20px;
}

.popup-content .ProjectDescription p{
    font-size: 40px; text-decoration: underline;margin-top: 20px;
}

.ProjectPictures .bigPic {
    flex-basis: 100%;
}





.popup-content ul {
    align-items: center;
}

.popup-content li{
    text-align: left;
}

.ProjectPictures img, .ProjectDescription img {
    width:45%;
    margin: 20px;
    height: auto;
    border-radius:20px;
    outline-style: solid;
    outline-width: 2px;
    box-shadow: rgba(0, 0, 0, 0.1) 1px 0px 0px 3px, rgba(0, 0, 0, 0.2) 0px -4px 1px inset;
}

.ProjectElementSmall .ProjectPictures img {
    width:90%;
    margin: 0px 20px 20px 20px;
}

.mediumPic, .ProjectDescription img.mediumPic {
    width: 70% !important;
    display: initial;
    padding: 10px !important;
}


.ProjectDescription video{
    margin-bottom:20px;
    margin-top:20px;
}


.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
   
}

.popup-content {
    position: relative; /* Ensures child elements like .close can be positioned relative to it */
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-height: 90%;
    overflow-y: auto;
    box-sizing: border-box;
    border-radius: 20px;
    outline-width: 2px;
    outline-style: solid;
    outline-color: rgba(0,0,0,0.3);
}

.close {
    position: absolute; /* Position relative to .popup-content */
    top: 10px;          /* Position from the top of the .popup-content */
    right: 30px;        /* Position from the right of the .popup-content */
    color: #aaa;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;         /* Ensure it appears above .popup-content */
}


.popup-content .ProjectDescription {
    -webkit-line-clamp: initial;
    line-clamp: initial;
}

.popup-content::-webkit-scrollbar {
    display: none;
  }



.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
    transition:none;
}

.hidden {
    display: none;
}

.popup .hidden {
    display: block;
}

.popup iframe.hidden {
    display: initial;
}


.popup-content img {
    display: block;
}



.popup-content .hiddenOnPopup{
    display: none;
}

#ProjectTagsFilter {
    display: flex;
    justify-content: center;
    border-radius: 20px;
    margin: 0;
    padding: 10px;
    flex-wrap: wrap;
}

#ProjectTagsFilter .CategoryTagFilter {
    background: repeating-linear-gradient(
        45deg,
        #fff3f3,
        #fff3f3 10px,
        #ffe7e7 10px,
        #ffe7e7 20px
    );
    border-radius: 20px; 
}

#ProjectTagsFilter .ProjectTypeTagFilter {
    background: repeating-linear-gradient(
        45deg,
        #ece1ff,
        #ece1ff 10px,
        #f5eeff 10px,
        #f5eeff 20px
    );
    border-radius: 20px; 
}

#ProjectTagsFilter .ProgramTagFilter {
    background: repeating-linear-gradient(
        45deg,
        #fff0d6,
        #fff0d6 10px,
        #fffaf0 10px,
        #fffaf0 20px
    );
    border-radius: 20px;
}

#ProjectTagsFilter .ActiveFilter {
    outline-style: solid;
    outline-width: 2px;
    margin: 5px;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 4px, rgba(0, 0, 0, 0.3) 0px 1px 6px -3px, rgba(0, 0, 0, 0.2) 0px -2px 0px inset;
    transition: all 0.5s ease;
}

#ProjectTagsFilter .ActiveFilter:hover{
    outline-width: 2.8px;
    box-shadow: rgba(0, 0, 0, 0.3) 4px 4px 6px, rgba(0, 0, 0, 0.3) 0px 1px 6px -3px, rgba(0, 0, 0, 0.2) 0px -2px 0px inset;
    transition: none;
}

#ProjectTagsFilter .ActiveFilter span {
    font-size: 25px;
    margin-left: 10px;
    cursor: pointer;
}

.ProgramTag.ActiveFilter {
    font-weight: bold;
    outline-style: solid;
    outline-width: 3px;
    border-radius: 0 20px 20px 0;
}

#ProjectTagsFilter .ActiveFilter {
    padding: 10px 15px;
    font-size: 25px;
    border-radius: 20px; 
    outline-style:solid;
    margin-right: 10px;
}

.CategoryTag.ActiveFilter{
    font-weight: bold;
    outline-style: solid;
    outline-width: 3px;
    border-radius: 20px 0px 0px 20px;
    z-index: 1
} 

.ProjectTypeTag.ActiveFilter {
    font-weight: bold;
    outline-style: solid;
    outline-width: 3px;
    border-radius: 0 0px 0px 0;
    z-index: 1
}


#EmailIconAndText{
    font-size:40px;
    display: flex;
    justify-content: center;
    margin-top: 80px;
    margin-bottom: 80px;
    align-items: center;
}
#EmailIconAndText img{
    width:auto;
    height:60px;
    margin-right: 20px;
}

#desktopEmailIcon{
    display:block
}

#phoneEmailIcon{
    display: none;
}



#ContactBoxesContainer{
    font-size: 40px;
    text-align: center;
    width:100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#ContactBoxes{
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 40px;
    text-align: center;
    align-items: center;
    width:80%;
    margin-top:10px;
}

#ContactBoxes textarea, #ContactBoxes input{
    width: 100%;
    padding:20px;
    margin:20px;
    font-size: 30px;
    border-radius: 20px;
    outline-width: 2px;
    outline-color: black;
    outline-style: solid;
    transition: all 0.5s ease;
}

#ContactBoxes input{
    outline-width: 1px;
}

#ContactBoxes textarea:hover, #ContactBoxes input:hover{
    outline-width: 2.7px;
    transition:none;
    box-shadow: rgba(0, 0, 0, 0.3) 4px 4px 6px, rgba(0, 0, 0, 0.3) 0px 1px 6px -3px, rgba(0, 0, 0, 0.2) 0px -2px 0px inset;
}

#ContactBoxes input:hover{
    outline-width: 1.7px;
}

.inactive-button {
    cursor: not-allowed !important;
    box-shadow: none !important;
    opacity: 0.6 !important;
    transition: all 0.3s ease;
}

#SendMessage {
    padding:20px;
    margin:20px 20px 20px -20px;
    font-size: 30px;
    display: flex;
    align-items: center;
    align-self: flex-start;
    border-radius: 20px;
    outline: 1px solid black;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 4px, rgba(0, 0, 0, 0.3) 0px 1px 6px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    transition: all 0.3s ease;
}

.disabled {
    color:#aaa;
    cursor: not-allowed !important;
    opacity: 0.6;
}

/* Shake animation */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.3s;
}

.g-recaptcha.shake {
            display: inline-block;
            animation: shake 0.3s;
        }
        
#SendMessage:hover{
    cursor: pointer;
    outline-width: 1.7px;
    transition:none;
    box-shadow: rgba(0, 0, 0, 0.3) 4px 4px 6px, rgba(0, 0, 0, 0.3) 0px 1px 6px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

#SendMessage img{
    width:30px;
    height:auto;
    margin-right: 10px;
}

#IndexMain {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: orange;
    transition: all 0.5s ease;
    flex-direction: column;
    position: relative;
    

}

@keyframes popInIndex {
    0% {
        opacity: 0;
        transform: translateY(0px);
    }
    100% {
        opacity: 1;
        transform: translateY(-100px);
    }
}

#IndexTitle {
 
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: auto;
    transition: all 0.5s ease-out;
}


#IndexTitleHi {
    opacity:0;
    font-size: 40px;
    transition: all 0.5s ease-out;
    animation: popInIndex 2s ease-out forwards;
}

#IndexTitleName {
    opacity:0;
    font-size: 100px;
    transition: all 0.5s ease-out;
    animation: popInIndex 2s ease-out forwards;
    text-align:center;
    animation-delay: 1.3s;
}

#IndexTitleDescription {
    opacity:0;
    font-size: 35px;
    transition: all 0.5s ease-out;
    animation: popInIndex 2s ease-out forwards;
    animation-delay: 1.3s;
}

#PhoneVersionNotWorking{
    display:none;
}

#IndexLinksContainer {
    opacity:0;
    display: flex;
    flex-direction: row;
    font-size: 30px;
    margin-top: 40px;
    animation: popInIndex 2s ease-out forwards;
    animation-delay: 2.5s;
    
}

#IndexLinksContainer a {
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline-style: solid;
    outline-width: 2px;
    border-radius: 20px;
    padding: 20px;
    text-decoration: none;
    color: black;
    transition: all 0.5s;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 4px, rgba(0, 0, 0, 0.3) 0px 1px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

#IndexLinksContainer a:hover{
    transition: none;
    outline-width: 2.8px;
    box-shadow: rgba(0, 0, 0, 0.4) 4px 4px 6px, rgba(0, 0, 0, 0.3) 0px 3px 6px -3px, rgba(0, 0, 0, 0.2) 0px -2px 0px inset;
}

#IndexLinksContainer a img {
    margin-right: 10px;
    width: 50px;
    height: auto;
    transition: all 0.5s ease;
}

#IndexLinksContainer a[href$="LouisCooperCV.pdf"] {
    display: flex; 
    transform: translateY(120px); 
    background:white;
    
}

#IndexLinksContainer a[href$="myprojects.html"] {
    display: flex; 
    transform: translatex(160px); 
    background:white;
   
}

#IndexLinksContainer a[href$="contact.php"] {
    display: flex; 
    transform: translateX(-160px); 
    background:white;
 
}


@keyframes ripple {
    0%, 100% {
        border-color: transparent;
        box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
        
    }
    100% {
        border-color: black;
        box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(255, 0, 0, 0.23) 0px 6px 6px;
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);

    }
}


@keyframes rippleSmall {
    0%, 100% {
        border-color: transparent;
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
    }
    100% {
        border-color: black;
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
}

.emphasise {
    /*animation: ripple 2s ease-in-out infinite;*/
}

#GithubAndLinkedIn {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 20px;
    transition: all 0.5s ease;
    opacity:0;
    animation: popInScale 2s ease-out forwards;
    animation-delay:4s;
    
}

#GithubAndLinkedIn img {
    margin-right: 20px;
    width:60px;
    transition: all 0.5s ease;
    
    
}

@keyframes attentionGrab {
  0% {
    transform: translateY(-200px) scale(1.5);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    transform: translateY(10px) scale(1.1);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes moveDown {
  0% {
    transform: translateY(-40px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(20px);
    opacity: 0;
  }
}

/* Arrow animating state with 4s delay on first run */
.ArrowActiveFirst {
  animation: moveDown 2s ease-in-out 4s infinite;
}

/* Arrow animating state normally (no delay) */
.ArrowActive {
  animation: moveDown 2s ease-in-out infinite;
}

/* Arrow static state (no animation) */
.ArrowStatic {
  animation: none !important;
  opacity: 1 !important;
}



#ArrowDown {
  position: absolute;
  opacity:0;
  bottom: 20px;
  right: 20px;
  /*opacity: 0;
  transition: all 0.5s ease;

  /*animation: 4s moveDown 4s ease-in-out infinite;       /* looping motion starts after */
}

#ArrowDown img {
  transition: all 0.5s ease;
  width: 80px; /* slightly larger for visibility */
}


#DragHint {
    position: relative;          /* overlay on top of carousel */
    top: 10px;                   /* slightly down from top */
    /*background: rgba(255, 184, 137, 0.8); /* matches your theme */
    color: #000;
    font-weight: bold;
    font-size: 16px;
    padding: 6px 12px;
    border-radius: 10px;
    pointer-events: none;        /* so it doesn't block clicks/drag */
    z-index: 10;
    user-select: none;           /* prevent text selection */
    animation: pulse 1.5s infinite alternate;
    text-align: center;
    left:50%;
    width:fit-content;
}

/* subtle pulsing animation to draw attention */
@keyframes pulse {
    0% { transform: translateX(-50%) scale(1); opacity: 0.8; }
    100% { transform: translateX(-50%) scale(1.05); opacity: 1; }
}

#Carousel {
    display: flex;
    overflow-x: auto; 
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box; 
    margin-bottom: -20px;
    scrollbar-width: none; /* Hide scrollbar in Firefox */
    -webkit-user-drag: none;
}

#Carousel::-webkit-scrollbar {
    height: 8px;  /* Height of the scrollbar */
}

#Carousel::-webkit-scrollbar-thumb {
    background-color: #888; /* Color of the scrollbar thumb */
    border-radius: 10px;    /* Roundness of the scrollbar thumb */
}

#Carousel::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Color when hovering over the scrollbar */
}

#Carousel::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color of the scrollbar track */
}

.ProjectElementExtraSmall {
    flex: 0 0 35%; 
    max-width: 35%;
    box-sizing: border-box; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: bikoregular;
    outline-style: solid;
    padding: 20px;
    border-radius: 20px;
    margin: 0 10px;
    box-shadow:  rgba(0, 0, 0, 0.1) 1px 0px 0px 3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    transition: all 0.5s ease;
    -webkit-user-drag: none;
}

.ProjectElementExtraSmall .ProjectPictures img {
    width: 100%;
    margin: 0 0 20px 0;
    -webkit-user-drag: none;
}

.ProjectElementExtraSmall .ProjectPictures {
    margin: 0;
}

.ProjectElementExtraSmall:hover {
    cursor: pointer;
    outline-width: 2.8px;
    box-shadow: rgba(0, 0, 0, 0.4) 5px 5px 6px, rgba(0, 0, 0, 0.3) 0px 1px 6px -3px, rgba(0, 0, 0, 0.2) 0px -2px 0px inset;
    transition:none;
}

.ProjectElementExtraSmall .ProjectTitle {
    font-size: 50px;
    margin: 0; 
}

.ProjectElementExtraSmall .ProjectYear {
    font-size: 30px;
    margin: 0;
}

.ProjectElementExtraSmall .ProjectTags div {
    font-size: 20px;
    margin: 0; 
}

.ProjectElementExtraSmall .ProjectDescription {
    font-size: 20px;
    text-align: center;
    margin: 0; 
}

#Carousel a {
    text-decoration: none;
    color: black;
    -webkit-user-drag: none;
}


/*FOR WHEN INDEX IS SMALL*/

.IsSmall #IndexTitle {
    flex-direction: column;
    align-items: center;
    width: auto;
    transform: translateY(100px);
}

.IsSmall #IndexTitleHi{
    font-size: 30px;
}
.IsSmall #IndexTitleName{
    font-size: 60px;
}
.IsSmall #IndexTitleDescription {
    font-size: 25px;
}

.IsSmall #IndexLinksContainer {
    margin-top: 20px;
    font-size: 20px;

}

.IsSmall #IndexLinksContainer a {
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 4px, rgba(0, 0, 0, 0.3) 0px 1px 2px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset
}

.IsSmall #IndexLinksContainer a:hover{
    transition: none;
    outline-width: 2.3px;
    box-shadow: rgba(0, 0, 0, 0.4) 2px 2px 6px, rgba(0, 0, 0, 0.3) 0px 3px 6px -3px, rgba(0, 0, 0, 0.2) 0px -2px 0px inset;
}

.IsSmall #IndexLinksContainer a img {
    width: 20px;
}

.IsSmall #IndexLinksContainer a[href$="LouisCooperCV.pdf"] {
    transform: translateY(0px); 
    
}

.IsSmall #IndexLinksContainer a[href$="myprojects.html"] {
    transform: translatex(0px); 
    
}

.IsSmall #IndexLinksContainer a[href$="contact.php"] {
    transform: translatex(0px); 
    
}

.IsSmall #GithubAndLinkedIn img{
    width:40px;
}

 
  #IndexMain.IsSmall {
    height: 250px;
}


.IsSmall #ArrowDown{
    transition: all 0.5s ease;
    animation: moveUp 2s ease-in-out infinite;
}



.IsSmall #ArrowDown img{
    /*rotate: 180deg;*/
    width:30px;
}

.IsSmall .emphasise {
    /*    animation: rippleSmall 2s infinite;*/
}

#FooterLouisCooper{
    font-size:25px;
}
#Footer li a {
    text-decoration: underline;
    color: black;
    display: flex;
    align-items: center;
    margin-top: 20px;
    justify-content: center;
    width: 90px;
}
.FooterLinks{
    margin-top: -20px;
    display: flex;
    flex-direction: row;
justify-content: center;
align-items: center;
}
.FooterLinksImg{
    margin-top: -20px;
    flex-direction: row;
}
.FooterLinksImg img{
    width: 32px;
}

#FooterLinksGroup1,
#FooterLinksGroup2 {
    display: flex;
    flex-direction: row;
    align-items: center; 
    
    width: 100%;
    justify-content: center;
}
#Footer{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin-top: 20px;
}
#FooterLouisCooper{
    margin-top:-10px;
}




@media (max-width: 1100px) {
    #EmailPageDescription {
            font-size: 26px;
            text-align: center;
            padding:0;
        }
    #EmailPageTitle {
        padding-right:30px;
        padding-left:30px;
}
#confettiLeft{
    height:100px;
    margin-bottom:10px;
    margin-top:-10px;
}

#ConfettiSpan{
    display:flex;align-items: center;flex-direction: column;
}
#confettiRight{
    display:none;
}
}

@media only screen and (max-width: 840px) {
    #FilterToggleButton {
      display: block;
      margin: 1rem 0;
      margin-top: 60px;
    }
    #FilterRadioSelections {
      display: none;
      margin-top: 10px;
    }
    #FilterRadioSelections.active {
      display: flex;
      animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    #IndexTitleName {
        font-size: 75px;
    }
    #IndexTitleDescription{
        font-size: 26px;
        text-align: center;
        padding:0;
    }
    
    .PageDescription, .PageTitle{
    padding-right:30px;
    padding-left:30px;
}
 
    .IsSmall #IndexTitle, #IndexTitle{
        transform: translateY(0px);
        
    }


    .IsSmall #IndexLinksContainer a img, #IndexLinksContainer a img{
        width:30px;
    }
    #GithubAndLinkedIn img{
        width:40px;
    }
   
    #PhoneVersionNotWorking {
        font-size: 16px;
        text-align: center;
        display: block;
        margin-top: 15px;
    }
    
    @keyframes popInIndex {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
    #PhoneVersionNotWorking{
        
       opacity:0;
       animation: popInScale 2s ease-out forwards;
       animation-delay:4s; 
    }
    #IndexLinksContainer a[href$="LouisCooperCV.pdf"] {
        transform: translateY(0px); 
    }
    
    #IndexLinksContainer a[href$="myprojects.html"] {
        transform: translatex(0px); 
    }
    
   #IndexLinksContainer a[href$="contact.php"] {
        transform: translatex(0px); 
    }

    #IndexTitleHi{
        font-size: 30px;
    }
    #IndexTitleName{
        font-size: 60px;
    }
    #IndexTitleDescription {
        font-size: 25px;
    }
    #ArrowDown{
        display: none;
    }
    #GithubAndLinkedIn{
        position: relative;
    }
    .IsSmall #IndexLinksContainer a:hover, #IndexLinksContainer a:hover{
        transition: none;
        outline-width: 2.3px;
        box-shadow: rgba(0, 0, 0, 0.4) 2px 2px 6px, rgba(0, 0, 0, 0.3) 0px 3px 6px -3px, rgba(0, 0, 0, 0.2) 0px -2px 0px inset;
    }
    .IsSmall #IndexLinksContainer a,  #IndexLinksContainer a{
        padding: 20px;
        margin-bottom: 20px;
        font-size: 22px;
        margin-right: 0px;
        box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 4px, rgba(0, 0, 0, 0.3) 0px 1px 2px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }

    .IsSmall #IndexLinksContainer, #IndexLinksContainer {
        display: block;
        margin-top: 50px;
        width: 100%;
       
    }
    #IndexMain.IsSmall, #IndexMain {
        height: 100%;
    }
    .ProjectElementExtraSmall {
        flex: 0 0 75%;
        max-width: 75%;
    }
    #Footer li a {
        text-decoration: underline;
        color: black;
        display: flex;
        align-items: center;
        margin-top: 20px;
        justify-content: center;
        width: 90px;
    }
    .FooterLinks{
        margin-top: -20px;
        display: flex;
        flex-direction: column;
    justify-content: center;
    align-items: center;
    }
    .FooterLinksImg{
        margin-top: -20px;
        flex-direction: row;
    }
    .FooterLinksImg img{
        width: 32px;
    }

    #FooterLinksGroup1,
    #FooterLinksGroup2 {
        display: flex;
        flex-direction: row;
        align-items: center; /* Center items horizontally */
        margin: 0 13px; /* Add some space between the groups */
        width: 100%;
        justify-content: center;
}
#Footer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
}
#FooterLouisCooper{
    margin-top:-20px;
}

#CenterText{
    display: none;
}
.PageTitle, #EmailPageTitle{
    font-size: 80px;
}
#FilterRadioSelections{
    flex-direction: column;
}
.ProjectElementSmall{
    width:80%;
}
.ProjectTitle{
    font-size: 50px;
    margin-right: 0;
}
.ProjectTags{
    padding: 10px 0px;
    text-align: center;
}
.ProjectTags div{
    height: 100%;
    font-size: 18px; 
    display: flex; /* Ensure this div uses flexbox */
    align-items: center; /* Vertical centering for text */
    justify-content: center; /* Horizontal centering for text */
}
.ProjectDescription{
    font-size: 18px;
}
.popup-content{
    padding:10px;
    width:95%;
    max-height:95%;

}
.ProjectPictures img{
    margin:0px 0px 20px 0px;
}
#Right{
    display:none;
}
#CenterText{
    display: none;
}
#EmailCentre{

    padding: 13px;
    margin: 40px;
}
#Left{
    width:100%;
    display: flex;
    justify-content: space-evenly;
}


.FilterColumn{
    font-size: 30px;
    align-self: center;
    margin-left:0;
    text-align: center;
}
.FilterColumn label{
    font-size:25px;
}

.close {
    top: 5px;
    right: 30px;

}

.popup iframe.hidden {
    width: auto;
}

.popup-content .ProjectDescription p {
    font-size: 30px;
}

#EmailIconAndText {
    font-size: 24px;
    display: flex;
    flex-direction: column;

    
}

#EmailIconAndText img{
    height:40px;
    margin-bottom:20px;

}

#ContactBoxes textarea, #ContactBoxes input{
    width: 100%;
    padding: 15px;
    margin: 10px;
    font-size: 20px;
    border-radius: 10px;
}

#SendMessage {
    padding: 20px;
    margin: 20px 20px 20px -20px;
    font-size: 20px;

}

#Navbar ul{
    width: 90%;
    justify-content: space-between;
}

#desktopEmailIcon{
    display:none;
}

#phoneEmailIcon {
    display: block;
    margin-top: 9px !important;
    height: 45px !important;
}

#ContactBoxes{
    margin-top:20px;
}
.ProjectElementSmall .ProjectPictures img {
    width: 100%;
    margin: 0px;
    
}

.ProjectDescription img{
    border-radius: 10px;
}

.mediumPic, .ProjectDescription img.mediumPic {
    width: 90% !important;
    margin-left: 5px;
}

.ProjectDescription video {
    height: auto;
    width: 100%;
}

.popup-content ul {
    padding-inline-start: 0px;
}




@media only screen and (max-width: 380px) {
.ProjectElementExtraSmall .ProjectTags div {
        font-size: 15px;
}
.ProjectTags div {
    padding: 4px 15px;
}
    .ProjectTags {
        padding: 4px 0px;
}
.ProjectElementExtraSmall .ProjectDescription {
    font-size: 17px;
}

#EmailCentre{
    margin: 10px;
    padding:0;
}
#EmailPageDescription{
    padding: 16px;
}
}