@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@574&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap');
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

nav {
    background-color: rgba(grey, grey, grey, .5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    z-index: 999;
}

nav a:link {
    background-color: rgba(255, 253, 253, 0.52);
    padding: 20px;
    text-decoration: none;
    color:#fff;
    flex-grow: 1;
    text-align: center;
    text-transform: capitalize;
}

nav a:visited {
    color: rgb(155, 43, 43);
}

nav a:hover {
    background-color: rgba(255, 255, 255, .35);
}

section#container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

video#bgvid {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
}

hgroup h1 {
    font-family:'Dancing Script', cursive;
    font-weight: 500;
    font-size: 2vmax;
    color: aliceblue;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0vmax;
    line-height: 5vmax;
    animation: slider 3s;
}

@keyframes slider {
    from{opacity: 0; left: 200px;}
    to {opacity: 1; left: 20px;}
}


hgroup h2 {
    font-family:'Dancing Script', cursive;
    font-weight: 300;
    font-size: 1vmax;
    color: aliceblue;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0vmax;
    animation: slider 3s; 
}

@keyframes slider {
    from{opacity: 0; left: 200px;}
    to {opacity: 1; left: 20px;}
}


section#container_two {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

video#bgvid_two {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
}

.head_intro {
    width: 100%;
    min-height: 70vh;
    height: auto;
    padding: 60px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.head_intro h1 {
    font-family:  'Shadows Into Light', cursive;
    font-weight: 900;
    color: rgb(47, 65, 228);
    font-size: 50px;
    text-transform: capitalize;
    animation: slider 3s; 
}
@keyframes slider {
    from{opacity: 0; left: 200px;}
    to {opacity: 1; left: 20px;}
}

#fig_container {
    width: 100%;
    min-height: 50vh;
    height: auto;
    display: flex;
    align-content: space-between;
    justify-content: space-evenly;
   
}

#fig_container2 {
    width: 100%;
    min-height: 50vh;
    height: auto;
    display: flex;
    align-content: space-between;
    justify-content: space-evenly;
   
}

figure{
    width: 30%;
    display: flex;
    position: relative;
    overflow: hidden;
    height: 300px;
    box-shadow: 2px 2px 4px rgba(0,0,0,.55);
    transition: all .3s;
    transform: rotate(0deg);
}

figure:hover {
    box-shadow: 6px 6px 30px rgba(0,0,0,.55);
    transform: rotate(-1.5deg);
}

figure figcaption {
    
        position:absolute;
        bottom: -100px;
        width: 100%;
        text-align: center;
        padding: 35px;    
        color:rgb(219, 38, 38);
        font-family: Arial, Helvetica, sans-serif;
        font-style: bold;
        font-size: 20px; 
        transition: all .3s .2s;
        text-transform: uppercase;
    
}

figure:hover figcaption {
    bottom: 0;
}

figure h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 25px;
    color: #fff;
    text-shadow: 2px 2px 0 #333;
    text-align: center;
    text-transform: capitalize;
    position: absolute;
    top: 40px;
    width: 100%;
    transition: all .3s;
}

figure:hover h1 {
    top: 100px;
}



#f1 {
    background: url(../images/h1.jpg) no-repeat left center;
}
#f1:hover {
    background: url(../images/h1.jpg) no-repeat center center;
}

#f2 {
    background: url(../images/h2.jpg) no-repeat left center;
}
#f2:hover {
    background: url(../images/h2.jpg) no-repeat center center;
}

#f3 {
    background: url(../images/h3.jpg) no-repeat left center;
}
#f3:hover {
    background: url(../images/h3.jpg) no-repeat center center;
}

#f4 {
    background: url(../images/h4.jpg) no-repeat left center;
}
#f4:hover {
    background: url(../images/h4.jpg) no-repeat center center;
}

#f5 {
    background: url(../images/m3.jpg) no-repeat left center;
}
#f5:hover {
    background: url(../images/m3.jpg) no-repeat center center;
}

#f6 {
    background: url(../images/m5.jpg) no-repeat left center;
}
#f6:hover {
    background: url(../images/m5.jpg) no-repeat center center;
}

.islands_col {
    padding: 20px;
    min-height: 30vh;
    height: 10%;
    background: rgba(255, 253, 253, 0.52);
}

.islands_col article  {
    padding: 30px;
    width:100%;
    border-radius: 20px;
    column-count: 3;
    column-gap: 30px;
    column-rule: 1px solid #999;
    margin-bottom: 5px;
    
}

.islands_col article p {
    font-size: 18px;
    letter-spacing: 0.8px;
    font-family: monospace;
}

.islands_col h2 {
	font-size: 42px;
	color: #555;
    text-transform: capitalize;
    font-family: 'Shadows Into Light', cursive;
    font-weight: 900;
}

video.vid {
    width: 100%;
}

section#container_three {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

video#bgvid_three {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
}

.head1_intro {
    width: 100%;
    min-height: 70vh;
    height: auto;
    padding: 60px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.head1_intro h1 {
    font-family:  'Shadows Into Light', cursive;
    font-weight: 900;
    color: rgb(47, 65, 228);
    font-size: 50px;
    text-transform: capitalize;
    animation: slider 3s; 
}
@keyframes slider {
    from{opacity: 0; left: 200px;}
    to {opacity: 1; left: 20px;}
}

section {
    min-height: 90vh;
    height: auto;
    padding: 50px;
}
#in_island {
    background: url(../images/m1.jpg) no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

#in_palm {
    background: url(../images/m2.jpg) no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

#in_sunset {
    background: url(../images/m3.jpg) no-repeat center center;
    background-size: cover;
    display: flex;
    column-count: 3;
    justify-content: space-evenly;
    align-items: center;
}

section article {
    width: 100%;
    background-color: rgba(255,255,255, .45);
    padding: 40px;
    border-radius: 20px;  
 }
 
 section article h1 {
     font-family: 'Shadows Into Light', cursive;
     color: crimson;
     font-weight: 900;
     letter-spacing: 2px;
     font-size: 39px;
     text-transform: capitalize;
 }
 
 section article p {
    font-family: monospace;
     font-size: 25px;
     letter-spacing: 1px;
     line-height: 25px;
     margin-bottom: 40px;
     }

 a:link.btn {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    transform: all .5s;
}
a:visited.btn{
    color: #fff;
}

a:hover.btn{
    background: rgb(133, 115, 118);
}

section#container_four {
    width: 100%;
    min-height: 100vh;
    height: auto;
    background: url(../images/b1.jpg) fixed no-repeat center center;
    background-size: cover;
}

.head2_intro {
    width: 100%;
    min-height: 70vh;
    height: auto;
    padding: 60px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.head2_intro h1 {
    font-family:  'Shadows Into Light', cursive;
    font-weight: 900;
    color: rgb(47, 65, 228);
    font-size: 50px;
    text-transform: capitalize;
    animation: slider 3s; 
}
@keyframes slider {
    from{opacity: 0; left: 200px;}
    to {opacity: 1; left: 20px;}
}

video#bgvid_four {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;

}

 div {
    background: rgba(255,255,255, .45);
    border-radius: 20px;
}

div h1 {
    color: blue;
    font-size: 32px;
    text-align: center;

}

div p {
   
    padding: 30px;
    width:100%;
    color:black;
    font-family: monospace;
    font-size: 21px;
    columns: 3;
    column-gap: 40px;
    column-rule: 1px solid black;
    overflow: hidden;
}

footer {
    background: rgba(170, 170, 170, 0.596);
    padding: 30px;
} 

footer h1{
    color: crimson;
    font-size: 15px;
}

footer a {
    display: flex;
    flex-flow: column;
    position: relative;
    font-size: 25px;
}

#form_wrap {
    width: 100%;
    height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(../images/m3.jpg) fixed no-repeat center center;
}

form {
    width: 40%;
    background: #999;
    border-radius: 10px;
    padding: 20px;
}

input[type=text], input[type=email] {
    width: 60%;
    padding: 12px 0 4px 4px;
    margin: 6px 0 20px;
    display: block;
    border: none;
    border-bottom: 1px dotted #000;
    font-size: 18px;
    font-family: monospace;
    color: black;
    background: blanchedalmond;
    transition: all .3s;
}

input[type=text]:focus, input[type=email]:focus {
    width: 100%;
    color: blue;
    outline: none;
    border-bottom: 1px dotted blue ;
}

input[type=submit] {
    display: inline-block;
    width: 20%;
    background-color: darkblue;
    color: white;
    padding: 10px 20px;
    margin: 14px 0;
    outline: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    font-family: monospace;
    transition: all .3s;
}

input[type=submit]:hover {
    background-color: #333;
}

textarea {
    display: block;
    width: 100%;
    height: 150px;
    padding: 12px 20px;
    margin: 6px 0 20px;
    border-radius: 4px;
    border: none;
    border-bottom: 1px dotted #000;
    background-color: #fff;
    font-size: 18px;
    resize: none;
    color: lavenderblush;
    font-family: monospace;
    transition: all .3s;
}

textarea:focus {
    background: #333;
    color: lavenderblush;
    outline: none;
}

@media only screen and (max-width: 980px) {
    
    .islands_col article {
        column-count: 2;
    }
  
    video#bgvid_four {
        width: 50%;
    }
    
    article h2 {
        font-size: 3.5vmax;
    }

    footer div {
        column-count: 2;
    }

    footer h1 {
        font-size: 3.5vmax;
    }   
    
    form {
        width: 70%;
    }

    nav{
        width: 100%;
    }
}

div p{
    column-count: 2;
}

@media only screen and (max-width: 600px) {

   


    section#container_two {
        background: url(../images/waves.png) no-repeat center center;       
        background-size: cover;
    }

    section#container {
        background: url(../images/sea.png) no-repeat center center;       
        background-size: cover;
    }
    section#container_three {
        background: url(../images/surfers.png) no-repeat center center;       
        background-size: cover;
    }

    .nav:link {
        font-size: 23px;
    }
    
    video#bgvid_four {
        display: none;
    }

    video#bgvid_three {
        display: none;
    }

    video#bgvid_two {
        display: none;
    }

    video#bgvid {
        display: none;
    }

   
    .islands_col article {
        column-count: 1;
    }

    div p{
        column-count: 1;
    }

    article h2 {
        font-size: 2vmax;
    }

    footer div {
        column-count: 1;
    }

    footer h1 {
        font-size: 2.5vmax;
    }
    form {
        width: 100%;
    }
}

