* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    width: 100vw;
    height: auto;
    margin: 0;
    padding: 0;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

.head div {
    display: flex;
    gap: 20px;
}

p,
a,
h1 {
    color: white !important;
}

h1 {
    margin-top: unset;
}

.testo {
    text-align: center;
    width: 500px;
    line-height: 1.2;

    display: flex;
    flex-direction: column;
}

.gif {
    width: 100%;
    display: block;
}

.grid {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.grid p {
    padding-top: 0;
  margin-top: 0;
  line-height: 1.2;
    padding-right: 5px;
padding-bottom: 50px
}

.grid h1 {
    padding-top: 0;
    margin-top: -6px;
}

video {
    width: 100%;
}

.logo{
    filter: invert();
    position: fixed;
    bottom: 0;
}

@media (max-width: 960px) {

    .testo {
        text-align: center;
        width: 60%;
    }
}

@media (max-width: 960px) {
    .grid {
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }
}

[x-cloak] {
    display: none !important;
}

.lang {
    color: white;
}

.lang a {
    text-decoration: underline;
}

.lang a.active {
    text-decoration: none;
    opacity: 0.5;
}

.grid .about {
    grid-column: span 2;
}
