@font-face {
    font-family: 'IranSans';
    /*font-weight: 200;*/
    src: url('../fonts/IRANSansWeb(FaNum).woff2') format('woff');
}
*{
    font-family: IranSans, serif;
    box-sizing:border-box;
}
a{
    text-decoration: none;
    cursor: pointer;
}
input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
    margin: 0;
}

.mySlides {display: none}

.slideshow-container {
    max-width: 1100px;
    position: relative;
    margin: auto;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    left: 10px;
    border-radius: 3px 0 0 3px;
}
.prev {
    right: 10px;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}


/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}
.mySlides img{
    border-radius: 25px;
}
/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: var(--bs-blue);
}

/* Fading animation */
.slider-fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}
.slider-fade img{
    border-radius: 1em;
}
@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}
.slider-caption{
    text-align: center;
    color: white;
    margin-top: 10px;
}
.intro{
    padding-top: 3.5%;
    padding-bottom: 2%;
    background-image: url('../img/header-bg.jpg');
}




/*Made by Chat GPT*/
/* Reset styles for the link */
.ef-link {
    text-align: center;
    font-size: 200%;
    color: #000;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

/* Add a pseudo-element for the underline */
.ef-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 5px;
    opacity: 0.8;
    rotate: -1.8deg;
    background-color: #ff9100;
    transition: all 0.3s ease-in-out;
}

/* Animate the underline */
.ef-link:hover::after {
    width: 100%;
}

@keyframes underline {
    0% {
        width: 0;
    }
    80% {
        width: 100%;
    }
    95% {
        width: 100%;
    }
    100% {
        width: 0;
        animation-delay: 0.4s;
    }
}

/* Loop the animation */
.ef-link::after {
    animation: underline 1s infinite;
}