.main-header {
  font-family: 'Titillium Web', sans-serif;
  font-size: 50px;
  color: #343A40;
} 

.cont {
  width: 100%;
  height: 100%;
  position: relative;
}

.box1 {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;  
}

.overlay {
  z-index: 9;
  opacity: 0;  
  background-color: #2980b9;
}

.overlay:hover {
  cursor: pointer;
  opacity: 0.2;
}

/* Adding custom style to captions of the carrousel */
.custom-carousel-caption {
  border-radius: 15px;
  color: black; /*white;*/
  text-align: center;
  background-color: #D0D0D0; /*rgb(66,192,251);*/
  padding-left: 5px;
  padding-right: 20px;
}

/* Basic useful animations using only CSS */
@keyframes slidein{
    from {
       left: 0%;
    }
    to {
       left: 30%;
    }
}

@keyframes fadeInAnimation {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

#capaEase{
    animation-name:slidein;
    animation-duration: 2s;
    animation-iteration-count:1;
    animation-direction:right;
    animation-timing-function:ease;
}

#capaLinear{
    animation-name:slidein;
    animation-duration: 2s;
    animation-iteration-count:infinite;
    animation-direction:alternate;
    animation-timing-function:linear;
}

#capaEaseIn{
    animation-name:slidein;
    animation-duration: 2s;
    animation-iteration-count:infinite;
    animation-direction:alternate;
    animation-timing-function:ease-in;
}

#capaEaseOut{
    animation-name:slidein;
    animation-duration: 2s;
    animation-iteration-count:infinite;
    animation-direction:alternate;
    animation-timing-function:ease-out;
}

#capaEaseInOut{
    animation-name:slidein;
    animation-duration: 2s;
    animation-iteration-count:infinite;
    animation-direction:alternate;
    animation-timing-function:ease-in-out;
}

.custom-background-contrast {
  background-color: #D0D0D0;
  max-width: inherit;
}

/* Add this class to avoid row divs become wider than the portview
(when this happens there appears the annoying horizontal scroll bar) */
.custom-width {
  max-width: 100%;
}

.custom-width-2 {
  max-width: 70%;
}

.custom-height {
  max-height: 250px;
}

.custom-visibility {
  /*visibility: hidden;*/
  opacity: 0;
}

.custom-border-test {
  border-color: black;
  border-style: solid;
  border-width: 2px;
}

/* CSS for flip animation effect */
.flip-card {
  background-color: transparent;
  width: 300px;
  height: 300px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.flip-card-front {
  /*background-color: #bbb;*/
  color: black;
}

.flip-card-back {
  background-color: #2980b9;
  color: white;
  transform: rotateY(180deg);
}

.social-icon {
  width: 80px;
  height: 100px;
}

.cropped-ofp {
  object-fit: cover;
  object-position: 0% 0%; 
}

/* Styles for the contact form*/
/* Sweep To Right */
.hvr-sweep-to-right {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.hvr-sweep-to-right:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #2098D1;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-sweep-to-right:hover, .hvr-sweep-to-right:focus, .hvr-sweep-to-right:active {
  color: white;
}
.hvr-sweep-to-right:hover:before, .hvr-sweep-to-right:focus:before, .hvr-sweep-to-right:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
.text-form {
    width: 100%;
    font-size: 1em;
    font-family: Montserrat, sans-serif;
    border-color:rgb(66,192,251); /*rgb(66, 191, 249);*/
    border-width:1px;
    display: block;
    margin-bottom: 2em;
    padding: 15px;
}
button {
    font-size: 1em;
    font-family: Montserrat, sans-serif;
    font-weight: normal;
    background-color: rgb(66,192,251); /* rgb(66, 191, 249);*/
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.form-header {
    margin-top: 50px; 
    display: flex; 
    justify-content:center; 
    align-items: center;
}

.form-header:hover {
    cursor: pointer;
}

.form-container {
  margin-top: 50px; 
  margin-bottom: 50px;
}

/*------------------------------------------------------------------------------- End Styles for the contact form */

/* -------------------------------------------------------------------------------Styles for the FAQ page */

.collapsible {
  background-color: rgb(66,192,251);
  cursor: pointer;
  padding-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  max-height: 100px;
  border: none;
  text-align: left;
  outline: none;
  font-weight: lighter;
  font-size: 20px;
  color: rgb(253,253,253);
}

.collapsible:hover {
  border-width: thin;
  border-color: black;
  border-style: solid;
}
.content {
  padding-left: 20px;
  padding-bottom: 0px;
  padding-left: 20px;
  padding-right: 15px;
  font-size: 20px;
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease-out;
  background-color: rgb(255,255,255);
}

/* ----------------------------------------------------------------------------------End Styles for the FAQ page */


/* Test styles here */

.brdr-red {
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  border-style: solid;
  border-color: red;
  background-color: gray;
  width: 200px;
  height: 200px;
  text-align: center;
}

.flexible-box {
  display: inline-flex;
  gap: 50px;
}

.image-div {
  min-width: 300px;
  width: 300px;
  height: 300px;

}

.text-div {
  min-width: 300px;  
}


/**/

.zoom {
  /* this doesn't look good...
  -webkit-filter: grayscale(100%); 
  filter: grayscale(100%);
  */
  transition: transform 0.2s;
}

.zoom:hover {
  transform: scale(1.5);
  cursor: pointer;
}

.navbar-dark .navbar-nav .nav-link {
  color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: rgb(66,192,251);
}

.video-responsive {
  object-fit:cover; 
  height: 100%; 
  padding-left: 0;
  padding-right: 0;
}

.video-container {
  height: 300px; 
  width: 100%; 
  padding-left: 0;
  padding-right: 0;
}


/*
It doesn't look that good
.bg-dark {
  background-color: black !important;
}
*/



/* Media queries */

/* For screens whose size is less or equal to 2000px */
@media screen and (max-width: 2000px) {
  .responsive-width {
    width: 70%;
    /*display: inline-flex;*/
  }

  .cropped-ofp {
    width: 80%; 
    height: 500px; 
  }
}

/* For screens whose size is less or equal to 992px */
@media screen and (max-width: 992px) {
  .flexible-box {
    display:block;
  }

  .image-div {
    display: inline-block;
  }

  .image-div-container {
    text-align: center;
    padding: 30px 0 30px 0;
  }

  .video-container {
    width: 60%; 
  }

  #fadein-left {
    display: block;
    padding-left: 18.2vw;
  }
  
}


/* For screens whose size is less or equal to 640px */
/* Please note this overrides other styles applied to this size of screen */
@media screen and (max-width: 640px) {
  .responsive-width {
    width: 100%;
    /*display: block;*/
  }

  .cropped-ofp {
    width: 100%; 
    height: 400px; 
  }

  .video-container {
    width: 90%; 
  }  

  #fadein-left {
    display: block;
    padding-left: 3vw;
  }  
  
}


