@font-face {
    font-family: "TT2020_REG";
    src: url(../fonts/Tt2020StyleB-axYBg.ttf)format("woff2");
}


body {
    font-family: "TT2020_REG";
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: white;
    background-image: url(../images/background.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-size: 18px;
}

  
.cover_lang {
    height: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    
}

main {
    flex-grow: 1;
}

.warning_lang {
    color: red;
    font-weight: bold;
}

.work_bg {
    background-color: rgba(46, 48, 51, 0.8);
    border-radius: 4px;
    padding: 10px;
}


/* 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);
}

.navbtn {
    border: none;
    color: black;
    text-align: center;
    margin: 2px 2px;
    transition: 0.2s;
}

.navbtn:hover {
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    border-radius: 10px;
}
