@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

/* Animations */

.floatup {
    vertical-align: middle;
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    transition-duration: 0.3s;
    transition-property: transform;
    transition-timing-function: ease-out;
}

.floatup:hover,
.floatup:focus,
.floatup:active {
    transform: translateY(-8px);
}

.grow {
    display: inline-block;
    vertical-align: middle;
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    transition-duration: 0.3s;
    transition-property: transform;
}

.grow:hover,
.grow:focus,
.grow:active {
    transform: scale(1.025);
}

.growbigger {
    display: inline-block;
    vertical-align: middle;
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    transition-duration: 0.3s;
    transition-property: transform;
}

.growbigger:hover,
.growbigger:focus,
.growbigger:active {
    transform: scale(1.06);
}

/* - */

.links:hover {
    color: green;
}

a {
    color: white;
}

a:hover {
    color: green;
}

body {
    background-color: #005063;
    color: white;
    font-family: 'Roboto', sans-serif;
}

/*Scroll to top*/
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: darkgrey;
    color: black;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
}

#myBtn:hover {
    background-color: #555;
}

/*-*/

/*Card hover effect*/
.card {
    background-color: rgba(255, 255, 255, 0.02);
    height: 260px;
    width: 300px;
    border-radius: 10px;
    position: relative;
}

#cards {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% - 20px);
    gap: 8px;
}

.card:hover::before {
    opacity: 0.1;
}

#cards:hover > .card > .card {
    opacity: 1;
}

.card::before,
.card>.card-border {
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.6),
            transparent 40%);
    border-radius: inherit;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0px;
    z-index: 2;
    opacity: 0;
    transition: opacity 500ms;
}

.card::before {
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.6),
            transparent 40%);
    z-index: 3;
}

.card>.card-content {
    background-color: rgba(23, 23, 23, 0.1);
    border-radius: inherit;
    margin: 1px;
    height: calc(100% - 2px);
    width: calc(100% - 2px);
    z-index: 2;
    position: relative;
}

.card>.card-border {
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.6),
            transparent 40%);
    z-index: 1;
}

/*-*/