* {
    text-decoration: none;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

h1 {
    font-size: 2em;
    font-weight: bold;
    margin-left: 9.4%;
    color: white;
}

h2 {
    animation: leftSlider 0.3s ease-in-out;
}

a {
    margin: 0 25px;
    color: white;
}

.logo-acse {
    margin-left: 9.4%;
    width: 13%;
}

.navbar {
    z-index: 1;
    position: fixed;
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 8.5vh;
    background-color: #134564;
    align-items: center;
}

.navbar-right {
    margin-right: 50px;
    position: absolute;
    right: 0;
}

.navbar-right.active a {
    color: red;
    font-weight: 600;
}

.menu-hamburger {
    display: none;
}

.search-container {
    position: absolute;
    margin-top: 17vh;
    margin-left: 50%;
    transform: translateX(-50%);
    border-color: #134564;
    color: black;
    height: 6vh;
    width: 70vw;
    padding: 0 2vw 0 2vw;
    border-radius: 5px;
    animation: topSlider .4s ease-in-out;
}

.card-container {
    display: flex;
    flex-direction: column;
    margin-left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    width: 80vw;
    margin-top: 26vh;
}

.card {
    display: flex;
    flex-direction: row;
}

.c-container {
    display: grid;
    grid-template-columns: 1fr;
}

.card-data {
    box-shadow: 0 15px 20px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    background-color: #134564;
    margin: 15px;
    padding: 15px;
    animation: fadeIn 0.5s ease-in-out;
}

.card-data:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    transform: scale(1.05);
}

.phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
}

button {
    border-color: transparent;
    font-size: medium;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }  
}

@keyframes topSlider {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-4vh);
    }
    to {
        opacity: 1;
    }
}

@keyframes leftSlider {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 16px;
        margin-left: 30px;
    }

    a {
        color: black;
        margin-bottom: 35px;
    }

    .navbar-right.mobile-menu {
        margin-right: 0;
    }

    .navbar-right {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.2);
        justify-content: center;
        backdrop-filter: blur(7px);
        margin-right: -65%;
        transition: all 0.5s ease;
    }

    .menu-hamburger {
        display: block;
        position: absolute;
        width: 35px;
        right: 30px;
    }
}

@media screen and (min-width: 640px) {
    .c-container {
        grid-template-columns: 1fr 1fr;
    }

    .logo-acse {
        width: 9%;
    }
}

@media screen and (min-width: 1300px) {
    .logo-acse {
        width: 47px;
    }
}

@media screen and (min-width: 1536px) {
    .search-container {
        font-size: 1em;
    }
    .c-container {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .logo-acse {
        width: 65px;
    }
}

@media screen and (min-width: 2560px) {
    .c-container {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

