.navbar {
    padding-top: 0;
    padding-bottom: 0;
    font-size: 1em;
    background-color: #6c4fcc;
}
    
#quarto-header {
    border-bottom: 1px solid rgb(0, 0, 0);
}
    
    
.navbar-brand.navbar-brand-logo {
    display: flex;
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 0;
    margin-left: 1.5em;
}
    
@media (max-width: 991px) {
    .navbar-brand.navbar-brand-logo {
        margin-left: 5vw;
        margin-right: 10vw;
    }
}
    
.navbar-logo {
    max-height: 150px;
    width: auto;
    align-items: baseline;
}
    
@media (max-width: 991px) {
    .navbar-logo {
    max-height: 100px;
    width: auto;
    align-items: baseline;
    }
}
    
.nav-item {
    margin-top: 5rem; 
    font-weight: semi-bold;
    font-family: 'Enriqueta', arial, serif;
    position: relative;
    transition: 0.5s;
}

.nav-item a {
    text-decoration: none;
    position: relative;
    display: block;
    padding: 5px;
    font-size: 22px;
    color: white;
    transition: 0.5s;
    z-index: 1;
}

.nav-item a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: 0.5s;
    transform-origin: right;
    transform: scaleX(0);
    z-index: -1; /* Behind the text */
}

.nav-item a:hover:before {
    transform-origin: left;
    transform: scaleX(1);
}

.nav-item:hover a {
    transform: scale(1.0); /* Scale up the text */
    opacity: 0.2;
    filter: blur(5px);
}

.nav-item a:hover {
    transform: scale(2);
    opacity: 1;
    filter: blur(0);
    color: #fff; /*  text color on hover */
}

.navbar.hover-active .nav-item a:not(:hover) {
    opacity: 0.2;
    filter: blur(5px);
}
    
@media (max-width: 1200px) {
        .nav-item {
          margin-right: 0.5rem;
      }
}
      
@media (max-width: 991px) {
        .nav-item {
          margin-top: 0;
          margin-right: 0rem;
      }
}
      
.aa-DetachedSearchButton {
    margin-top: 5rem;
}
      
@media (max-width: 991px) {
    .aa-DetachedSearchButton {
        margin-top: 0;
    }
}
    
.pagination-container {
    text-align: center;
    margin: 20px 0;
    font-size: 1.2em;
}
    
.pagination-link {
    margin: 0 5px;
    padding: 5px 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: black;
    text-decoration: none;
    border-radius: 5px;
}
    
.pagination-link:hover {
    background-color: #e2e6ea;
}

.pagination-link.active {
    background-color: #242527;
    color: white;
}
.pagination-ellipsis {
    display: inline-block;
    margin: 0 5px;
    color: #6c757d;
}

@media screen and (max-width: 768px) {
    .pagination-contrainer{
        font-size: 1em;
    }
}
    
.container {
    width: 100%;
    margin: auto;
    padding: 0 15px;
}
.sketch-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.sketch-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}
.sketch-item a {
    display: inline-block;  
    margin-right: 70px;  /* space between sketches on a row */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sketch-item a:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5)
}
/* remove right margin from the last element in each sketch-item */
.sketch-item a:last-child {
    margin-right: 0;
}
@media screen and (max-width: 767px) {
    .sketch-item {
        /* change layout to a single column */
        flex-direction: column;
        align-items: center;
    }

    .sketch-item a {
        /* adjust width and reset margin for single column layout */
        flex-basis: 100%;
        margin-right: 0;
    }
}
.sketch-wrapper {
    position: relative;
    padding: 8px 15px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/*
.sketch-wrapper:hover {
    box-shadow: 0 4px 8px rgba(250, 249, 249, 0.3);
}
*/
.view-code-btn {
    display: block;
    position: absolute;
    right: 30px;
    padding: 8px 15px;
    bottom: 40px; /* space between iframe and button */
    background-color: #474747;
    color: white;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}
.view-code-btn:hover {
    background-color: #5E5E5E;
    color: white;
}

body {
    font-family: 'Lucida Bright', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.start-button-container {
    text-align: center; /* Center the button container */
    margin-top: 20px; /* Add some space at the top */
}
.start-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff;
    color: rgb(0, 0, 0); 
    text-decoration: none; 
    font-weight: bold;
    border-radius: 5px; 
    transition: background-color 0.3s; /* Smooth background color transition */
}
.start-button:hover {
    background-color: #000000; /* Darker blue on hover */
    color: white;
}
.content-container {
    display: flex;
    align-items: center;
    justify-content: space-around; /* Adjust space around elements */
    height: 60vh;
}

.carousel {
    display: inline-block;
    max-width: 400px; 
    height: 250px; 
    overflow: hidden; 
    white-space: nowrap;
}

.carousel-item {
    display: inline-block;
    padding: 10px;
    white-space: normal;
}

.carousel-item img {
    width: 100%;
    height: auto; 
}

.welcome-text {
    text-align: right; 
    max-width: 50%; 
}

@media screen and (max-width: 768px) {
    .content-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .carousel, .welcome-text {
        max-width: 100%;
        text-align: center;
    }
}
