@import url("./breadcrumb.css");
@import url("./blog-card.css");
@import url('./animation.css');
@import url('./fonts.css');

:root {
    --theme-color: #0D5EF4;
    --theme-color2: #F20F10;
    --title-color: #0F2239;
    --body-color: #4D5765;
    --smoke-color: #F3F7FB;
    --black-color: #000000;
    --white-color: #ffffff;
    --light-color: #72849B;
    --yellow-color: #FFB539;
    --success-color: #28a745;
    --error-color: #dc3545;
    --border-color: #ecf1f9;
    --title-font: 'Poppins', sans-serif;
    --body-font: 'Roboto', sans-serif;
    --icon-font: "Font Awesome 6 Pro";
}

* {
    font-family: var(--title-font);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a:not([href]) {
    cursor: default;
}

body {
    overflow-x: hidden;
}

p {
    font-family: var(--body-font);
}

blockquote::before {
    content: '"';
    position: absolute;
    right: 40px;
    font-family: var(--icon-font);
    bottom: 40px;
    font-size: 6rem;
    font-weight: 600;
    opacity: 1;
    line-height: 3.8rem;
    color: rgba(13, 94, 244, 0.1);
    font-style: normal;
}

blockquote {
    font-size: 20px;
    line-height: 1.56;
    padding: 40px 40px 40px 40px;
    font-weight: 400;
    display: block;
    position: relative;
    background-color: var(--smoke-color);
    overflow: hidden;
    color: var(--title-color);
    font-style: italic;
    border-left: 3px solid var(--theme-color);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

blockquote cite::before {
    content: "";
    height: 2px;
    width: 40px;
    position: absolute;
    background-color: var(--theme-color);
    left: -5.5%;
    top: 50%;
    transform: translateY(-50%);
}

blockquote cite {
    font-size: 22px;
    line-height: 1;
    font-weight: 600;
    font-style: normal;
    font-family: var(--title-font);
    margin-left: 5rem;
    position: relative;
}

.button {
    position: relative;
    z-index: 2;
    overflow: hidden;
    vertical-align: middle;
    display: inline-block;
    border: none;
    text-transform: uppercase;
    text-align: center;
    color: var(--white-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 20.5px 29px;
    background-color: var(--white-color);
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.button--primary {
    box-shadow: 0px 6px 16px var(--theme-color);
}

.button--danger {
    box-shadow: 0px 6px 16px var(--error-color);
}

.button--primary::before,
.button--primary::after {
    background-color: var(--theme-color);
}

.button--danger::before,
.button--danger::after {
    background-color: var(--error-color);
}

.button::before,
.button::after {
    content: "";
    position: absolute;
    width: 60%;
    height: 110%;
    transition: 0.4s cubic-bezier(0.2, 0.77, 0.53, 0.59);
    z-index: -1;
}

.button::before {
    left: 0%;
}

.button::after {
    right: 0;
}

#rmmc-background-image {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    width: 100%;
}

@media screen and (orientation: landscape) {
    .button:hover {
        color: var(--black-color);
    }
    
    .button:hover::before {
        transform: translateX(-100%);
    }
    
    .button:hover::after {
        transform: translateX(110%);
    }
}

@media screen and (orientation: portrait) {
    #rmmc-background-image {
        display: none;
    }
    
    .button:focus {
        color: var(--black-color);
    }
    
    .button:focus::before {
        transform: translateX(-100%);
    }
    
    .button:focus::after {
        transform: translateX(110%);
    }

}