/*
 * Globals
 */


/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
}


/*
 * Base structure
 */

body {
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
  background-color: #487748	;
}


.cover-container {
  position: relative;
  background-image: url(../images/mountain.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 20% 0px;
}                    

.inner{
  position:absolute;                                 
  top: 40%;
  right: 30px;
  left: 30px;
  text-align: center;
}                                  

                       /*
 * Header
 */                   
                              
.navbar .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.navbar .nav-link:hover,                           
.navbar .nav-link:focus {
  border-bottom-color: 	#758f65;
}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
.navbar .nav-link + .nav-link {
  margin-left: 1rem;
}

.navbar .active {
  color: rgba(119, 119, 119, 0.897);
  border-bottom-color: #758f65;
}

@media (max-width: 767.98px) { 
  .inner{
    color:#fffffffd;
    background-color: rgba(66, 66, 66, 0.589);
    width:80%;
  }
.lead{
  color:rgb(255, 255, 255);
}

 }

 section .container{
  padding: 30px;
  text-align: left;
 }

 .font-italic{
  font-style: italic;
 }
.about-me{
  list-style-type: none;
}

.bi{
  color: 	#758f65;
  padding-right: 5px;
}

/**Flipcard begin**/
/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
  background-color: transparent;
  width: 100%;
  height: 100%;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #bbb;
  color: black;
}

/* Style the back side */
.flip-card-back {
  background-color: rgb(0, 0, 0);
  color: white;
  transform: rotateY(180deg);
}
/**Flipcard end**/

/**Overlay start**/
.container1 {
  position: relative;
  width: 100%;
}

.image {
  opacity: 1;
  width: 100%;;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.container1:hover .image {
  opacity: 0.3;
}

.container1:hover .middle {
  opacity: 1;
}

.text {
  background-color: rgba(25, 29, 34, 0.815);
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}
/**Overlay end**/

@media screen and (max-width: 600px) {
  div.flip-card-back {
    display:none;
  }
}

/**Button**/
.btn-primary {
  color: #fff;
  background-color: #3a5f3a;
  border-color: #3a5f3a;
}
.btn-primary:hover {
  color: #fff;
  background-color: #3a5f3a;
  border-color: #3a5f3a;
}

.btn-check:focus+.btn-primary, .btn-primary:focus {
  color: #fff;
  background-color: #3a5f3a;
  border-color: #3a5f3a;
  box-shadow: 0 0 0 0.25rem #3a5f3a;
}

.form-check-input:checked {
  background-color: #3a5f3a;
  border-color: #3a5f3a;
}


a:link, a:visited, a:active{
  color: #ffffff;
  text-decoration:none;
}

a:hover{
  color: #000000;
}

h1 {
  font-size: 50px;
}


    .logo-container {
      display: flex;
      justify-content: space-around;
      align-items: center;
      padding: 20px;
  }

  .logo-box {
      text-align: center;
  }

  .logo-box img {
      width: 70px;
      height: auto;
  }

  .ski-section {
    background-color: #3a5f3ab6;
    color: white;
    padding: 20px;
}

.ski-section img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}