@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600&family=Open+Sans:wght@400;500&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root{
    /* Primary */

    --Very_Dark_Blue: hsl(243, 87%, 12%);
    --Desaturated_Blue: hsl(238, 22%, 44%);

    /* Accent */

    --Bright_Blue: hsl(224, 93%, 58%);
    --Moderate_Cyan: hsl(170, 45%, 43%);

    /* Neutral */

    --Light_Grayish_Blue: hsl(240, 75%, 98%);
    --Light_Gray: hsl(0, 0%, 75%);
}

body,
form,
.rooms,
header,
nav,
ul,
a{
    display: flex;
}

main{
    padding: 1em 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #2d3748;
}

body{
    font-family: 'Open Sans', 'Golos Text', Arial, Helvetica, sans-serif;
    flex-direction: column;
    font-size: 20px;
    /* background-image: url(./Images/patrick-langwallner-3pR7d-tIRx8-unsplash.jpg);
    background-repeat: no-repeat;
    background-size: cover; */
    background-color: beige;
}

header > img{
    cursor: pointer;
}

header{
    padding: 0px 2em;
}

.signup,
.login{
    text-decoration: none;
    color: var(--Desaturated_Blue);
    font-family: 'Open Sans', 'Golos Text', Arial, Helvetica, sans-serif;
    font-weight: 500;
}

/* header{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

header > img{
    width: 20%;
    padding-left: 1em;
}

header > nav{
    width: 40%;
    padding-right: 2.5em;
}
header > nav > ul{
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
}

header > nav > ul > a{
    text-decoration: none;
    list-style: none;
    color: #2d3748;
    font-size: 1.5em;
    font-weight: 400;
} */


/* main{
    display: flex;
    
} */

/* ROOMS */
.roomtype{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 90%;
    margin-bottom: 3em;
    color: #2d3748;
}

h2 > span{
    font-size: 16px;
}

.rooms,
.rooms > ul{
    display: flex;
    flex-direction: column;
}

ul li.available::after {
    content: " (available)";
    color: green;
  }
  
  ul li.unavailable::after {
    content: " (unavailable)";
    color: red;
  }
  
  

.rooms > h2{
    margin-bottom: 1em;
    /* border: solid rebeccapurple 2px; */
}

#s-room,
select,
#s-name{
    margin-bottom: 1em;
    font-family: 'Golos Text', Arial, Helvetica, sans-serif;
    padding: 0.5em;
}

form > button > a{
    color: white;
    text-decoration: none;
}
form > button > a:hover{
    color: white;
    text-decoration: none;
}


/* FOOTER */

footer{
    color: white;
    font-size: 18px;
    margin-top: auto;
    /* border: white solid 2px; */
}

.ph-num{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    line-height: 2.5rem;
}

.ph-logo{
    width: 20px;
    height: 18px;
    margin-right: 1rem;
}

.ph-num{
    margin-top: 2.5em;
}

.Phone, .email{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.ct-about{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2em;
    /* line-height: 2.5rem; */
}

.ct-about > a{
    color: white;
    text-decoration: none;
}

.ct-logo {
    width: 150px;
    filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(175deg) brightness(99%) contrast(108%);
  }

  .ct-contact{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    line-height: 2.5rem;
  }

  .social-media-logo{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
  }

  .social-media-logo > i{
    border: 2px var(--Light_Grayish_Blue) solid;
    border-radius: 50%;
    padding: 10px;
    width: 40px;
    display: flex;
    justify-content: center;
  }

  .social-media-logo > i:hover{
    cursor: pointer;
    color: var(--Desaturated_Blue);
    border: 2px hsl(238, 22%, 64%) solid;
  }

  a:hover{
    color: orange;
    transition: ease 0.2s;
  }



.card{
    display: flex;
    flex-direction: column;
    background-image: url(./Images/paperbg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    /* border: solid 2px rebeccapurple; */
}

.card > div{
    margin-bottom: 1em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}



@media(min-width: 1080px){
    header > nav{
        width: 50%;
    }
}



  /* DESKTOP VIEW */
@media (min-width: 500px){


    header{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    header > img{
        width: 20%;
    }
    
    header > nav{
        width: 40%;
        padding-right: 2.5em;
    }

    header > nav > ul{
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
    
    header > nav > ul > a{
        text-decoration: none;
        list-style: none;
        color: #2d3748;
        font-size: 1.5em;
        font-weight: 400;
    }
    

    main > h1{
        margin-bottom: 1em;
    }
    

    form{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    button,
    #submitButton{
        color: white;
        background-color: rgb(110, 150, 250);
        border: none;
        border-radius: 5px;
        box-shadow: 0px 0px 0px 0px rgba(0, 0, 0);
        margin-top: 1em;
        padding: 0.7em 3em;
        font-family: 'Golos Text', Arial, Helvetica, sans-serif;
        width: 30%;
        margin-bottom: 3em;
        cursor: pointer;
    }
    
    button:hover{
        background-color: rgb(30, 150, 250);
        transition: ease-in 0.2s;
    }

    .contact{
        background-color: rgb(46, 46, 151);
        padding: 5rem;
        color: white;
        font-family: 'Open Sans', sans-serif;
        display: grid;
        grid-template-columns: 2fr 3fr 1fr;
        grid-template-areas: "left mid right";
        grid-gap: 2em;
        padding-right: 25%;
        /* margin-bottom: 1rem; */
    }
    .phone2{
        grid-area: left;
    }
    
    .about2{
        grid-area: mid;
        padding-top: 3rem;
        padding-left: 7rem;
        /* display: grid;
        grid-template-columns: 1fr 1fr;
        border: solid red 1px; */
    }
    
    .contact2{
        grid-area: midright;
        /* border: solid red 1px; */
        padding-top: 3rem;
        width: 60%;
        padding-left: 2rem;
    }
    
    .social2{
        grid-area: right;
        padding-top: 3rem;
        width: 150%;
    }
    

    
  }

  /* mobile view */
@media (max-width: 500px) {
    header{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0px 1em;
    }
    
    header > img{
        width: 30%;
        /* padding-left: 1em; */
    }
    
    header > nav{
        width: 50%;
        /* padding-right: 2.5em; */
    }
    header > nav > ul{
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
    
    header > nav > ul > a{
        text-decoration: none;
        list-style: none;
        color: #2d3748;
        /* font-size: 1.5em; */
        font-weight: 400;
    }

    header > nav > ul > a > li{
        font-size: 15px;
    }
    
    .roomtype{
        display: flex;
        flex-direction: column;
    }


    .rooms > h2{
        margin-top: 1em;
    }

    form{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    button{
        color: white;
        background-color: rgb(110, 150, 250);
        border: none;
        border-radius: 5px;
        box-shadow: 0px 0px 0px 0px rgba(0, 0, 0);
        margin-top: 1em;
        padding: 1em 3em;
        font-family: 'Golos Text', Arial, Helvetica, sans-serif;
        margin-bottom: 3em;
        cursor: pointer;
    }

    .contact{
        background-color: rgb(46, 46, 151);
        padding: 5rem;
        color: white;
        font-family: 'Open Sans', sans-serif;
        display: grid;
        grid-template-rows: repeat(3, 1fr);
        grid-template-areas: "left" "mid" "right";
        grid-gap: 2em;
        padding-right: 25%;
        /* margin-bottom: 1rem; */
    }

    .phone2{
        grid-area: left;
    }
    
    .about2{
        grid-area: mid;
    }
    
    .contact2{
        grid-area: midright;
        padding-top: 3rem;
        /* width: 60%; */

    }
    
    .social2{
        grid-area: right;
        width: 100%;
    }
}
