/* Body */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body{
    background-color: rgb(66, 66, 66);
}

/* Head */

.logo{
    height: 100px;
    margin: 10px;
    padding: 5px;
}

.searchbar{
    background-color: rgb(66, 66, 66);
    border: 5px solid rgb(50, 50, 50);
    height: 60px;
    width: 500px;
    color: white;
    font-size: 20px;
    border-radius: 15px;
    background-image: url(icons/searchf.png);
    background-size: 35px;
    background-repeat: no-repeat;
    background-position: 2px;
    background-position-x: 10px;
    padding-left: 55px;
}

.dropdown{
    position: relative;
    display: inline-block;
}

.dropdown-cont{
    margin-top: 1px;
    position: absolute;
    z-index: 1;
    display: none;
}

.dropdown-elem{
    color: white;
    padding: 10px;
    padding-left: 25px;
    text-decoration: none;
    font-size: 20px;
    display: block;
    cursor: pointer;
    background-color: rgb(50, 50, 50);
    border-bottom: rgba(255, 255, 255, 0.3) 1px solid;
    width: 500px;
}

.dropdown-elem-a{
    color: white;
    padding: 10px;
    padding-left: 25px;
    text-decoration: none;
    font-size: 20px;
    display: block;
    cursor: pointer;
    background-color: rgb(50, 50, 50);
    border-bottom: rgba(255, 255, 255, 0.3) 1px solid;
    font-weight: 700;
    width: 500px;
}

.dropdown-elem:hover, .dropdown-elem-a:hover{
    color: rgba(255, 255, 255, 0.5);
}

.head-icon{
    width: 40px;
    margin: 10px;
}

.head-link{
    background-color: rgb(50, 50, 50);
    border-radius: 15px;
    margin-right: 15px;
    cursor: pointer;
}

#h-selected{
    background-color: rgb(50, 50, 50);
    border-radius: 15px;
}

.logo-container, .head-menu{
    display: flex;
    justify-content: center;
    align-items: center;
}

.head-menu{
    margin: 45px;
    margin-top: 0;
}

.icon{
    height: 40px;
    margin: 30px;
}

.page-title-container{
    display: flex;
    justify-content: center;
}

.page-title{
    color: white;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 30px;
    display: none;
}

/* Navbar*/

.navbar{
    width: 100px;
    height: 100vh;
    position: fixed;
    background-color: rgb(50, 50, 50);
    transition: all .2s ease;
    z-index: 9;
}

.navbar-nav{
    list-style: none;
    display: flex;
    flex-direction: column;
}

.nav-item{
    display: flex;
    align-items: center;
}

.nav-item:hover{
    background-color: rgb(40, 40, 40);
}

.nav-item-selected{
    display: flex;
    align-items: center;
    background-color: rgb(40, 40, 40);
}

.nav-link{
    display: flex;
    align-items: center;
    color: white;
}

.link-text{
    display: none;
    font-weight: 600;
    margin: 5px;
}

.navbar:hover{
    width: 220px;
}

.navbar:hover .link-text{
    display: block;
}

/* Space tourism cards */

.content-container{
    display: flex;
    justify-content: center;
}

#grid-container{
    display: grid;
    grid-template-columns: repeat(3, 250px);
    grid-auto-rows: 100px;
    gap: 50px;
}

.grid-container-2{
    display: grid;
    grid-template-columns: repeat(3, 250px);
    grid-template-rows: repeat(2, 300px);
    grid-auto-rows: 100px;
    gap: 50px;
}

.grid-container-1{
    display: grid;
    grid-template-columns: repeat(3, 250px);
    grid-template-rows: repeat(1, 300px);
    grid-auto-rows: 100px;
    gap: 50px;
}

.box{
    background-color: rgb(50, 50, 50);
    border-radius: 10px;
}

.c-image{
    width: 250px;
    height: 150px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    object-fit: cover;
    cursor: pointer;
}

.c-title{
    color: rgb(0, 136, 255);
    font-size: 25px;
    font-weight: 600;
    margin: 20px;
    margin-top: 0;
    cursor: pointer;
    text-decoration: underline;
}

.c-title-large{
    color: rgb(0, 136, 255);
    font-size: 25px;
    font-weight: 600;
    margin: 20px;
    margin-top: 0;
    cursor: pointer;
    text-decoration: underline;
}

.c-title:hover{
    opacity: 0.7;
}

.c-title-large:hover{
    opacity: 0.7;
}

.c-type{
    margin: 20px;
    color: white;
    opacity: 0.4;
}

.c-price{
    color: rgb(0, 136, 255);
    font-weight: 600;
    margin-left: 20px;
    margin-top: 25px;
}

/* Footer */

.footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    opacity: 0.5;
}

.f-e1{
    margin-top: 50px;
}

.f-e3{
    margin: 10px;
}

.f-e4{
    margin-bottom: 10px;
    color: white;
    opacity: 0.9;
}

.f-e5{
    margin: 10px;
}

.f-icon{
    color: white;
    text-decoration: none;
}

.f-instalink{
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.instagram{
    height: 30px;
    margin: 10px;
}

/* Modal box */

.modal{
    display: none;
    position: fixed;
    z-index: 12;
    padding-top: 15px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-menu{
    display: none;
    position: fixed;
    z-index: 12;
    padding-top: 70px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content{
    background-color: rgb(66, 66, 66);
    margin: auto;
    padding: 20px;
    border: 1px solid rgb(40, 40, 40);
    border-radius: 10px;
    width: 80%;
}

.modal-content-menu{
    background-color: rgb(66, 66, 66);
    margin: auto;
    padding: 20px;
    border: 1px solid rgb(40, 40, 40);
    border-radius: 10px;
    width: 30%;
}

.menu-content{
    color: white;
    margin: 10px;
    font-size: 20px;
}

.menu-content:hover{
    opacity: 0.7;
}

.menu-list{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.item{
    height: 220px;
    width: 320px;
}

.item-image{
    object-fit: cover;
    height: 220px;
    width: 320px;
    margin: 5px;
}

.owl-prev{
    position: absolute !important;
    background-color: rgb(0, 136, 255) !important;
    height: 50px !important;
    width: 50px !important;
    font-size: 30px !important;
    top: 100px !important;
    left: 5px !important;
    opacity: 0.8 !important;
}

.owl-next{
    position: absolute !important;
    background-color: rgb(0, 136, 255) !important;
    height: 50px !important;
    width: 50px !important;
    font-size: 30px !important;
    top: 100px !important;
    right: 0px !important;
    left: 90% !important;
    opacity: 0.8 !important;
}

.owl-prev:hover{
    opacity: 0.6 !important;
    color: black !important;
}

.owl-next:hover{
    opacity: 0.6 !important;
    color: black !important;
}

.mod-title{
    color: rgb(0, 136, 255);
    margin: 5px;
}

.mod-type{
    color: white;
    opacity: 0.4;
    margin: 5px;
}

.mod-paragraph{
    margin: 5px;
    color: white;
    font-weight: 600;
    font-size: 20px;
}

.mod-price{
    margin: 5px;
    color: rgb(0, 136, 255);
    font-weight: 500;
}

.mod-link{
    color: rgb(0, 136, 255);
    font-size: 25px;
    margin: 5px;
    font-weight: 600;
    text-decoration: underline;
}

.mod-link:hover{
    opacity: 0.7;
}

.close-container{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.close{
    color: #aaaaaa;
    font-size: 50px;
    font-weight: bold;
}

#close-menu{
    color: #aaaaaa;
    font-size: 50px;
    font-weight: bold;
}

.close:hover{
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#close-menu:hover{
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* About */

.info-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.info-container p{
    color: white;
    font-weight: 600;
    font-size: 25px;
}

.info-container-media{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.info-container-media p{
    color: white;
    font-weight: 600;
    font-size: 25px;
    display: none;
}

.info-write{
    color: rgb(0, 136, 255);
}

@media screen and (max-width: 800px) {
    .logo{
        margin-bottom: 25px;
    }

    .page-title{
        display: block;
    }

    .c-title-large{
        font-size: 24px;
    }

    .searchbar{
        width: 275px;
    }

    .dropdown-elem{
        width: 275px;
    }

    .dropdown-elem-a{
        width: 280px;
    }

    .navbar{
        bottom: 0;
        width: 100vw;
        height: 100px;
        z-index: 9;
    }

    .navbar-nav{
        flex-direction: row;
        justify-content: space-around;
    }

    .nav-link{
        justify-content: center;
    }
    
    .navbar:hover{
        width: 100vw;
    }

    .navbar:hover .link-text{
        display: none;
    }

    #grid-container{
        display: grid;
        grid-template-columns: 250px;
        grid-template-rows: 300px;
        grid-auto-rows: 300px;
        gap: 50px;
    }
/*
    .grid-container-1{
        display: grid;
        grid-template-columns: 250px;
        grid-template-rows: 300px;
        grid-auto-rows: 300px;
        gap: 50px;
    }

    .grid-container-2{
        display: grid;
        grid-template-columns: 250px;
        grid-template-rows: 300px;
        grid-auto-rows: 300px;
        gap: 50px;
    }

    .grid-container-3{
        display: grid;
        grid-template-columns: 250px;
        grid-template-rows: 300px;
        grid-auto-rows: 300px;
        gap: 50px;
    }
*/
    .grid-container-4{
        display: grid;
        grid-template-columns: 250px;
        grid-template-rows: 300px;
        grid-auto-rows: 300px;
        gap: 50px;
    }

    .owl-nav{
    display: none;
    }

    .modal-content-menu{
        width: 80%;
    }

    .f-e2{
        display: none;
    }

    .info-container p{
        display: none;
    }

    .info-container-media p{
        display: block;
    }

    .instagram{
        height: 30px;
        margin-bottom: 110px;
        margin-top: 10px;
    }

    .item-image{
        margin: -1px;
    }
}