/* @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:wght@100;200;300;400;500;600;700;800;900&display=swap'); */


/* @import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;600;700&family=Noto+Serif+Display:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap'); */

@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Condensed&family=Ubuntu:wght@300;400;500;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}

h1 {
    font-size: xx-large;
    font-weight: 600;
    line-height: 1em;   
    text-transform: uppercase;
    color: rgb(0, 0, 0);
}

h2 {
    font-size: x-large;
    line-height: 1em; 
    font-weight: 400;
    color: rgb(0, 0, 0);
}
h2{
    font-size: x-large;
    text-align: center;
    color: rgb(0, 137, 62);
    font-weight: 600;
    margin-bottom: 1vmin;
    }
h3 {
    font-size: large;
    line-height: 1em;
    font-weight: 500;
    color: rgb(68, 68, 68);
}

h4 {
    font-size: medium;
    line-height: 1em;
    font-weight: 500;
    color: rgb(0, 0, 0);
}

h6 {
    font-size: large;
    line-height: 1em;
    font-weight: 600;
    color:rgba(67, 168, 0, 0.948);
}

p {
    font-size: 16px;
    color: rgb(0, 0, 0);
    margin: 15px 0 20px 0;
}
.spacer {
    margin: 2vmin;
    padding: 2vmin
}

body {
    width: 100vw;
    background: rgba(255, 255, 255, 0.85) url("img/585.jpg");
    background-blend-mode: overlay;
}

.showcase {
    position: relative;
    left: 0;
    width: 100vw;
    min-height: 40vw;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.showcase video {
    display: none;
    position: relative;
    top: 0;
    width: 80vw; 
    height: 40vw; 
    object-fit: cover;
    opacity: 1;
    z-index: 2;
    border-radius: 0px;
    border-width: 0.5vmin;
    border-color: rgba(255, 255, 255, 0.846);
    border-style: solid;
}

/* headers home */

.wrapperheadershome{
    width: 100vw;
    padding: 5px 5px 5px 5px;

}

.headershome {
    margin-left: 10vw;
    width: 80vw;
    padding: 20px 25px 25px 25px;
    border-width: 0vmin;
    border-color: rgba(255, 255, 255, 0.533);
    border-style: double;
    border-radius: 15px;
    background-color: #ffffff7a;
}

.headerh1 {
    font-size: 4.2em;
    color:rgb(0, 137, 62);
    font-weight: 600;
    text-transform: uppercase
}

.headerh2 {
    font-size: 2.4em;
    color:rgba(67, 168, 0, 0.948);
    font-weight: 500;
    text-transform: uppercase
}

.subtitleHome {
    font-size: 4.0vmin;
    color:rgb(0, 137, 62);
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    text-shadow: #fffffff6;
}

/* zona su cui lavorare */

.videoCentroHome {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 63vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    z-index: 3;
}

.videoCentroHome video {
    position: relative;
    top: 0;
    left: 0;
    opacity: 1;
    z-index: 2;
    width: 80vw; 
    height: 63vh; 
    object-fit: cover;
    border: 4px solid rgb(255, 255, 255);
    align-items: bottom;
}

.videoCentroHometext {
    position: relative;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    /* padding-top: -250px; */
    padding-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: top;
    z-index: 3;
}

.videoCentroHometext h3{
    color: #46463d;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: #f40353; */
    background: #548334;
    mix-blend-mode: overlay;
    z-index: 3;
}

.text {
    margin: 0;
    position: absolute;
    z-index: 10;
    text-align: center;
    align-items: center;
    margin: 0;
    background: rgba(0, 0, 0, 0.466);
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    padding: 30px 50px;
}

.text h2 {
    font-size: 6em;
    font-weight: 100;
    line-height: 1em;
    text-transform: uppercase;
}

.text a {
    display: inline-block;
    font-size: 2.5  em;
    font-weight: 400;
    background: rgb(83, 82, 76);
    padding: 10px 30px;
    text-decoration: none;
    color: rgb(175, 175, 175);
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.2s;
    text-shadow: 2px 0 0 rgb(0, 0, 0), -2px 0 0 rgb(0, 0, 0), 0 2px 0 rgb(0, 0, 0), 0 -2px 0 rgb(0, 0, 0), 1px 1px rgb(0, 0, 0), -1px -1px 0 rgb(0, 0, 0), 1px -1px 0 rgb(0, 0, 0), 1px -1px 0 rgb(0, 0, 0), -1px 1px 0 rgb(0, 0, 0);
}

/* Header Start */

#header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.719);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    z-index: 999;   
    position: sticky;
    top: 0;
    left: 0;
}

#navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

#navbar li {
    list-style: none;
    padding: 0 20px;
    position: relative;
}

#navbar li a {
    text-decoration: none;
    font-size: 22px;
    font-weight: 500;
    color: rgb(0, 137, 62);
    transition: 0.3s ease;
}

#navbar li a:hover,
#navbar li a.active {
    color: #4dc100db;
}

#navbar li a.active::after,
#navbar li a:hover::after {
    content: "";
    width: 50%;
    height: 2px;
    background: #4dc100db;
    position: absolute;
    bottom: -4px;
    left: 20px;
}

/* Home Page */

.cropped {
    width: 60vw; 
    height: 60vh; 
    object-fit: cover;
    border: 4px solid rgb(255, 255, 255);
}


/* INIZIO PAGINA WEDDING */

.primoContainerFotoHome{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-auto-rows: 10vw;
    grid-gap:1vw;
    width: 80vw;
    position: relative;
    left: 10vw;
}

.primoContainerFotoHome img{
    padding:  2vw 3vw 0vw 3vw;
    opacity: 1;
}


.primoContainerFotoHomeText{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    /* grid-auto-rows: */
    grid-gap:1vw;
    width: 80vw;
    position: relative;
    left: 10vw;
    text-align: center;
    margin-top: 2vh;
}

.secondoContainerFotoHome{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap:1vw;
    width: 80vw;
    position: relative;
    left: 10vw;
    margin-top: 5vh;
}

.secondoContainerFotoHome img{
    /* padding:  1vw 2vw 1vw 2vw; */
    padding:  2vw 3vw 2vw 3vw;
    opacity: 1;
}

.casa .secondoContainerFotoHome img{
    padding:  0vw 0vw 0vw 0vw;
    opacity: 1;
    object-fit: cover;
    border-radius: 0.5vw;
}

.casaloghi .secondoContainerFotoHome img{
    padding:  0vw 0vw 0vw 0vw;
    opacity: 1;
    object-fit: contain;
    border-radius: 0.5vw;
}

.containerSingolaFotoPCFH a{
    text-decoration: none
}

.containerSingolaFotoPCFH{
    width: 100%;
    height: 100%;
    position: relative;
    overflow:hidden;
    justify-self: center;
    align-self: center;
    background-color: #ffffff5d;
    border-radius: 15px;
    text-align: center
}

.containerSingolaFotoPCFH img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: .5s ease-in-out;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.527);
    border-radius: 15px
}

.wrapperCer .containerSingolaFotoPCFH{
    width: 100%;
    height: 102%;
    justify-self: bottom;
    align-self: bottom;
    background-color: #ffffff5d;
}

.wrapperCer .containerSingolaFotoPCFH img{
    width: 85%;
    height: 75%;
    position: relative;
    object-position: center bottom;
    overflow:hidden;
    justify-self: bottom;
    align-self: bottom;
    background-color: #ffffff5d;
    margin-top: 15%
}

.containerSingolaFotoPCFHText h2{
    width: 100%;
    height: 100%;
    position: relative;
    justify-self: center;
    align-self: center;
    text-align: center;
}

.scat1{
    background-color: rgba(255, 255, 255, 0.527);
    padding: 1vw;
    text-align: center;
    border-radius: 15px;
}
.scat1 h2{
    color: rgb(0, 137, 62);
    font-weight: 600;
    text-align: center;
}

.scat4{
    background-color: rgba(255, 255, 255, 0.527);
    padding: 1vw;
    border-radius: 15px
}
.scat4 h2{
    color: rgb(0, 137, 62);
    font-weight: 600;
    text-align: center;
}

.scat2{
    background-color: rgba(255, 255, 255, 0.527);
    padding: 1vw;
    border-radius: 15px
}
.scat2 h2{
    color: rgba(67, 168, 0, 0.948);
    font-weight: 600;
    text-align: center;
}

.scat3{
    background-color: rgba(255, 255, 255, 0.527);
    padding: 1vw;
    border-radius: 15px
}
.scat3 h2{
    color: rgba(67, 168, 0, 0.948);
    font-weight: 600;
    text-align: center;
}


.containerSingolaFotoPCFH h1{
    text-align: center;
}

.containerSingolaFotoPCFH h2{
    text-align: center;
}

/* FINE PAGINA WEDDING */

/* INIZIO PAGINA FOTOGRAFI */

.fotoRegPhotos{
    display: grid;
    grid-template-columns: 20vw 20vw 20vw 20vw; 
    grid-template-rows: 20vw 20vw; 
    position: relative;
    width: 100%;
    height: 100%;
    position: relative;
    justify-content: center;
    align-content: center;
    overflow: hidden;
    object-fit: contain;
    object-fit: cover;
    /* object-position: 50% 90%; */
    gap: 0px 0px; 
    grid-template-areas: 
      "Photo1 Photo1 Photo2 Photo3"
      "Photo1 Photo1 Photo4 Photo5"
}
.Photo1 { grid-area: Photo1; }
.Photo2 { grid-area: Photo2; }
.Photo3 { grid-area: Photo3; }
.Photo4 { grid-area: Photo4; }
.Photo5 { grid-area: Photo5; }

.fotoRegPhotos a:link {
    text-decoration: none;
  }

.fotoRegPhotos img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    cursor: pointer;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    transition: .5s ease-in-out;
    padding:1vh
}

/* FINE PAGINA FOTOGRAFI */

/* INIZIO PAGINA FOTO */

.fotoInv{
    display: grid;
    grid-template-columns: 20vw 20vw 20vw 20vw; 
    grid-template-rows: 20vw; 
    position: relative;
    width: 80vw;
    height: 20vh;
    left:10vw;
    margin-top: 4vh;
    position: relative;
    justify-content: center;
    align-content: center;
    overflow: hidden;
    object-fit: contain;
    object-fit: cover;
    gap: 0px; 
    grid-template-areas: 
      "Photo4 Photo2 Photo3 Photo5"
}

.Photo2 { grid-area: Photo2; }
.Photo3 { grid-area: Photo3; }
.Photo4 { grid-area: Photo4; }
.Photo5 { grid-area: Photo5; }

.fotoInv a:link {
    text-decoration: none;
  }

  /* .fotoInv .Photo1 img{
    width: 50%;
    object-fit: contain;
    bottom: 50%
} */

.fotoInv .Photo2{
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin:9vh 6vh 3vh 6vh; */
    padding: 1vh; 
    text-align: center;
    /* border-radius: 15px; */
}

.fotoInv .Photo2 h3{
    /* border-width: 1.0vmin; */
    /* border-color: rgb(0, 137, 62); */
    /* border-style: double; */
    background-color: #ffffffbd;
    /* border-radius: 15px;  */
    padding: 1vh 
}

.fotoInv .Photo3{
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin:9vh 6vh 3vh 6vh; */
    padding: 1vh; 
    text-align: center;
    /* border-radius: 15px; */
}

.fotoInv .Photo3 h3{
    /* border-width: 1.0vmin; */
    /* border-color: #4dc100db; */
    /* border-style: double; */
    background-color: #ffffffbd;
    /* border-radius: 15px;  */
    padding: 1vh 
}

.fotoInv .Photo4{
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin:3vh 6vh 9vh 6vh; */
    padding: 1vh; 
    text-align: center;
    /* border-radius: 15px; */
}

.fotoInv .Photo4 h3{
    /* border-width: 1.0vmin; */
    /* border-color: #4dc100db; */
    /* border-style: double; */
    background-color: #ffffffbd;
    /* border-radius: 15px;  */
    padding: 1vh 
}

.fotoInv .Photo5{
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin:3vh 6vh 9vh 6vh; */
    padding: 1vh; 
    text-align: center;
    /* border-radius: 15px; */
}

.fotoInv .Photo5 h3{
    /* border-width: 1.0vmin; */
    /* border-color: rgb(0, 137, 62); */
    /* border-style: double; */
    background-color: #ffffffbd;
    /* border-radius: 15px;  */
    padding: 1vh 
}

.fotoInv img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    cursor: pointer;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    transition: .5s ease-in-out;
    padding:1vh
}

.stripoutTextHome{
    width: 60vw;
    margin-left: 20vw;
    background-color: #ffffff86;
    text-align: center;
}

/* FINE PAGINA FOTO */

/* INIZIO TOP MATRIMONIO */

.ImmagineCentrataPienoSchermo img {
    position: relative;
    top: 0;
    left: 10vw;
    width: 80vw; 
    object-fit: contain;
    opacity: 1;
    z-index: 2;
    border-radius: 15px;
    border-width: 0.5vmin;
    color: rgba(255, 255, 255, 0.846);
    border-style: solid;
    margin-top: 5vmin;
}

/* FINE ZONA GALLERIA */

.wrapperCerH1Wrapper {
    display: block;
}

.wrapperCer h1 {
    font-size: xx-large;
    font-weight: 800;
    color: rgb(0, 137, 62);
}

.wrapperCer h2 {
    font-size: x-large;
    text-align: center;
    color: rgb(0, 137, 62);
    font-weight: 600;
    margin-bottom: 1vmin;
}

.wrapperCer h3 {
    font-size: large
    large;
}

/* INIZIO FOOTER ULTIMO ELEMENTO */

footer{
    position: static;
    bottom: 0px;
    width: 100%;
    box-sizing: border-box;
    background-color:rgba(188, 240, 205, 0.205)
}


.footerGrid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap:2vw;
    width: 100%;
    position: relative;
    justify-content: space-between;
    padding: 1% 5% 1% 5%
}

.textFooter{
    padding: 10px;
    justify-content: center;
    align-items: center;
    position: center
    }

.msg {
    padding-bottom: 10px;
    justify-content: center;
    align-items: center;
    position: center
    }

.msg textarea {
    align-items: center;
    position: center;
    font-size: 1.5em;
    caret-color: rgb(255, 0, 119);
    width: 35vw;
    height: 15vw;
}

footer iframe{
    width: 35vw;
    height: 27.4vw;
    border: 1px;
}

.box h1{
    text-align: center;
}

.box h2{
    text-align: center;
}

.box h3{
    font-size: 1.
    ;
    font-weight: 600;
    text-align: center;
}

.left .social{
    margin: 20px 0 0 0;
}
.left .social img{
    width: 90px; 
    margin: 20px;
}

.left h3{
    font-size: 1.525rem;
    font-weight: 600;
}

.social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2px;
}

.logo {
    padding: 10px;
    color:rgb(0, 137, 62);
    font-size: 3em;
}

.email {
display: block;
}

.msg {
padding-bottom: 10px;
}

.btn button{
border: 2px solid rgb(83, 83, 83);
border-radius: 5px;
background: rgb(255, 255, 255);
color: white;
font-size: 18px;
padding: 12px 18px 8px 18px;
}

.footerLastRow {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap:2vw;
    width: 100%;
    position: relative;
    justify-content: space-between;    
    background-color:rgba(0, 93, 34, 0.61);
    padding: 1% 5% 1% 5%
}

.footerLastRow a {
    color: white
}

.footerLastRow h3 {
    color: white
}

.vc h2 {
    color:rgba(67, 168, 0, 0.948);
}

.showOnMobile{
    display: none;
}
.showOnDesktop{
    display: inline;
}

@media screen and (max-width: 800px){

    * {
        margin: 0;
        padding: 0;
        /* box-sizing: border-box; */
        font-family: 'Ubuntu Condensed', sans-serif;
    }
    h1 {
        font-size: x-large;
        font-weight: 400;
        line-height: 1em;   
        text-transform: uppercase;
        color: rgb(68, 68, 68);
    }
    /* h2 {
        font-size: 5vmin;
        line-height: 1em; 
        font-weight: 400;
        color: rgb(68, 68, 68);
    } */
    h2{
    font-size: x-large;
    text-align: center;
    color: rgb(0, 137, 62);
    font-weight: 600;
    margin-bottom: 1vmin;
    }
    h3 {
        font-size: small;
        line-height: 1em;
        font-weight: 600;
        color: rgb(68, 68, 68);
    }
    
    h4 {
        font-size: xx-small;
        line-height: 1em;
        font-weight: 500;
        color: rgb(0, 0, 0);
    }

    .wrapperCer h2 {
        font-size: 3vmin;
        text-align: center;
        color: rgb(0, 137, 62);
        font-weight: 600;
        margin-bottom: 1vmin;
    }    

    .subtitleHome {
        font-size: xx-large;
        color:rgb(0, 137, 62);
        font-weight: 600;
        text-transform: uppercase;
        text-align: center;
        margin-top: 10vmin;
        text-shadow: #fffffff6;
    }
    #header {
        justify-content: center;
        align-items: center;
        position: static;
        padding-bottom: 3vh;
        padding-top: 3vh
    }

    #header a {
        text-decoration: none;
    }

    .logo {
        padding: 10px;
        color:rgb(0, 137, 62);
        font-weight: 600;
    }

    #navbar li {
        list-style: none;
        padding: 0 3vmin;
        position: relative;
        font-size: large;
    }
    
    #navbar li a {
        text-decoration: none;
        font-size: medium;
        font-weight: 600;
        color: rgb(0, 137, 62);
        transition: 0.3s ease;
    }

    .logo{
        margin-bottom: 2vh;
    }

    .ImmagineCentrataPienoSchermo img {
        position: relative;
        top: 0;
        left: 0vw;
        width: 100vw;
        height: 90vw;
        object-fit: cover;
        opacity: 1;
        z-index: 2;
        color: rgba(255, 255, 255, 0.846);
        margin-top: 5vmin;
        border-width: 0;
        border-radius: 0;
    }
   
    .primoContainerFotoHome{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-auto-rows: 20vw;
        grid-gap:1vw;
        width: 100vw;
        position: relative;
        left: 0vw;
    }

    .primoContainerFotoHome img{
        padding:  0vw 0vw 0vw 0vw;
        opacity: 1;
    }

    .primoContainerFotoHomeText{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        /* grid-auto-rows: */
        grid-gap:1vw;
        width: 100vw;
        position: relative;
        left: 0vw;
        text-align: center;
        margin-top: 2vh;
    }

    .secondoContainerFotoHome{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-gap:1vw;
        width: 100vw;
        position: relative;
        left: 0vw;
        margin-top: 3vmin;
    }

    .casaloghi .secondoContainerFotoHome img{
        padding:  0vw 0vw 0vw 0vw;
        opacity: 1;
        object-fit: contain;
        border-radius: 0vw;
    }

    .containerSingolaFotoPCFH{
        width: 100%;
        height: 100%;
        background-color: #ffffff5d;
        text-align: center;
        border-radius: 0px;
    }

    .showcase video {
        position: relative;
        top: 0;
        width: 100vw; 
        height: 90vw; 
        object-fit: cover;
        opacity: 1;
        z-index: 2;
    }

    .secondoContainerFotoHome img{
        /* padding:  1vw 2vw 1vw 2vw; */
        padding:  0vw 0vw 0vw 0vw;
        opacity: 1;
    }

    .bol h3{
        text-align: center;
        font-weight: 600;
    }

    .containerSingolaFotoPCFH .bol{
            margin: 10vmin;
            padding: 10vmin
    }

    .footerGrid{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        grid-gap:2vw;
        width: 100%;
        position: relative;
        justify-content: space-between;
        padding: 8% 0% 1% 0%
    }

    .msg textarea {
        align-items: center;
        position: center;
        font-size: 1.2em;
        caret-color: rgb(255, 0, 119);
        width: 85vw;
        height: 50vh;
        outline-color: 20px solid rgb(83, 83, 83);
        border-radius: 5;
    }

    .wrapperCer .primoContainerFotoHomeText .containerSingolaFotoPCFH h3{
        text-align: center;
    }

    footer iframe{
        width: 85vw;
        height: 50vh;
        border: 1px;
        padding: 1% 0% 10% 0%
    }

    .left .social img{
        width: 80px; 
    }

    .footerGrid h3 {
        font-size: 1.2em;
    }

    .btn h3 {
        font-size: 1em;
    }

    .vc h2 {
        color:rgba(67, 168, 0, 0.948);
    }
    .showOnMobile{
        display: inline;
    }
    .showOnDesktop{
        display: none;
    }
    

}