@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*{
font-family: 'Roboto', sans-serif;
}


:root{
    --bg-color:#f6f8fa;

    --button-color:#345df1;
    --button-color-hover: #1236b6;
    --inactive-button-color: #4e4e4e;
}

body{
    background-color: var(--bg-color);
}


/* "inactive" ID'sine sahip button */
#inactive {
    background: grey;
    cursor: not-allowed;
    pointer-events: none; /* Disable button functionality */
    text-decoration: line-through 2px white;
}

/* Animasyonu devre dışı bırak */
#inactive .svg-icon {
    animation: none;
}


/*Header*/

header form .search{
    height: 45px;
    width: 250px;
    border-radius: 25px;
}

/*Header*/


/* Dropdown animasyonu */
.dropdown-menu {
    display: none;
    opacity: 0;
    transform: translateY(-200px);
    transition: all 0.7s ease-in-out;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}





/*Button*/

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 9px 12px;
    gap: 8px;
    height: 45px;
    width: 170px;
    border: none;
    background: var(--button-color);
    border-radius: 25px;
    cursor: pointer;
}

.label {
    line-height: 22px;
    font-size: 17px;
    color: #fff;
    letter-spacing: 1px;
}

.button:hover {
    background: var(--button-color-hover);
}

.button:hover .svg-icon {
    animation: slope 1s linear infinite;
}

@keyframes slope {
    0% {
    }

    50% {
        transform: rotate(10deg);
    }

    100% {
    }
}

/*Button*/

/* Card */
.Calendar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.card {
    position: relative;
    width: 335px;
    height: 230px;
    background-color: #f2f2f2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
    box-shadow: 0 0 0 5px #ffffff80;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: solid 2px var(--button-color-hover);
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.card__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: #f2f2f2;
    transform: rotateX(-90deg);
    transform-origin: bottom;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .card__content {
    transform: rotateX(0deg);
}

.card__title {
    margin: 0;
    font-size: 24px;
    color: #333;
    font-weight: 700;
}

.card:hover svg {
    scale: 0;
}

.card__description {
    margin: 10px 0 0;
    font-size: 14px;
    color: #777;
    line-height: 1.4;
}

.Card-Clocks {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 15px;
}

/* Card Button */
.CardBtn {
    width: 140px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background-color: var(--button-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition-duration: 0.5s;
    overflow: hidden;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.103);
    position: relative;
}

.IconContainer {
    color: white;
    font-weight: 800;
    position: absolute;
    left: -50px;
    width: 25px;
    height: 25px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
    transition-duration: 0.5s;
}

.text {
    margin-top: 15px;
    height: 100%;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1;
    transition-duration: 0.5s;
    font-size: 16px;
    font-weight: 600;
}

.CardBtn:hover .IconContainer {
    transform: translateX(58px);
    border-radius: 40px;
    transition-duration: 0.5s;
}

.CardBtn:hover .text {
    transform: translate(7px, 0px);
    transition-duration: 0.5s;
}

.CardBtn:active {
    transform: scale(0.95);
    transition-duration: 0.5s;
}

/* Modal */
.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
}

.modal-header {
    border-bottom: none;
}

.modal-footer {
    border-top: none;
}



.noSignInButton{
    padding: 9px 12px;
    height: 45px;
    width: 170px;
    background: var(--button-color);
    border-radius: 25px;



    border: none;
    color: white;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s, width 0.3s;
    width: 50px;
    overflow: hidden;
    white-space: nowrap;

}

.noSignInButton i {
    transition: margin-right 0.3s;
}

.noSignInButton .noSignInButton-text {
    margin-left: 10px;
    opacity: 0;
    transition: opacity 0.3s;
    width: 0;
    overflow: hidden;
}


.noSignInButton:hover{
    background-color: var(--button-color-hover);
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 150px;
}

.noSignInButton:hover i{
    margin-right: 10px;
}

.noSignInButton .noSignInButton-text {
    opacity: 1;
    width: auto;

}