@import "tailwindcss";
@font-face {
    font-family: "Kalvika";
    src: url("./fonts/klavika-light.otf");
}

body {
    font-family: "Kalvika";
}

.fi {
    position: relative;
    top: 3px;
}

.logo {
    position: relative;
    width: 70px;
}

.main-menu li a {
    transition: all .4s;
}

.main-menu li:hover a {
    color: #747474;
}

.text {
    flex: 2;
}

.service-card {
    margin-top: 10px;
    padding: 10px;
    border: 1px dashed #fff;
    transition: all .4s;
}

.service-card:hover {
    transform: scale(.95);
}

.service-card img {
    width: 80px;
    filter: invert(1);
}

.service-card.service-card.bg-white {
    border: 1px dashed #333;
}

.service-card.bg-white img {
    filter: invert(0);
}

.slider-container {
    height: 500px;
}

.slider-container .slider {
    width: 10%;
    background-color: red;
    position: relative;
    transition: all .5s;
}

.slider-container .slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

.slider-container .slider:first-child {
    width: 100%;
    background: url('../src/imgs/ct.png');
    background-position: center;
    background-size: cover;
}

.slider-text {
    position: relative;
    z-index: 1000000000000;
    color: #fff;
    background: rgba(155, 155, 155, .1);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 10px;
}

.slider-text p {
    opacity: 0;
}

.slider-container .slider:hover {
    width: 100%;
}

.imaging {
    height: 350px;
}

.chison-img {
    top: -40px;
    width: 500px;
}

@media (max-width:600px) {
    .imaging {
        height: auto;
    }
}

.edan-img {
    display: block;
    width: 380px;
    margin: 0 auto;
}

.main-menu li a {
    position: relative;
    transition: all .5s;
}

.main-menu li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: teal;
    transform: scale(0);
    transition: all .2s ease-in;
}

.main-menu li a:hover::before {
    transform: scale(1);
}

.newsletter {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(0, 85, 85);
    color: #fff;
    height: 300px;
    padding: 0 10px;
    background: url('../src/imgs/2.jpg');
    background-attachment: fixed;
    position: relative;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
}

.search-area {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, .1);
    backdrop-filter: blur(4px);
    border: 1px dashed #fff;
}

.search-area input {
    margin: 0 10px;
    flex: 1;
    border: none;
    outline: none;
}

.search-area:focus {
    outline: none;
    border: none;
}

header {
    position: relative;
    background: linear-gradient(to right, #fffefe 50%, white 50%);
}