/*
 Theme Name:   Francesco Theme
 Theme URI:    https://fra99.red/
 Description:  Understrap Child Theme for Exam
 Author:       Francesco Rossi
 Template:     understrap
 Version:      1.0.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: understrap/understrap-child
*/

:root{

}


/* DEBUG */
.red{
  background-color: red;
}
.yellow{
  background-color: yellow;
}
.blu{
  background-color: #002bff;
}
.green{
  background-color: green;
}


/* Navbar */
.fra-navbar{
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background-color: rgba(0, 70, 150, 0.67);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 10vh;
  min-height: 60px;
  max-height: 80px;
  margin-top: 0;
  z-index: 999
}
.navbar-brand img{
  height: 9vh;
  width: auto;
  min-height: 45px;
  max-height: 70px;
}
.navbar-collapse {

}
.navbar-item:hover{
  background-color: rgba(0, 140, 255, 0.6)!important;
  height: 100%;
}
.active{
  background-color: rgba(0, 46, 99, 0.8)!important;
  border-radius: 5px;
  color: rgba(255, 255, 255, 1)!important;
}


/* Base*/
body{
  background-color: rgba(34,34,34,1)!important;
  position: relative;
  min-height: 100vh;
}

/* Home */
.fra-home{
  margin-top: 70px;
}

/* MOBILE FIX */
/* MOBILE FIX */
/* MOBILE FIX */



@media screen and (max-width: 768px){
  #main-menu li a {
    line-height: 8vh;
    color: white;
    font-size: 2rem;
  }
  .navbar-brand img{
    margin-top: -10px;
  }
  #main-nav .container{
    text-align: center;
  }
  #navbarNavDropdown{
    width: 100%;
    z-index: 70;
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    background-color: rgba(0, 70, 150, 0.7);
    text-align: center;
    border-radius: 7px;
    margin-top: 2px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .custom-logo-link{
    margin: 0 auto;
    padding-left: 35px;
  }
}

@media screen and (max-width: 992px) {
  .card--item {
    margin: 15px;
    width: 85%;
  }
}




/* Button */
.glow-on-hover {
    width: 220px;
    height: 50px;
    border: none;
    outline: none;
    color: rgb(224, 224, 224);
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
    transition-property: all;
    transition-duration: 0.3s;
}

.glow-on-hover:active {
    color: white;
}

.glow-on-hover:active:after {
  transition-property: all;
  transition-duration: 0.3s;
  font-weight: 900;
  background-color: rgb(32, 32, 32);
}

.glow-on-hover:hover:before {
    opacity: 1;
}
.glow-on-hover:focus{color: white!important;}
.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #3273dc;
    left: 0;
    top: 0;
    border-radius: 10px;
}
.glow-on-hover:hover{
  color: white!important;
  transition-property: all;
  transition-duration: 0.3s;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}


/* Parallax Home */
#home-wrapper{
  width: 100%;
  height: 100%;

}
.parallax-home{
  background-image: url('https://wallpaperaccess.com/full/672238.jpg');
  height: 110vh;
  width: 100%;
  z-index: 1;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

}
.home-section{
  height: 40vh;
  width: 100%;
  background-color:rgba(36, 36, 36, 0.113);
  background: linear-gradient(90deg, rgba(36,36,36,0,113) 0%, rgba(36,36,36,0) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10;
  font-size: 5.5vw;
  text-align: center;
  position: absolute;
  top: 100vh;
  left: 0;
  padding-top: 10vh;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.93);
}
.logo-home{
  height: 350px;
  -webkit-filter: drop-shadow(5px 5px 4px #222);
  filter: drop-shadow(5px 5px 4px #222);
  
}
.logo-container{
  position: absolute;
  top: 25vh;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
}
.parallax-1{
  margin-top: -5vh;
}
.parallax-2{

  background-image: url('https://scontent.fvbs2-1.fna.fbcdn.net/v/t39.30808-6/287492024_4491566117612560_7937502560519721827_n.jpg?_nc_cat=111&ccb=1-7&_nc_sid=730e14&_nc_ohc=sogg5csCI5YAX81yyGw&_nc_ht=scontent.fvbs2-1.fna&oh=00_AT8v9p5-O1rNXi3BpJhJJ65addmiIuiIYfUOWDV2N3C8Bg&oe=62AEBE7');
  z-index: 2;
  position: absolute;
  height: 110vh;

}

.home-1{
  animation: testohome 1s ease-in-out forwards;
  z-index: 1;
}
.home-2{
  height: 40vh;
  margin-top: 70vh;
  font-size: 5.5vw;
  padding-top: 60px;
  text-align: center;
  z-index: 20;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.home-3{
  height: 40vh;
  z-index: 60;
  margin-top: -65vh;
  font-size: 5.5vw;
  text-align: center;
  z-index: 20;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.dummy-4{
  height: 27vh;
  width: 100%;
}
.parallax-3 {
  width: 100%;
  height: 120vh;
  list-style: none;
  justify-content: center;
  z-index: 5;
  margin-top: 100vh;
  overflow: hidden;
}
.video-3{
  height: 100%;
  width: 100%;
  object-position: center;
  object-fit: cover;
  
}
#home-wrapper a{
  font-size: 2rem;
  text-decoration: none;
  cursor: pointer;
}
.button-2, .button-3{
  margin-top: 37px!important;
 }

@keyframes testohome{
  from{
    transform: translateY(0);
  }
  to{
    transform: translateY(-30vh);

  }
}

@media screen and (min-width: 1200px) {
  .home-3, .home-2, .home section {
    font-size: 3.5vw;
  }
}

@media screen and (max-width: 850px) {
  .home-3, .home-2, .home section {
    font-size: 35px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Footer */


.footer-social a, .footer-social a:visited, .footer-social a:active{
  font-size: 2rem;
  text-decoration: none;
  color: white;
  margin: 10px;
}


#wrapper-footer{
  height: 120px;
  width: 95%;
  background-color: rgba(var(--bs-dark-rgb),var(--bs-bg-opacity));
  z-index: 60;
  /* Test stuff */


}


/* Article Archieve */
.article-bg{
  min-height: 100vh;
  height: auto;
  width: 100%;
  z-index: 1;
  margin-top: 0;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  top: 0;
}
.archive-container{
  background-color: #ffffffba;
  margin-top: 0vh;
  min-height: 80vh;
  border-radius: 20px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.archive-title{
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0px 0px 10px rgb(0, 0, 0);
}

.card--item{
  margin: 30px;
  transition-property: all;
  transition-duration: .3s;
  border-radius: 7px;
  background-color: #cacaca24;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation-duration: 2s;
  animation-delay: 1s;
}
.card--item:hover{
  opacity: .8;
  background-color: #dbdbdb;
  transform: scale(110%);
}
.card--item .image-wrapper{
  overflow: hidden;
}
.img-responsive{
  width: 100%;
  height: auto;
  margin-top: 10px;
  border-radius: 5px;
}
.archieve-single-element h3{
  margin-top: 10px;
  margin-bottom: 10px;
}
.archieve-single-element .item-date{
  margin-bottom: 15px;
}
/* Single Article Fix */
.article-bg .date-subtitle{
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.93);
}

/* Contatti */
.contact-social a, .contact-social a:visited, .contact-social a:active{
  font-size: 4rem;
  text-decoration: none;
  color: black;
  margin-left: 20px;
}
.wpcf7-text{

}
.wpcf7-form-control-wrap{

}
.wpcf7 #send-btn{
  background-color: #3273dc!important;
  color: white;
  margin-top: 20px;
}
.wpcf7 #form-message{
  height: 100px;
}
.ciaoo{
  width: auto;
}

/* Cookie Bar */
#cookie-bar{
	background: rgba(3, 59, 84, 0.5);
  z-index: 99999;
  border-radius: 7px;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
	display:block;
    position: fixed;
    bottom: 20px;
    width: 300px;
    left: 20px;
    padding: 20px;
  color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  text-shadow: 2px 2px 4px #000000;
  text-align: center;
  }
#cookie-bar a{
	color:#999;
	display:block;
	padding:10px 0;
	}
#Cookie{
	background: #3273dc;
    border: none;
    padding: 10px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 60%;
    text-align: center;
    font-weight: bold;
}

/* Browser Allert */
.browser-allert-modal{
  position: fixed;
  top: 25vh;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 65vh;
  z-index: 2009990;
  background-color: #303030d7;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  border-radius: 10px;
}
#closemodalbrowser{
  color: white!important;
}

/* Archive Alternative */
.archive-alternative .card--item{
  border: 1px solid rgba(128, 128, 128, 0.46);
}
.archive-alternative img{
  margin-bottom: 10px;
}
.portfolio-text{
  padding-top: 10px;
}
.img-alt-archieve{
  align-items: center;

}
.img-cont-archieve{
  align-content: center;
  display: flex;
  flex-flow: row wrap;
}
