/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    
}


.container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Vibur', cursive;
    font-size: 2em;
    color: #666;
   }

   .fa{
     margin-left: 20px;
     color: #ffc834;
   }


   .gallery {
    --g: 6px; /* the gap */
    
    display: grid;
    width: 400px; /* the size */
    aspect-ratio: 1;
    grid: auto-flow 1fr/repeat(3,1fr);
    gap: var(--g);
  }
  .gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale();
    cursor: pointer;
    transition: .5s;
    align-items: center;
  }
  .gallery img:hover {
    filter: grayscale(0);
  }
  .gallery img:nth-child(2) {
    grid-area: 1/2/span 2/span 2;
    clip-path: polygon(0 0,100% 0,100% 100%,calc(50% + var(--g)/4) 100%,0 calc(50% - var(--g)/4))
  }
  .gallery img:nth-child(3) {
    grid-area: 2/1/span 2/span 2;
    clip-path: polygon(0 0,calc(50% - var(--g)/4) 0,100% calc(50% + var(--g)/4),100% 100%,0 100%);
  }
  



/* Global styles */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI,
        Helvetica Neue, Helvetica, Arial, sans-serif;
    color: #333;
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
}

.title {
    display: flex;
    justify-content: center;
    letter-spacing: -0.02em;
    margin: 1rem;
    font-size: 1.2rem;
}

/* Card styles */
.card {
    margin: 1rem;
    flex-basis: 45%;
    padding: 1.5rem;
    text-align: left;
    text-decoration: none;
    border: 1px solid #eaeaed;
    border-radius: 10px;
    font-size: 1.6rem;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.cardDescription {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}
.card:hover {
    border: 1px solid #333;
}

/* Grid styles */
.grid {
    margin: 5%;
}

/* Modal styles */
.glass-modal-wrapper {
    padding: 2%;
    position: relative;
    margin: 5vh auto;
    width: 30vw;
    height: 75vh;
    border: none;
    background: inherit;
    border-radius: 5px;
    z-index: 1;
}

.glass-modal-wrapper::before {
    content: "";
    background: inherit;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}



@import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900");

.content {
	position: relative;
}

.content h2 {
	color: #fff;
	font-size: 3em;
	position: absolute;
	transform: translate(-50%, -50%);
}

.content h2:nth-child(1) {
	color: transparent;
	-webkit-text-stroke: 2px #95bacf;
}

.content h2:nth-child(2) {
	color: #95bacf;
	animation: animate 4s ease-in-out infinite;
}

@keyframes animate {
	0%,
	100% {
		clip-path: polygon(
			0% 45%,
			16% 44%,
			33% 50%,
			54% 60%,
			70% 61%,
			84% 59%,
			100% 52%,
			100% 100%,
			0% 100%
		);
	}

	50% {
		clip-path: polygon(
			0% 60%,
			15% 65%,
			34% 66%,
			51% 62%,
			67% 50%,
			84% 45%,
			100% 46%,
			100% 100%,
			0% 100%
		);
	}
}

#cleaner {
    height: 20rem;
    align-items: center;
}

/* Avatar styles */
.avatar {
    border-radius: 50%;
}

/* Link styles */
a {
    text-decoration: none;
    color: black;
}

    /* Media queries
    @media only screen and (max-width: 380px) {
        * {
            font-size: 2.5rem;
        }
    } */
    #contact {
        display: none;
    }
    #contactQr {
        display: block;
    }
@media only screen and (max-width: 1254px) {
    #contact {
        display: block;
    }
    #contactQr {
        display: none;
    }
    .title {
        font-size: 1rem;
    }
    .grid {
        margin: 40px 10px;
    }

    .card {
        margin: 5px 10px;
    }

    .glass-modal-wrapper {
        margin: 0;
        width: 100vw;
        height: 100vh;
    }
}
