@keyframes fadeIn{
    0% { opacity: 0;}
    100% {opacity: 1;}
}

@keyframes fadeOut{
    0% { opacity: 1;}
    100% {opacity: 0;}
}

body{
    padding: 0;
    margin: 0;
}

h1{
    font-family: Arial, Helvetica, sans-serif;
    font-style: bold;
    font-size: 50px;
    margin-bottom: 10px;
}

p{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    
}

.slide{
    height: 100vh;
    position: fixed;
    width:100%;
    transition: 0.5s;
}

section.slides div:first-child{
    z-index:1;
}


nav{
    font-family: Arial, Helvetica, sans-serif;
    position: fixed;
    color: white;
    z-index: 5000;
    position: fixed;
    top: 170px;
    left: 40px;
}

.logo{
    width: 288px;
    position: fixed;
    top: 40px;
    left: 40px;
    z-index: 5000;

}

button{
    border: 1px solid white;
    padding: 15px 40px 15px 40px;
    border-radius: 25px;
    background-color: transparent;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
}



#one .menu{
    position: relative;
    width:calc(33% - 80px);
    height:calc(50vh - 80px);
    background-color:#40E0D0 ;
    color: white;
    float:left;
    top:0;
    padding: 40px;
}

#one .icon{
    width: 200px;
    position: absolute;
    bottom: 40px;
    right: 40px;
    transform: rotate(-20deg);
}

#one .img{
    width: 67%;
    height: 100vh;
    background-image:url("assets/high-angle-photo-of-white-boat-on-body-of-water-1295036.jpg");
    background-size: cover;
    top: 0;
    right: 0;
    position: absolute;
    background-position: center;
}

#one .text{
    width: 80%;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    right: 40px;
    color: white;
}  

#one .count{
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 170px;
    color: #E7E7E7;
    position: absolute;
    bottom: 0;
    left:0;
    height: 50vh;
    width: 33%;
}

#two .menu{
    position: relative;
    width:calc(67% - 80px);
    height:calc(100vh - 80px);
    background-color:#819DF9 ;
    color: white;
    float:left;
    top:0;
    padding: 40px;
}

#two .icon{
    width: 200px;
    position: absolute;
    top: 150px;
    right: 150px;
    transform: rotate(20deg);
}

#two .img{
    width: 33%;
    height: 50vh;
    background-image:url("assets/boat-ship-sailboat-paper-19678.jpg");
    background-size: cover;
    top: 0;
    right: 0;
    position: absolute;
    background-position: center;
}

#two .text{
    width: 80%;
    bottom: 100px;
    position: absolute;
    left: 40px;
    color: white;
    float: left;
}  

#two .count{
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 170px;
    color: #E7E7E7;
    position: absolute;
    bottom: 0;
    right:0;
    height: 50vh;
    width: 33%;
}

#three .menu{
    position: relative;
    width:calc(33% - 80px);
    height:calc(50vh - 80px);
    background-color:#008080 ;
    color: white;
    float:left;
    top:0;
    padding: 40px;
}

#three .icon{
    width: 200px;
    position: absolute;
    bottom: 40px;
    right: 40px;
    transform: rotate(-20deg);
}

#three .img{
    width: 67%;
    height: 100vh;
    background-image:url("assets/boat-deep-ocean-idyllic-leisure-570987.jpg");
    background-size: cover;
    top: 0;
    right: 0;
    position: absolute;
    background-position: center;
}

#three .text{
    width: 80%;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    right: 40px;
    color: white;
}  

#three .count{
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 170px;
    color: #E7E7E7;
    position: absolute;
    bottom: 0;
    left:0;
    height: 50vh;
    width: 33%;
}

main section:first-child{
    z-index:1;
}