* {
  box-sizing: border-box;
}
html, body { 
    margin: 0;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    background-color: black;
    font-family: Sora;
    scroll-behavior: smooth;
}
a, p, h1, h2, h3 {
    color: aliceblue;
}
.flex{
    display: flex;
    margin: auto;
}
.spacer{
    display: flex;
    width: 100%;
    height: 25px;
}


/* HEADER */
#header-box{
    z-index: 2;
    position: fixed;
    top: 0;
    width: 100%;
    padding: 22px 0 22px 0;
    justify-content: space-between;
}
#logo{
    width: 150px;
    height: 50px;
    background: url(../svg/logo-fill.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 50px;
    transition: 0.3s;
}
#logo:hover{
    width: 150px;
    height: 50px;
    background: url(../svg/logo-stroke.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 50px;
}
#socials{
    width: 100px;
    height: 50px;
    margin-right: 50px;
}
.icon-socials{
    width: 25px;
    transition: 0.3s;
}
.icon-socials:hover{
    opacity: 50%;
}


/* MAIN SECTION */
#art-box{
    width: 100%;
    height: 75vh;
    background-image: url(../img/background-desktop.gif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; 
}
#button-box{
    height: 25vh;
    justify-content: center;
    align-items: center;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border: 0;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    transition: all 0.02s;
    font-family: Sora, sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    color: rgb(37, 37, 37);
    z-index: 0;
    box-shadow: 0 0px 7px -5px rgba(0, 0, 0, 0.5);
}
.button:hover {
    background: rgb(193, 228, 248);
    color: rgb(33, 0, 85);
    cursor: pointer;
}
.button:active {
  transform: scale(0.97);
}
.hoverEffect {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.hoverEffect div {
  background: rgb(222,0,75);
  background: linear-gradient(90deg, rgba(222,0,75,1) 0%, rgba(191,70,255,1) 49%, rgba(0,212,255,1) 100%);
  border-radius: 40rem;
  width: 10rem;
  height: 10rem;
  transition: 0.4s;
  filter: blur(20px);
  animation: effect infinite 3s linear;
  opacity: 0.5;
}
.button:hover .hoverEffect div {
  width: 8rem;
  height: 8rem;
}
@keyframes effect {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


/* CLIENTS */
.collabs{
    font-size: 15px;
    font-weight: 300;
    color: aliceblue;
    width: 100%;
    display: flex;
    justify-content: center;
    border-radius: 1rem;
    padding-bottom: 20px;
}
#client-box {
    justify-content: center;
    padding: 0 25px 10px 25px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 5px;
  margin-inline: auto;
}
.grid div {
  aspect-ratio: 1/1;
/*  overflow: auto;*/
  background-color: #101010;
  display: flex;
}
.clients-logos{
    width: 100%;
    margin: auto;
}
.clients-logos:hover{
    background-color: black;
    transition: all 0.4s ease-out;
    cursor: pointer;
}


/* PROJECTS GALLERY */
#projects-box {
    justify-content: center;
    padding: 0 25px 10px 25px;
}
.projects-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.projects-container img {
    max-width: 50%;
    padding: 4px;
    vertical-align: middle;
    width: 100%;
}


/* FOOTER */
#footer-box{
    width: 100%;
    padding: 50px 0 50px 0;
    background-color: #101010;
    justify-content: center;
}
#signature{
    width: 125px;
    height: 50px;
    background: url(../svg/logo-fill.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin: auto;
}
#copyright {
    margin: 0;
    padding-bottom: 10px;
    font-size: 12px;
}


/*RESPONSIVE*/
@media only screen and (max-width: 768px) {
  /* For mobile phones: */
    #art-box{
        background-image: url(../img/background-mobile.gif);
        height: 60vh;
    }
    #button-box{
        height: auto;
        margin-bottom: 50px;
    }
    #logo{
        width: 150px;
        height: 40px;
        margin-left: 30px;
    }
    #socials{
        width: 80px;
        height: 40px;
        margin-right: 25px;
    }
    .icon-socials{
        width: 22px;
    }
    .main-btn {
        font-size: 1em;
    }
    #client-box, #projects-box {
        justify-content: center;
        padding: 0px 15px;
    }
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    .projects-container img {
        max-width: 100%;
    }
    #copyright {
        font-size: 11px;
    }
}