/*
Html elements
*/

html{
    scroll-behavior: smooth;
}

nav{
    min-height: 8vh;
}


nav li{
    padding-right: 15px;
    font-size: 0.85rem;
}

h4, h3, h2{
    font-family: "Ivar Headline","Ivar Headline Subset","Times New Roman", serif;
    font-weight: bold;
}
h3{
    font-size: 25px;
}
h4{
    font-size: 20px;
}
p {
    font-family: "Open Sans", Tahoma, Geneva, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}


/*
Classes
*/
.center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.shadow1 {
    box-shadow: 0 5px 10px rgba(154, 160, 185, .5), 0 15px 40px rgba(166, 173, 201, .2);
}

.shadow1:hover{
    box-shadow: 0 5px 10px rgba(154, 160, 185, .5), 0 15px 40px rgba(166, 173, 201, .5);

}

.button-hover{
    background-color:  #007bff!important;
    color: white !important;
}

.bg-light {
    background-color: #F9F9FB;

}

.grow {
    transition: all .3s ease-in-out;
}


.grow:hover {
    transform: scale(1.05);
}

/*
Modifications by ID
*/
#image {
    min-height: 60vh;
    background-color: white;
    background-image: url("../img/landscape image.jpg");
    background-position: 0 90%;
}

#navbar-items{
    margin-left: 17vw;
}

/*
Search
*/
#search{
    margin-top: 8vh;
    padding-left: 25%;
}

#search input{
    max-width: 60%;
    min-height: 60px;
}
#search input:hover{
    border: black 1px solid;
}

#search input:focus{
    border-color: rgba(104, 235, 239,0.5);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(104, 235, 239,0.5);
    outline: 0 none;
}


/*
CARDS
*/

#quote{
    margin-bottom: 5vh;
}

#cards {
    min-height: 50vh;
}

#cards .card{
    max-width: 24rem;
    margin: 0 auto;
    margin-bottom: 5vh;
    border: none 0;
}

#cards .container-fluid{
    max-width: 65vw;
}

#cards .container{
    padding-top: 5vh
}

#cards img{
    margin: 0 auto;
}

#cards p{
    text-align: center;
    margin-bottom: 30px;
}

/*
MEDIA TAGS
*/

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

    /*Searchbar*/
    #search input{
        max-width: 80%;
        min-height: 60px;
    }
    #search{
        padding-left: 20%;
    }

    /*CARDS*/
    #cards .container{
        min-width: 95vw !important;
    }

    #cards .container-fluid{
        max-width: 100vw;
    }

    #cards .card{
        min-width: 100vw;
        max-width: 100vw;
        margin-left: -12px;
        margin-right: 0;
        margin-bottom: 3vh;
    }
}