/*
Theme Name: Alma Child
Description: Child theme for the Alma Theme
Author: PauloMoreira
Template: alma
Version: 1.0
*/

@keyframes expand {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3)
    }

    to {
        opacity: 1
    }
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

g#Layer_2 {
    opacity: 0;
    transform-origin: center;
    animation: fadein 0.8s forwards;
    animation-delay: 3s;
}

g#D {
    transform: scaleX(0);
    transform-origin: center;
    animation: expand 0.5s forwards;
    animation-delay: 1.5s;
}

g#G {
    transform: scaleX(0);
    transform-origin: center;
    animation: expand 0.5s forwards;
    animation-delay: 2s;
}

g#O {
    transform: scaleX(0);
    transform-origin: center;
    animation: expand 0.5s forwards;
    animation-delay: 2.5s;
}


.modal.fade .modal-dialog {
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    -o-transform: translate(0, -25%);
    transform: translate(0, -25%);
    -webkit-transition: -webkit-transform 0.3s ease-out;
    -moz-transition: -moz-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
}

.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
}

.modal-content {
    position: relative;
    background: linear-gradient(to bottom, #030303 0%, #392c62 100%);
    border: 1px solid #392c62;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
    outline: 0;
    padding: 30px;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
    filter: alpha(opacity=0);
}

.modal-backdrop.in {
    opacity: 0.5;
    filter: alpha(opacity=50);
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #030303;
}

.modal-header .close {
    outline: none;
    border: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' class='bi bi-x-lg' viewBox='0 0 16 16'%3E%3Cpath d='M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
}

.modal-header .close:hover {
    background-color: rgb(255, 31, 131);
    border-radius: 4px;
}

.modal-title {
    margin: 0;
    line-height: 1.42857143;
}

.modal-body {
    position: relative;
    padding: 15px;
}

.modal-body p {
    font-size: 18px;
}

.modal-body * {
    color: white;
}

.modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

.modal-footer .btn + .btn {
    margin-left: 5px;
    margin-bottom: 0;
}

.modal-footer .btn-group .btn + .btn {
    margin-left: -1px;
}

.modal-footer .btn-block + .btn-block {
    margin-left: 0;
}

.modal-dialog {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
}

.modal-title {
    font-family: "Montserrat", sans-serif;
    color: white;
    margin-bottom: 0;
}

#blog_posts h2 {
    font-weight: 400 !important;
    letter-spacing: normal !important;
}

@media (max-width:480px) {
    .modal .close {
        background-color: transparent;
    }

    .modal-body p {
        font-size: 16px;
    }
    
    .modal-body {
        max-height: 500px;
        overflow-y: auto;
    }
}
