/* File: src/styles/index.css */    


	@font-face {
		font-family: 'htds';
		src: url("./fonts/DINPro-Bold.otf");
	}
	@font-face {
		font-family: 'htds-bold';
		src: url("./fonts/DINPro-Black.otf");
	}
	@font-face {
		font-family: 'htds-regular';
		src: url("./fonts/DINPro-Regular.otf");
	}
	@font-face {
		font-family: 'htds-light';
		src: url("./fonts/DINPro-Light.otf");
	}


	html,
	body {
		margin: 0;
		width: 100%;
		height: 100%;
		scroll-behavior: smooth;
	}

    main {font-family: htds-regular;}

    .text-work {margin-bottom: 20px; margin-right: 45%; font-family: htds-regular;}

	/********************* GRID **********************/

	 /***********    Show Design Grid    ***********/
    .gallery-projects {
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr ;
        column-gap: 10px;
        row-gap: 20px;
        box-sizing: border-box;
    }

        /***********    Show Design Grid Elements   ***********/

    /* ============================================
   LAYOUT 1 - Máx 9 filas
   ============================================ */
.gallery-projects.layout-1 {
    grid-template-areas: 
        "flamp stix fusion-clock fusion-clock"
        "akibowl seiko seiko mochiai"
        "slide iese interior-aki interior-aki"
        "eco-packaging eco-packaging liquor-bottle ramen-house"
        "orenchi ohkini ohkini art-direction"
        "uribou uribou adeu the-envelop"
        "meoto meoto minone minone"
        "slowfast hive hive lune";
}

/* ============================================
   LAYOUT 2 - Máx 9 filas
   ============================================ */
.gallery-projects.layout-2 {
    grid-template-areas: 
        "fusion-clock slowfast slowfast stix"
        "iese iese chibi ola"
        "ego bender kama kama"
        "flamp seiko mochiai slide"
        "akibowl akibowl tobo tobo"
        "interior-aki interior-aki ohkini liquor-bottle"
        "eco-packaging eco-packaging orenchi ramen-house"
        ;
}

.gallery-projects.layout-3 {
    grid-template-areas:
        "flamp-gaudi flamp-gaudi japan luo"
        "multibench red-ant denchu denchu"
        "joyn joyn sake-kagura ukiyoe"
        "flamp art-direction aki-merch aki-merch"
        "interior-aki aki-wall aki-wall gokuri"
        "interior-red-ant chocolate-box advent-calendar energy-drink"
        "javier-tles kagura kagura meoto"
}


.gallery-projects.layout-4 {
    grid-template-areas:
        "fusion-clock fusion-clock stix slowfast"
        "akibowl seiko slide slide"
        "tobo mochiai eco-packaging eco-packaging"
        "liquor-bottle ramen-house ramen-house ohkini"
        "the-envelop the-envelop iese folklore"
        "meoto minone hive lune"
        "chibi kama kama bender"
        "ego uribou uribou adeu";
}


.gallery-projects.layout-5 {
    grid-template-areas:
        "sake-kagura sake-kagura red-ant toribanya"
        "catalog-ariane catalog-ariane joyn luo"
        "flamp-gaudi japan japan denchu"
        "ukiyoe ukiyoe gokuri inkstone"
        "aki-wall interior-aki interior-aki aki-logo"
        "liquor-bottle slowfast eco-packaging eco-packaging"
        "sokko sokko bender fusion-clock"
}

/*
.gallery-projects.layout-6 {
    grid-template-areas:
        "bender bender chibi ego"
        "sokko ola hive slowfast"
        "sokko minone meoto slowfast"
        "folklore uribou the-envelop adeu"
        "bashic ohkini ramen-house liquor-bottle"
        "eco-packaging eco-packaging iese stix"
        "tobo akibowl slide mochiai"
}


.gallery-projects.layout-7 {
    grid-template-areas:
        "interior-red-ant interior-red-ant javier-tles kagura"
        "red-ant toribanya orenchi multibench"
        "catalog-ariane flamp-gaudi luo japan"
        "sake-kagura joyn ukiyoe denchu"
        "gokuri inkstone denshoku aki-wall"
        "art-direction aki-merch aki-logo interior-aki"
        "art-direction advent-calendar energy-drink chocolate-box"
}

.gallery-projects.layout-8 {
    grid-template-areas:
        "mochiai seiko flamp fusion-clock"
        "bender chibi ego fusion-clock"
        "kama sokko ola hive"
        "slowfast minone meoto folklore"
        "slowfast uribou the-envelop adeu"
        "bashic ohkini ramen-house liquor-bottle"
        "eco-packaging iese tobo akibowl"
}


.gallery-projects.layout-9 {
    grid-template-areas:
        "chocolate-box advent-calendar energy-drink interior-aki"
        "chocolate-box interior-uribou interior-red-ant javier-tles"
        "aki-logo aki-merch aki-wall art-direction"
        "denshoku inkstone gokuri denchu"
        "ukiyoe joyn sake-kagura japan"
        "luo flamp-gaudi catalog-ariane multibench"
        "orenchi toribanya red-ant o"
}


.gallery-projects.layout-10 {
    grid-template-areas:
        "slide akibowl tobo stix"
        "iese eco-packaging eco-packaging liquor-bottle"
        "ramen-house ohkini bashic liquor-bottle"
        "adeu the-envelop uribou folklore"
        "meoto meoto minone slowfast"
        "hive ola sokko kama"
        "ego chibi bender fusion-clock"
}
 */

/**************************  AWARDS ***************************/
    .award-title {
        color: #031CA6; 
        font-size: 30px; 
        font-family: htds;
    }
    .text-award {
        display: flex; 
        flex-direction: row;
    }

    .logo-award {
        height: 150px; 
        width: auto; 
        margin: 0 200px
    }

    .awards-article-img {
        display:flex ;
        flex-direction: row; 
        align-items: start; 
        gap: 50PX;
        margin: 50px 0; 
        max-height: 50vh;
        overflow: hidden;
        
    }

    .container-awards-img {
        width: 50%;
        height: 50vh;
        max-height: 50vh;
        overflow: hidden;
        border-radius: 5px;
    }
    .awards-img {
        height: auto;
        max-height: 100%;
        width: 100%;
        border-radius: 5px;
        object-fit: cover;
        object-position: center;
    }



/**************************  SERVICES ***************************/


	.section-services {
		display: flex;
        flex-wrap: wrap;
		flex-direction: row;
		align-items: start;
        justify-content: space-between;
        gap:10px;
		font-family: htds-regular;
		font-family: 18px;
        overflow: hidden;
	}

	.service-article {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 32.8%;
	}
	.service-article h1 {
		font-size: 30px;
		font-family: htds;
		padding: 15px;
		padding-top: 0;
		color: black;
		border-bottom: 1px solid #031CA6;
	}

	.container-img { 
		width: 100%;
		display: flex;
		justify-content: center;
        overflow: hidden;
		border-radius: 5px;

	}

	.service-img {
		width: 100%;
		height: 40vh;    
        object-fit: cover;
        object-position: center;
	}

	.service-article:hover h1 {
		color: #031CA6;
	}

    @media (max-width: 768px) { 
        .text-award {
            flex-direction: column;
            align-items: center;
        }

        .logo-award {
            display: none;
        }
        .awards-article-img {
            flex-direction: column;
            align-items: center;
            max-height: none;
            gap: 0px;
        }
        .container-awards-img {
            width: 100%;
            height: auto;
            max-height: none;
            margin-bottom: 20px;
        }

    .hero {height: 70vh;}
    .hero-title{font-size: 10px;font-family: htds-bold; }
    .text-work {margin-right: 10px;}
    .spbtwline {margin: 0;}
    .gallery-projects {
        grid-template-columns: 1fr 1fr;
        row-gap: 10px;
        column-gap: 5px;
    }  
    .gallery-projects.layout-1 {
        grid-template-areas: 
            "flamp flamp" 
            "akibowl stix" 
            "fusion-clock fusion-clock" 
            "mochiai eco-packaging"
            "seiko seiko" 
            "slide iese" 
            "interior-aki ohkini"
            "ramen-house ramen-house"
            "liquor-bottle orenchi"
            "uribou adeu"
            "the-envelop the-envelop"
            "meoto minone"
            "slowfast slowfast"
            "hive lune"
            "art-direction art-direction"
            ;
    }
    .gallery-projects.layout-2 {
        grid-template-areas: 
            "fusion-clock fusion-clock" 
            "slowfast slowfast" 
            "stix akibowl" 
            "iese iese" 
            "chibi ola" 
            "ego bender" 
            "kama kama" 
            "flamp seiko" 
            "mochiai slide" 
            "tobo tobo" 
            "interior-aki interior-aki" 
            "ohkini liquor-bottle" 
            "eco-packaging eco-packaging"
            "orenchi ramen-house"
            ;
    }
    .gallery-projects.layout-3 {
        grid-template-areas: 
            "flamp-gaudi flamp-gaudi"
            "japan luo"
            "multibench red-ant"
            "denchu denchu"
            "joyn joyn"
            "sake-kagura ukiyoe"
            "flamp art-direction"
            "aki-merch aki-merch"
            "interior-aki aki-wall"
            "gokuri interior-red-ant"
            "chocolate-box advent-calendar"
            "energy-drink javier-tles"
            "kagura meoto"
            ;
    }
.gallery-projects.layout-4 {
    grid-template-areas:
        "fusion-clock fusion-clock"
        "stix slowfast"
        "akibowl seiko"
        "slide slide"
        "tobo mochiai"
        "eco-packaging eco-packaging"
        "liquor-bottle ramen-house"
        "ohkini iese"
        "the-envelop the-envelop"
        "folklore uribou"
        "meoto minone"
        "hive lune"
        "chibi ego"
        "kama bender"
        "adeu adeu"
        ;
}

.gallery-projects.layout-5 {
    grid-template-areas:
        "sake-kagura sake-kagura"
        "red-ant toribanya"
        "catalog-ariane catalog-ariane"
        "joyn luo"
        "flamp-gaudi japan"
        "denchu ukiyoe"
        "gokuri inkstone"
        "aki-wall aki-logo"
        "interior-aki interior-aki"
        "liquor-bottle slowfast"
        "eco-packaging eco-packaging"
        "sokko sokko"
        "bender fusion-clock"
        ;
}

.section-services{
    flex-direction: column;
}
        .service-article {
            width: 100%;
            margin-bottom: 30px;
        }

}
     @media (max-width: 576px) {
        section {
            overflow: hidden;
        }
        .section-services {
            margin-top: 30px;
        }

     }

     
.section-title {
    margin-top: 50px;
    font-family: htds;
    font-size: 40px;
    border-top: 3px solid #031CA6;
    border-bottom: 3px solid #031CA6;
    padding: 10px;
    width: 400px;
}


.section-format {
    padding: 0 30px;
}
  
	
.container-button {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 35px 0;
}

.button-to-projects {
    font-family: htds;
    font-size: 22px;
    border-bottom: 1px solid #031CA6;
    color: #031CA6;
    padding: 5px 80px;
    text-decoration: none;
    transition: 0.3s;
}
.button-to-projects:hover{
    color: white;
    background-color: #031CA6;
}


.container-img {
  position: relative;
  width: 100%;
}


.container-img img{
  transition: transform 0.5s ease;
  will-change: transform;
}

.service-article:hover img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .button-to-projects {
    max-width: 100%;
    font-size: 16px;
  }
  .section-title {
    width: 270px;
    font-size: 24px;
  }
  .container-img {
    margin: 0 100px;
  }
          .section-format {
            padding: 0 10px;
        }
                .project {
            padding: 0;
        }
        

}



 /***********    Show Design Container Projects    ***********/
    .container-project {
      height: 40vh;
      text-decoration: none;
	  border-radius: 5px;
    }
    .container-project:hover .project {
        opacity: 1; 
    }

    /***********    Show Design Projects ***********/
  
    .project {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: start;
      padding: 0 20px;
      opacity: 0;
      transition: opacity 0.1s ease-in-out;
      background-color: rgba(0, 0, 0, 0.4);
      height: 100%;
	  border-radius: 5px;
    }
    .project * {
        border-bottom: none;
        font-family: htds;
        margin: 0;
        color: white;
        text-decoration: none;
    }
    .project h2{font-size: 32px; font-family: htds; line-height: 1;}
    .project h3{font-size: 20px; font-family: htds-light; line-height: 2;}

    @media (max-width: 410px) {
        .container-project {
            height: 30vh;
                        padding: 0;
            margin: 0;
        } 
        .project {
            padding: 0;
            margin: 0;
        }

        .gallery-projects {
            width: 100%;
        }
        .service-img {
            height: 30vh;
        }
    }