* {
    box-sizing: border-box;
    margin: 0;  
} 

html {
    background-image: url(pics/background1.png);
    image-rendering: crisp-edges;
    background-size: cover;
    background-repeat: no-repeat;
}

body {
    font-family: 'Fondamento';
    height: 100vh;
    overflow: hidden;

}

.scene {
    height: 100%;
    width: 100%;
    position: relative;
}

header {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translatex(-50%);
    font-size: 40px;
}

header h1 {
    color: #D2DAE6;
    text-shadow: -2px 0 #264475, 0 2px #264475, 2px 0 #264475, 0 -2px #264475;
}

.headertext {
    position: absolute;
    top: 105px;
    left: 60%;
    transform: translatex(-60%);
    font-size: 24px;
    color: #264475;
}

.cloud1 img {
    height: 100px;
}

.cloud2 img {
    height: 50px;
}

.cloud1 {
    position: absolute;
    top: 10%;
    left: 30%;
    transform: translate(-50%, -50%);
    animation-name: cloud1animation;
    animation-duration: 20s;
    animation-iteration-count: infinite;
}

.cloud2 {
    position: absolute;
    top: 10%;
    left: 70%;
    transform: translate(-50%, -50%);
    animation-name: cloud2animation;
    animation-duration: 20s;
    animation-iteration-count: infinite;
}

@keyframes cloud1animation {

    0% {left: 15%;}
    50% {left: 25%;}
    100% {left: 15%;}
}

@keyframes cloud2animation {
    0% {left: 85%;}
    50% {left: 75%;}
    100% {left: 85%;}
}



.texts {
    width: 350px;
    position: absolute;
    top: 170px;
    left: 50%;
    transform: translatex(-50%);
    text-align: center;
    font-size: 20px;
    background-color: #D2DAE6;
    color: #091932;
    padding: 10px;
    border: 6px double #091932;
}


.star span {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    font-weight: bold;
    transform: translate(-50%, -50%);
    transition-duration: 1s;
    color: #264475;
}

.star {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.star img {
    height: 400px;
    transition-duration: 1s;
}

.star:hover img {
    height: 350px;
}

.star:hover span {
    opacity: 1;
    font-size: 80px;
}
