body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

footer {
    padding: 25px 0;
    background-color: #1f1f1f;
    width: 100%;
    color: white;
}

footer .nav-item {
    margin-right: 10px;
}

.bg-whites {
    background: #f7f7f7 !important;
}

section,
nav,
footer {
    background: #252525;
}

h1,
h2,
h3,
h4,
h5,
p,
a,
li {
    color: white !important;
}

.chi-sono-param {
    font: italic 170% / 150% Georgia, "Times New Roman", Times, serif;
    width: 80%;
    margin: auto;
    color: #777777 !important;
}

.foto-card p,
.foto-card h4 {
    color: black !important;
    text-transform: uppercase;
    text-align: center;
}

.foto-card {
    background: white;
    width: 390px;
    height: 360px;
    margin-top: 20px;
}

.foto-nav-link a {
    margin: 20px;
    text-transform: uppercase;
    text-decoration: none;
}

.chi-sono-img {
    border-radius: 50%;
    width: 90px;
    height: 90px;
}

.header-tittle {
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.header-tittle h1 {
    padding: 10px 0;
    padding-top: 0;
    color: #ffffff;
    vertical-align: middle;
    text-transform: uppercase;
    font-size: 58px;
    font-weight: bold;
    line-height: 1em;
    text-align: center;
    display: inline-block;
    letter-spacing: -1px;
}

.header-tittle h1:after {
    content: "";
    display: block;
    width: 62%;
    height: 1px;
    background-color: #ffffff;
    margin: auto;
    margin-top: 10px;
}

footer ul {
    display: flex;
}

footer li {
    margin-right: 25px;
    list-style: none;
}

footer a {
    text-decoration: none;
    font-size: 13px;
}

footer h4 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 10px;
    color: #b3b3b1 !important;
}

nav a,
section a {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

nav a:not(.navbar-brand)::after,
section a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: white;
    transition: width 0.3s ease, left 0.3s ease;
}

nav a:hover:not(.navbar-brand)::after,
section a:hover::after {
    width: 100%;
    left: 0;
}


.bg-whites h4:after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background-color: #fdd200;
    margin: auto;
    margin-top: 6px;
    margin-bottom: 11px;
}

.yellow-btn {
    background: #fdd200 !important;
    border: none;
}

.btn-primary{
    border: none !important;
}

.foto-card {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.foto-card>div:first-child {
    position: relative;
    overflow: hidden;
}

.foto-card>div:first-child img {
    transition: transform 0.3s ease, filter 0.3s ease;
    display: block;
    width: 100%;
    height: auto;
}

.foto-card>div:first-child::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    z-index: 1;
    /* Ensure the overlay is above the image */
}

.foto-card>div:first-child::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url("../img/icons/icons8-image-50.png");
    background-size: 50%;
    /* Icon size within the padded area */
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fdd200;
    /* Padding-like color area */
    width: 70px;
    /* Include padding size */
    height: 70px;
    border-radius: 5px;
    /* Optional rounded corners */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}


.foto-card>div:first-child::before::after {
    content: '';
    background-image: url("../img/icons/icons8-image-50.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 50px;
    /* Icon size */
    height: 50px;
}


.foto-card:hover>div:first-child img {
    transform: scale(1.1);
    filter: brightness(0.5);
}

.foto-card:hover>div:first-child::after {
    background: rgba(0, 0, 0, 0.5);
}

.foto-card:hover>div:first-child::before {
    opacity: 1;
    /* Show the image */
}

.grey-body section {
    background: #f7f7f7;
}

.selected-card .bg-white {
    width: 30%;
    padding: 36px 30px 36px 30px;
}

.img-div {
    width: 100%;
}

.img-div img {
    width: 100%;
}

.swiper-button-next,
.swiper-button-prev {
    background: pink;
    width: 33px !important;
    height: 53px !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 25px !important;
    color: white;
}

.swiper-button-next {
    right: 0px !important;
}

.swiper-button-prev {
    left: 0px !important;
}

.navbar-toggler-icon {
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"%3E%3Cpath stroke="rgba(255, 255, 255, 1)" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E') !important;
}

.text-grey{
    color: #777777 !important;
    font-size: 15px;
}

.share-icons a{
    margin-right: 5px;
    margin-left: 5px;
}

.main-row{
    padding-top: 130px;
    padding-bottom: 130px;
}

.main-row img{
    width: 580px;
    float: inline-end;
}

.main-row p {
    font-size: 14px;
    width: 580px;

}


.navbar-brand img{
    width: 344px;
    height: 88px;
}

.nav-link {
    font-size: 12px !important;
}

.pagination-controls {
    text-align: center;
    margin-top: 20px;
}

.pagination-controls button {
    margin: 0 5px;
    background-color: white;
    color: black;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

.pagination-controls button.active {
    background-color: #fdd200;
    color: white;
}

.pagination-controls button:disabled {
    background-color: white;
    cursor: not-allowed;
}

label{
    color: #777777 ;
}

.navbar {
    transition: all 0.3s ease-in-out; /* Smooth transition for the position and appearance */
}

.navbar.fixed {
    position: fixed;
    top: -100px; /* Start off-screen */
    width: 100%;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow effect */
    animation: slideDown 0.5s ease forwards; /* Trigger the slide down animation */
}

/* Slide down animation */
@keyframes slideDown {
    from {
        top: -100px;
    }
    to {
        top: 0;
    }
}

.navbar.fixed img{
    height: 40px;
    width: 150px;
}




@media (max-width: 768px) {
    .selected-card .bg-white {
        width: 45%;
        padding: 36px 30px 36px 30px;
    }

    .main-row{
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .main-row img{
        width: initial;
        float: inline-end;
    }
    
    .main-row p {
        font-size: 14px;
        width: initial;
    
    }
}

@media (max-width: 425px) {
    .selected-card .bg-white {
        width: 100%;
        padding: 36px 30px 36px 30px;
    }
}