@import url('../../CSS/variables.css');
@import url('../../CSS/common.css');

@media (min-width: 769px) and (max-width: 1080px) and (orientation: portrait){

/* HEADER */

header.aboutus-header {
    height: 100vh;
}

header.aboutus-header h1 {
    font-size: var(--sizeH1);
    font-weight: 400;
    margin-top: 30%;
    color: var(--PrimaryBlue);
    text-shadow: 0px 0px 3px rgba(250, 250, 250, 0.4);
}

/* SECTION1 */

section.about-p1 {
    height: inherit;
    padding-bottom: 5dvw;
}

div.cont-textAnim {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 10dvw;
}

div.cont-textAnim p {
    width: 90%;
    text-align: left;
    margin: 2dvw;
    columns: 1;
    font-size: var(--sizeP);
}
/* SECTION2 */



.about-p2 {
    height: inherit;
    padding-left: 15px;
    padding-right: 5dvw;
}

.parent-cap {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(10, 1fr);
    grid-column-gap: 15px;
    grid-row-gap: 15px;
}

.cap1 {
    grid-area: 1 / 1 / 6 / 5;
    opacity: 0;
}
.cap2 {
    grid-area: 6 / 4 / 11 / 7;
    opacity: 0;

}
.cap3 {
    grid-area: 3 / 7 / 8 / 9;
    opacity: 0;

}

.cap1 > img, .cap2 > img, .cap3 > img {
    width: 100%;
}

.cont-anim-popup{
    width: 100%;
    position: relative;
    height: 100%;
}




/* SECTION2 */

.about-p3 {
    margin-top: 10dvw;
    height: inherit;
    display: flex;
    justify-content: center;
}

.cont-mission.cont-60{
    width: 100%;
    padding: 5dvw;
}

/* SECTION4 */
.about-p4 {
    height: 100vh;
    padding: 0px;
}

.cont-full-img-p4 {
    width: 100%;
    height: 80vh;
    background-image: url('../../IMG/BG/bg-p4-aboutus.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 5dvw;
}

/* SECTION5 */
.about-p5 {
    height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.cont-ceo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    height: inherit;
    margin-bottom: 5dvw;
}

.cont-ceo.cont-60 {
    width: 100%;
}

.cont-ceo img {
    width: 80%;
    box-shadow: -10px 10px 0px #002255;
    transform: rotateY('')
}

.cont-text-ceo {
    width: 90%;
    margin-left: 0%;
    margin-top: 10dvw;
    text-align: justify;

}

.cont-text-ceo h4{
    margin-bottom: 2%;
    font-size: var(--sizeH3);

}

.cont-text-ceo p{
    margin-bottom: 5%;
    font-size: var(--sizeP);

}


.cont-ispiration {
    width: 100%;
    padding: 5dvw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.parent-ispiration {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 50px;
    grid-row-gap: 50px;
}

.isp1 { grid-area: 1 / 1 / 2 / 2; }
.isp2 { grid-area: 1 / 2 / 2 / 3; }
.isp3 { grid-area: 1 / 3 / 2 / 4; }
.isp4 { grid-area: 2 / 1 / 3 / 2; }
.isp5 { grid-area: 2 / 2 / 3 / 3; }
.isp6 { grid-area: 2 / 3 / 3 / 4; }

.isp1,.isp2,.isp3,.isp4,.isp5, .isp6 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

.isp1 h3,.isp2 h3,.isp3 h3,.isp4 h3,.isp5 h3, .isp6 h3 {
    font-size: var(--sizeH3-big);
    font-weight: 500;
    width: 100%;
    margin-bottom: 1dvw;
}

.isp1 p,.isp2 p,.isp3 p,.isp4 p,.isp5 p, .isp6 p {
    font-size: var(--sizeP);
}
/* SEZION6 */

.business {
    height: inherit;
    padding-top: 5vh;
}

.cont-numb {
    width: 100%;
    padding: 5dvw;
}

.parent-numb {
    height: inherit;

    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 15px;
    grid-row-gap: 15px;
}

.numb1 { grid-area: 1 / 1 / 2 / 2; }

.numb1 p {
    font-size:40dvw;
    font-weight: 800;
    text-align: end;

}
.numb2 { grid-area: 2 / 1 / 3 / 2; }

.numb2 p {
    font-size: 30dvw;
    font-weight: 800;
}

.numb3 { grid-area: 3 / 1 / 4 / 2; }

.numb3 p {
    font-size: 70dvw;
    font-weight: 800;
    text-align: center;

}

.numb1 h3, .numb2 h3,.numb3 h3 {

    font-size: 10dvw;
    text-transform: capitalize;
    font-weight: bold;
    color: #fff;

}

.cont-thought {
    margin-top: 5vh;
}

.cont-thought h3 {
    font-size: var(--sizeH3);
    color: #fff;
    align-self: self-start;
    width: 100%;
}

.cont-thought p {
    color: #fff;
    width: 100%;
    margin-top: 3dvw;
    font-size: var(--sizeP);

}


.parent-ispiration  {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
    grid-column-gap: 15px;
    grid-row-gap: 15px;
}

.isp1 { grid-area: 1 / 1 / 2 / 2; }
.isp2 { grid-area: 2 / 1 / 3 / 2; }
.isp3 { grid-area: 3 / 1 / 4 / 2; }
.isp4 { grid-area: 4 / 1 / 5 / 2; }
.isp5 { grid-area: 5 / 1 / 6 / 2; }
.isp6 { grid-area: 6 / 1 / 7 / 2; }


/* SECTION8 */

.about-p8 {
    margin-top: 10vh;
    height: inherit;
    padding-bottom: 10vh;
}

.cont-base-text.cont-60{
    width: 100%;
    padding: 5dvw;
}


/* COMMODORIANO */

.commodoriano {
    padding: 15px;
    padding-top: 5vh;
    padding-bottom: 5vh;
    background-color: #f2f2f2;
    height: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: inherit;

}

.cont-commodoriano-text {
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;

}

.cont-commodoriano-text h2 {
    font-size: var(--sizeH3-big);
    font-weight: 300;
    color: #002255;
}

.cont-commodoriano-text p {
    font-weight: 300;
    margin-top: 3vh;
    margin-bottom: 3vh;
    font-size: var(--sizeP);
}

.cont-commodoriano-text > .cont-CTA {
    justify-content: flex-start;
}

.cont-commodoriano-text > .cont-CTA>a{
    margin: 0;
}

.cont-img-commodoriano {
    width: 50%;
    height: 100%;
    background-color: #1458B8;
    position: relative;
}

.cont-img-commodoriano img {
    height: 25vw;
    position: absolute;
    top: -30vh;
    right: 10%;
}

.rotate1 {
    transform: rotate(5deg);

}


}
