*{
    margin:0;
    padding:0;

    font-family: Inter;
}

*, *::after, *::before {
    box-sizing: border-box;
}


img{
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

p, a {
    font-size: 18px;
}

a {
    text-decoration: none;
    color: black;
}

h2{
    font-size: calc(1rem + 2vw);
}

spline-viewer {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    animation: fadeInSimple 1.5s ease-in forwards;
    animation-delay: 1s;
    opacity: 0;
}

#logo {
    display: none;
}

main {
    margin-bottom: 10vw;
}

main #banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    min-height: 400px;
}

#title {
    overflow: hidden;
    width: 80%;
}

main #banner h1 {
    text-align: center;
    font-size: calc(3rem + 3vw);
    animation: fadeIn 1s;
}

main #banner p {
    animation: fadeInSimple 0.3s ease-in forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

main #banner a {
    animation: fadeInSimple 0.3s ease-in forwards;
    opacity: 0;
    animation-delay: 1s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(calc(3rem + 3vw));
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

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

main #banner p {
    font-size: 25px;
    margin: 10px 0;
}

.btn svg {
    transform: translateX(0);
    transition: transform 0.2s ease-in-out;
}

.btn:hover svg {
    transform: translateX(3px);
}

#meteo-section, #city-section {
    padding: 2.5%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#meteo-section{
    border-bottom: #EFEFEF solid 1px;
    border-top: #EFEFEF solid 1px;
    background-color: rgb(245, 245, 245)
}



#meteo-section-text, #city-section-text{
    display: flex;
    flex-direction: column;
    gap: 5%;
    width: 40%;
    line-height: 1.6;
}

#city-section-text h2 {
    width:80%;
}

#meteo-section-text p, #city-section-text p {
    margin-top: 5%;
}

#meteo-section-text a{
    margin-top: 5%;
}

#city-section-text a{
    margin-top: 5%;
}

#meteo-section-img img, #city-section-img img{
    height: 40vh;
    object-fit: contain;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    main #banner p {
        margin-bottom: calc((768px - 100vw)/7);
        margin-top: calc((768px - 100vw)/20)
    }

    main #banner h1 {
        font-size: calc(2rem + 5vw);
        text-align: center;
    }

    main #banner p, main #banner a {
        font-size: 16px;
    }

    #meteo-section, #city-section {
        flex-direction: column;
        padding: 10% 0;
        margin-bottom: 10%;
    }

    #meteo-section-text, #city-section-text{
        width: 80%;
        margin-bottom: 10%;
    }

    h2{
        font-size: 32px;
    }
}

@media (max-width: 370px) {

    main #banner h1 {
        font-size: calc(2.5rem);
        animation: fadeIn 1s;
    }
}