:root {
    --app-background-color: rgb(240, 240, 255);
    --app-primary-color: #24cec9;
    --app-secondary-color: rgb(200, 200, 200);
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--app-background-color);
}

@media (max-width: 768px) {
    .navbar {
        background-color: var(--app-primary-color);
        display: flex;
        align-items: center;
    }

    .navbar .nav {
        text-decoration: none;
        color: black;
        padding: 5px 10px;
        margin: 5px 7px;
        border-radius: 10px;
        transition: all 0.5s ease-out;
    }

    .navbar .nav:hover {
        background-color: rgba(0, 0, 0, 0.2);
    }

    .home-icon-item-link {
        display: flex;
        align-items: center;
    }

    .home-icon-item-link a {
        height: 45px;
    }

    .home-icon-item-link img {
        width: 45px;
        height: 45px;
    }

    main {
        margin: 25px 50px;
    }

    .flex {
        display: default;
        animation-name: start;
        animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
        animation-duration: 0.7s;
    }

    .flex-item {
        padding: 20px;
        margin: 10px 50px;
        border: var(--app-secondary-color) 2px solid;
        border-radius: 25px;
        /* transition: all ease 0.5s; */
        transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55)
    }

    .flex-item:hover {
        border: var(--app-primary-color) 2px solid;
        /* translate: 0 -10px; */
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
        transform: scale(1.1);

    }

    @keyframes start {
        from {
            opacity: 0;
            translate: 0 20px;
            
        }

        to {
            opacity: 1;
            translate: 0;
        }
    }

    .button {
        text-decoration: none;
        color: black;
        margin: 10px 15px;
        padding: 5px 10px;
        border-radius: 10px;
        background-color: var(--app-secondary-color);
        transition: all 0.5s ease-out;
    }

    .center {
        text-align: center;
    }

    .content .button:hover {
        background-color: var(--app-primary-color);
    }

    iframe {
        width: 100vh;
    }

    /* Blog */

    .blog {
        display: grid;
        grid-template-columns: auto auto;
    }

    .blog-text {
        background-color: rgba(240, 240, 255, 0.6);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        align-items: center;
        padding: 25px;
    }

    .blog-image {
        padding: 0;
        margin: 0;
    }

    .img-1 {
        background-image: url(images/img_01.jpg);
        background-size:cover;
        background-attachment:fixed;
    }

    .questions {
        margin: 25px 50px;
    }

    .question {
        color: black;
        text-decoration: none;
        font-size: 24px;
        transition: ease 0.3s;
    }

    .question:hover {
        text-decoration: underline;
        background-color: transparent;
    }
    li{
        margin: 20px 0;
    }

    table {
        margin: 0 auto;
        width: 75%;
        table-layout: fixed;
        border: 3px solid rgb(0, 0, 0);
    }

    thead th:nth-child(1) {
        width: 30%;
    }

    thead th:nth-child(2) {
        width: 20%;
    }

    thead th:nth-child(3) {
        width: 15%;
    }

    thead th:nth-child(4) {
        width: 35%;
    }

    th, td {
        padding: 10px;
    }


    /* FOOTER */

    footer {
        background-color: rgb(50, 50, 50);
        color: white;
        margin-top: auto;
        display: flex;
        justify-content: space-around;
    }

    /* footer div {
        display: flex;
        justify-content: space-around;
    } */

    footer h1 p {
        margin: 0;
    }

    footer .info {
        padding: 20px;
        width: 30%;
    }

    .info span {
        color: var(--app-primary-color);
    }

    footer .link {
        padding: 20px;
        width: 35%;
    }

    footer a {
        color: white;
        text-decoration: none;
        transition: border 0.5s;
    }

    footer a:hover {
        border-bottom: var(--app-primary-color) 1px solid;
    }
}