@font-face {
    font-family: "MyriadPro-SemiBold";
    src: url(fonts/MYRIADPRO-BOLDSEMIEXT.otf);
}

@font-face {
    font-family: "MyriadPro-Regular";
    src: url(fonts/MYRIADPRO-REGULAR.otf);
}

:root {
    --font-header-base: 'loos-normal', sans-serif;
    --font-paragraph: 'MyriadPro-Regular';
    --font-paragraph-bold: 'MyriadPro-SemiBold';
    --color-black: black;
    --color-white: white;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;    
}

html {
    overflow-x: hidden;
    font-size: 10px;
}

body {
    background-color: white;
}

header {
    width: 100vw;
    height: auto;    
    display: flex;
    flex-direction: column;
}

section {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0 0 5rem 0;
}

.section-header {
    width: 100%;
    text-align: center;
    font-family: var(--font-header-base);
    font-size: 3rem;            
}

.section-header a {
    font-size: 2.5rem;
    text-decoration: none;
    color: black;
}


/* HAM-MENU - start*/
.hamburger-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: transparent;
    z-index: -1;
    transition: all 2s;
}

.hamburger-menu.active-menu {
    z-index: 100;
    transition: all .5s;
}

.menu-box {
    transform: translateX(-100%);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 40%;  
    background-color: rgba(255,255,255, .9);  
    transition: all 1s;
}
.menu-box.active-menu-box{
    transform: translateX(0);
    transition: all 1s;
}

.ham-menu-close {
    width: 100%;
    text-align: right;
    padding: 2rem;    
}

.ham-menu-close img {
    height: 40px;
    width: 40px;
    cursor: pointer;
}

.menu-content {
    width: 100%;    
}
.menu-content a {
    cursor: pointer;
}
.menu-item {
    font-family: var(--font-header-base);
    font-size: 2.8rem;
    font-weight: 800;
    padding: 1rem 4rem;
    border-bottom: var(--color-black) solid 2px;
}

.menu-item a {
    text-decoration: none;
    color: var(--color-black);
}

.menu-item img {
    height: 70%;
    width: 50px;
    object-fit: cover;
    margin-right: 1rem;
}
.menu-box .ham-menu-banner {    
    height: 40%;
    width: 100%;
    text-align: center;  
    margin: 3rem;  
}

.ham-menu-banner img {
    height: 100%;
    object-fit: cover;
}
/* HAM-MENU end*/

/* ALERT - start */
.notifi {
    position: fixed;
    right: 2rem;
    top: 2rem;
    width: auto;
    height: auto;    
    font-family: var(--font-paragraph);
    color: var(--color-white);
    padding: 2rem 4rem;
    font-size: 1.2rem;
    z-index: 100;
}

.notifi-success {
    background-color: forestgreen;
}

.notifi-error {
    background-color: orangered;
}
/* ALERT - end*/

/* BANNER - header items */
nav {
    position: relative;
    top: -120px;
    width: 100%;
    height: 120px;
    display: flex;
    justify-self: center;
    align-items: center;
    padding: 3rem 15rem;      
}

.nav-animation {
    transform: translateY(120px);
    transition-delay: 1s;
    transition: transform 2s ease-in;
}

.nav-menu {
    width: 100%;
    height: 100%;    
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.menu-bar-ico {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.menu-logo-ico {
    height: 150%;
}

.menu-social-ico > * {
    padding: 1.5rem;
    cursor: pointer;
}

.banner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 3rem;
    
    width: 100%;
    height: auto;
    overflow: hidden;
    z-index: 5;
}

.banner img {
    position: relative;
    width: 70%;
    height: 70vh;
    object-fit: contain;
    margin-bottom: 3rem;
    padding-left: 7rem;
    padding-right: 15rem;
    transform: translateY(110%);
}

.banner-img-animation {
    transform: translateY(0%);
    z-index: 5;
    transition-delay: 1s;
    transition: all 2s ease-in;
}

.banner-footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 4rem 0;
    font-family: var(--font-header-base);
    z-index: 10;
}

.banner-footer h1 {
    padding: 0 2rem;    
    font-size: 4rem;    
}

.banner-footer h1:not(:last-child) {
    border-right: var(--color-white) solid 4px;
}

.banner-footer-row {
    display: flex;
    flex-direction: row;
    padding: 1rem 0;
}
/* BANNER - header items end */

/* REFERENCE - start */
.section-reference {
    margin-top: 5rem;
}
.reference-box {
    margin: 0 0 4rem 0;
}
.reference-box > * {
    margin: 2rem;
    width: 160px;
}
/* REFERENCE - end */

/* ABOUT - start */

.about-content {
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 3rem;
    position: relative;
}

.about-content-box {
    font-family: var(--font-paragraph);
    font-size: 1.8rem;
    margin-right: 2rem;
    text-align: justify;       
}

p > strong {
    font-family: var(--font-paragraph-bold);
}

.about-content-box p {
    margin-bottom: 5rem;
    line-height: 1.3;
}
.logo-img-box {
    width: 100%;
    text-align: center;
}
.logo-img-box img {
    width: 300px;     
}
.about-content .about-logo-pic {
    width: 100%;
}

.about-img-box {
    position:relative;
    width: 100%;
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 90%;
    bottom: 0;
    left: 0;
    position: absolute;
    background-color: #e2e2e2;
    padding: 2rem 2rem 0 2rem;
    border-radius: 4rem;
}

.about-img img {
    position: absolute;
    height: 110%;
    left: 25%;
    bottom: 0;
    transform: translateY(130%);
    transition: transform 2s ease-in;
}

.about-img-animation {
    transform: translateY(0);    
}

/* ABOUT - end */

/* PORTFOLIO - start*/
.portfolio-box,
.portfolio-action {
    width: 90%;
    text-align: center;
    margin: 2rem 0;
}

.portfolio-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    grid-gap: .4rem;
}

.portfolio-item-active {
    display: initial;
    opacity: 1;
    transition: opacity 1s ease-in;
}
.portfolio-item-deactive {
    display: none;
    opacity: 0;
}

.portfolio-box img {
    width: 100%;    
}

.collapsed {    
    object-fit: contain;
    cursor: pointer;
}
/* PORTFOLIO - end*/

/* INSTAGRAM - start */

.instagram-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr 1fr;
    grid-gap: .4rem;
    margin: 0 10rem;
}

.instagram-list img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
}

/* INSTAGRAM - end*/

/* EMAIL FORM - start */
.email-form-box {
    width: 80%;     
}
.form-row {
    display: flex;
    flex-direction: row;    
}

.form-row > .form-item {
    width: 100%;
}

.form-row .form-item:not(:last-child) {
    margin-right: 1rem;
}
.form-item input,
.form-item textarea {
    width: 100%;  
    padding: 1rem 2rem;  
    margin: 1rem;
    border: var(--color-black) solid 2px;
    border-radius: .5rem;
    font-family: var(--font-paragraph);
    font-size: 2rem;
}

.form-item label {
    font-size: 2rem;
    font-family: var(--font-paragraph); 
    width: fit-content; 
    margin: 1rem;  
}

.form-item textarea {
    resize: none;
    height: 150px;
}

.form-item button {
    border: none;
    background-color: var(--color-black);
    font-family: var(--font-header-base);
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: .5rem;
    margin: 1rem;
    cursor: pointer;   
}

/* EMAIL FORM - end */

.studio-logo-box {
    position: relative;
    width: 100%;
    text-align: center;
    padding-bottom: 4rem;
    overflow: hidden;
}
.img-studio-logo {
    margin: auto;
    width: 40%;
    transform: translateY(120%);
}

.img-studio-logo-animation {
    transform: translateY(0);
    transition: transform 2s ease-in;
}

/* FOOTER - start */
footer {
    position: relative;
    width: 100vw;
    height: auto;
    background-color: var(--color-black);
    z-index: 25;
    padding: 4rem 0;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    color: var(--color-white);
    font-family: var(--font-paragraph);
    height: 100%;
    width: 100%;
    margin-bottom: 2rem;
}

.footer-logo {
    width: 20%;
}

.footer-content address {    
    font-size: 1.8rem;
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
}

address span {
    text-decoration: none;
}

.footer-content address > * {
    margin: .2rem;
}

.footer-social-ico img {
    margin: 1rem;      
    height: 50px; 
    cursor: pointer;
}

.footer-develop-info {
    width: 100vw;
    display: flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding: 2rem 0;
}

.footer-develop-info span,
.footer-develop-info p,
.footer-develop-info a {
    font-family: var(--font-paragraph-bold);
    color: var(--color-white);
    font-size: 14px;
    text-decoration: none;
    line-height: 2.8rem;
}

.footer-develop-info a {
    font-weight: 700;
}

/* FOOTER - end */
@media (max-width: 1500px) {
    .banner-footer h1{
        font-size: 3rem;       
    }   
    
    .menu-box {
        width: 50%;
    }

    .banner img {
        padding-left: 3rem;
        padding-right: 7rem;
    }
}

@media (max-width: 1200px) {
    .banner-footer h1 {
        font-size: 2.4rem;
    }

    .menu-box {
        width: 65%;
    }

    .ham-menu-banner img {
        width: 70%;
        height: auto;
    }

    .banner img {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 1000px) {
    .banner-footer h1 {
        font-size: 2rem;
    }

    .reference-box > * {        
        width: 130px;
    }

    .instagram-list {
        grid-template-columns: 1fr 1fr;
    }

    .banner img {
        padding-left: 0;
        padding-right:0;
    }
}

@media (max-width: 850px) {

    .menu-box {
        width: 100%;
    }

    nav {
        padding: 2rem 4rem;
    }

    .menu-logo-ico {
        height: 80%;
    }

    .reference-box {
        display: flex;
        flex-direction: column;
    }

    .reference-box > * {        
        width: 160px;
    }

    .banner-footer h1 {
        font-size: 1.8rem;
    }

    .portfolio-box {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .portfolio-box img {
        width: 50%;
        margin: 1rem;
    }

    .about-content {
        display: flex;
        flex-direction: column;
    }

    .about-content-box {
        margin-bottom: 2rem;
    }

    .menu-social-ico {
        display: none;
    }

    .studio-logo-box img {
        width: 80%;
    }
}

@media (max-width: 600px) {

    .section-header {
        font-size: 2rem;
    }

    .menu-bar-ico { 
        width: 20px;
        height: auto;        
    }

    .banner-footer h1 {
        border-right: none;        
    }

    .footer-social-ico img {
        height: 30px;
    }

    .banner-footer-row {
        border: none;
        display: flex;
        flex-direction: column;        
    }

    .banner-footer-row h1 {
        font-size: 4rem;
    }

    .banner-footer h1:not(:last-child) {
        border: none;
    }

    .instagram-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 300px) {
    .menu-item {
        font-size: 1.8rem;
    }

    .logo-img-box img {
        width: 100%;
    }
}