/* Responsive */
@media screen and (max-width: 1920px) {
    .home-image img {
        height: 100%;
    }
}
@media screen and (min-width: 1920px) {
    .home-image img {
        width: 100%;
    }
}



/* Style for home, navigation and footer */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: white;
    color: white;
    /* min-height: 100vh; */

}

/* background image */
.homepage {
    position: relative;
    margin-top: 8vh;
}

.home-content {
    position: relative;
    height: 857px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    justify-content: center;
    margin-bottom: 20px;
}

#content1 {
    position: relative;
    width: 50%;
    height: 100%;
    color: white;
    background: #0f0c29;
    background: linear-gradient(to bottom, #24243e, #302b63, #0f0c29);
    z-index: 0;

}

.home-text {
    display: flex;
    flex-direction: column;
    padding: 5em;
}

.home-text p {
    font-size: 7em;
}

/* Build mountains using border */
/* stars */
.star {
    position: absolute;
    transform: rotate(45deg);
}

.star span {
    position: relative;
    width: 200px;
    height: 2px;
    display: block;
    background-image: linear-gradient(to right, white, transparent);
    opacity: 0;
    animation: star-shooting 2s linear infinite;
}

.star span::before {
    content: '';
    position: absolute;
    bottom: -1.5px;
    left: -1px;
    width: 5px;
    height: 5px;
    background-color: white;
    box-shadow: 0 0 200px white;
    border-radius: 5px;
}

.star:nth-child(1) {
    top: 200px;
    right: 450px;
}

.star:nth-child(1) span {
    animation-delay: 2.5s;
    animation-duration: 2s;
}

.star:nth-child(2) {
    top: 0;
    right: 100px;
}

.star:nth-child(2) span {
    animation-delay: 0s;
    animation-duration: 2s;
}

.star:nth-child(3) {
    top: 420px;
    right: 50px;
}

.star:nth-child(3) span {
    animation-delay: 1s;
    animation-duration: 3s;
}

@keyframes star-shooting {
    0% {
        transform: translateY(100px) rotate(-90deg);
        opacity: 1;
    }

    100% {
        transform: translateY(600px) rotate(-90deg);
        opacity: 0;
    }
}

/* mountain0 */
#mountain0 {
    position: absolute;
    bottom: 0;
    left: 2.5vw;
    z-index: 0;
}
#front0 {
    position: absolute;
    bottom: 0;
    left: 0px;
    border-top: 0px;
    border-right: 150px solid transparent;
    border-bottom: 400px solid #5E95B1;
    border-left: 150px solid transparent;
    z-index: 5;
}

#side0 {
    position: absolute;
    bottom: 0;
    left: 150px;
    border-top: 0px;
    border-right: 100px solid transparent;
    border-bottom: 400px solid #658B9D;
    border-left: 0px solid transparent;
    transform-origin: top right;
    transform: skewX(18deg);
    z-index: 10;
}

#snow0 {
    position: absolute;
    bottom: -100px;
    left: -38px;
    border-top: 0px;
    border-right: 38px solid transparent;
    border-bottom: 100px solid #CEEAF6;
    border-left: 38px solid transparent;
    z-index: 5;
}

#snow-side0 {
    position: absolute;
    bottom: -94px;
    left: 0px;
    border-top: 0px;
    border-right: 23px solid transparent;
    border-bottom: 100px solid grey;
    border-left: 0px solid transparent;
    transform: skewY(-18deg);
    z-index: 6;
}

/* mountain1 */
#mountain1 {
    position: absolute;
    bottom: 0;
    left: 9vw;
}

#front1 {
    position: absolute;
    bottom: 0;
    left: 0px;
    border-top: 0px;
    border-right: 200px solid transparent;
    border-bottom: 500px solid #7AC1E4;
    border-left: 200px solid transparent;
    z-index: 5;
}

#side1 {
    position: absolute;
    bottom: 0;
    left: 200px;
    border-top: 0px;
    border-right: 100px solid transparent;
    border-bottom: 500px solid #658B9D;
    border-left: 0px solid transparent;
    transform-origin: top right;
    transform: skewX(18deg);
    z-index: 10;
}

#snow1 {
    position: absolute;
    bottom: -98px;
    left: -40px;
    border-top: 0px;
    border-right: 35px solid transparent;
    border-bottom: 100px solid #CEEAF6;
    border-left: 40px solid transparent;
    z-index: 5;
}

#snow-front1 {
    position: absolute;
    bottom: -130px;
    left: -23px;
    border-top: 35px solid #CEEAF6;
    border-right: 20px solid transparent;
    border-bottom: 0px solid transparent;
    border-left: 20px solid transparent;
    z-index: 6;
}

#snow-side1 {
    position: absolute;
    bottom: -94px;
    left: 0px;
    border-top: 0px;
    border-right: 18px solid transparent;
    border-bottom: 100px solid grey;
    border-left: 0px solid transparent;
    transform: skewY(-18deg);
    z-index: 6;
}

/* mountain2 */
#mountain2 {
    position: absolute;
    bottom: 0;
    left: 18vw;
    z-index: 15;
}
#front2 {
    position: absolute;
    bottom: 0;
    left: 0px;
    border-top: 0px;
    border-right: 210px solid transparent;
    border-bottom: 250px solid #87CEFF;
    border-left: 210px solid transparent;
    z-index: 5;
}

#side2 {
    position: absolute;
    bottom: 0;
    left: 210px;
    border-top: 0px;
    border-right: 150px solid transparent;
    border-bottom: 250px solid #658B9D;
    border-left: 0px solid transparent;
    transform-origin: top right;
    transform: skewX(18deg);
    z-index: 10;
}

#snow2 {
    position: absolute;
    bottom: -98px;
    left: -50px;
    border-top: 0px;
    border-right: 50px solid transparent;
    border-bottom: 100px solid #CEEAF6;
    border-left: 50px solid transparent;
    z-index: 5;
}

#snow-side2 {
    position: absolute;
    bottom: -94px;
    left: 0px;
    border-top: 0px;
    border-right: 26px solid transparent;
    border-bottom: 100px solid grey;
    border-left: 0px solid transparent;
    transform: skewY(-18deg);
    z-index: 6;
}

.home-image {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    opacity:1
}

/*.home-image img{*/
/*    height: 100%;*/
/*}*/

#background1 {
    position: relative;
}


.home-title {
    position: absolute;
    margin-top: -80px;
    margin-left: 120px;
    /* right: -430px; */
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 6.5em;
    font-weight: bold;
    text-align: left;
    color: white;
    z-index: 1;
}

/* Homepage second section */
#homepage-second {
    margin: 30px 5vw;
    /* background: #4C73B9; */
    /* background: linear-gradient(to bottom, #3f4c6b, #606c88); */
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 20px;

}

.homepage-about {
    padding-top: 20px;
    padding-left: 5vw;
    padding-right: 5vw;
    color: black;

}

.homepage-about h1 {
    font-size: 2.5em;
    font-family: 'Lato', sans-serif;
    padding-bottom: 20px;
}

/* Span text BEST */
.homepage-about h1 span {
    font-style: italic;
}

.homepage-about p {
    font-family: 'Lora', serif;
    font-size: 1.5em;
    color: #3B3B3B;
}

.homepage-about p span {
    /* font-style: italic; */
    font-weight: bold;
}

.choose {
    /* padding-left: 5vw;
    padding-right: 5vw; */
    padding: 0 5vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.choose a {
    margin-top: 50px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    /* width: 600px; */
    /* height: 500px; */
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

.homepage-choose-image {
    width: 500px;
    height: 500px;
    background-color: black;
    overflow: hidden;
}

.homepage-choose-image img {
    width: 100%;
    transition: all 0.3s;
    opacity: 0.75;
}

.choose a:hover img {
    transform: scale(1.1);
    opacity: 0.65;
    transition: all 0.3s;
}

.hover-text {
    width: 100%;
    top: 45%;
    text-align: center;
    position: absolute;
    color: white;
    font-size: 2em;
    font-family: 'Vollkorn', serif;
    font-style: italic;
    z-index: 10;
}

/* Homepage third section */
#homepage-third {
    position: relative;
    margin: 30px 5vw;
    padding-top: 20px;
    padding-bottom: 50px;
    /* background: #606c88; */
    /* background: linear-gradient(to bottom, #3f4c6b, #606c88); */
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 20px;
}

#homepage-third h1{
    color: black;
    font-family: 'Lato', sans-serif;
    font-size: 2.5em;
    padding-left: 5vw;
    padding-right: 5vw;
}

#slideshow {
    margin-top: 20px;
    margin-bottom: 20px;
}

#homepage-third-link {
    display: flex;
    justify-content: flex-end;
    padding: 0 40px;
}

#homepage-third-link a {
    background-color: #44517B;
    text-decoration: none;
    color: white;
    font-family: 'Lato', sans-serif;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

#homepage-third-link a:hover {
    background-color: #272F48;
    transition: all 0.3s ease;
}


