html {
    background-image: linear-gradient(#FC5E55, #FA4083);
}

body {
    background-image: url(./img/image-lion-background.png);
    background-position: top center;
    background-repeat: no-repeat;
    font-size: 1.125rem;
}
.container {
    width: 1024px;
    min-height: 300px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Roboto', sans-serif;
    color: white;
}

header {
    display: flex;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid lightgrey;
}

main {
    min-height: 300px;
    display: flex;
    align-items: center;
}

.main2 {
    min-height: 300px;
    padding-top: 50px;
}

.cards {
    display: flex;
    justify-content: space-between;
    text-align: center;
    
}

.cards1 {
    background-image: url(img/image-background-card1.jpg);
    min-height: 250px;
    width: 30%;
    background-size: cover;
    background-position: bottom;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.228);
    
}

.cards2 {
    background-image: url(img/image-background-card2.jpg);
    min-height: 250px;
    width: 30%;
    background-size: cover;
    background-position: bottom;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.228);
}

.cards3 {
    background-image: url(img/image-background-card3.jpg);
    min-height: 250px;
    width: 30%;
    background-size: cover;
    background-position: bottom;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.228);
}

.class1 {
    flex: 2;
    padding-right: 100px;
}

.card {
    flex: 1;
    
}

.head1 {
    flex: 2;
}

nav {
    flex: 1;
    text-align: right;
}

h1 {
    font-size: 3.25rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    margin-top: 20px;
}


p {
    line-height: 1.75rem;
    margin-bottom: 0.5rem;
}

.cards1, .cards2, .cards3 {
    padding: 30px 30px 20px 30px;
    box-sizing: border-box;
}

.cards p {
    font-size: 0.85rem;
    line-height: 1.2rem;
    margin-top  : 10px;
}

i {
    font-size: 6.25rem;
}

a {
    color: white;
    text-decoration: none;
}

.class1 a {
    background-color: white;
    padding: 11px 25px;
    color: #FA4083;
    font-family: 'Playfair Display', serif;
    display: inline-block;
    border-radius: 2px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.228);
}

.class1 a:hover {
    background-color: rgb(29, 213, 103);
    transition-duration: 1s;
}

a.button {
    border: 2px solid white;
    color: white;
    padding: 9px 15px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.228);
    font-family: 'Playfair Display', serif;
}

.testimonials {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 100px;
}

.tbox {
    border: 1px solid white;
    width: 47%;
    padding: 50px;
    box-sizing: border-box;
    margin-top: 50px;
}


.tbox :last-child{
    font-size: .8rem;
    padding-left: 30px;
}

.navbutton {
    border: 1px solid white;
    padding: 11px 17px;
    font-family: 'Playfair Display', serif;
    display: inline-block;
    position: relative;
}


.dropdown {
    display: none;
    position: absolute; 
    padding-top: 20px;
    text-align: center;
}

.navbutton:hover .dropdown {
    display: block;
}

.dropdown .navbutton {
    width: 120px;
    background-color: white;
}

.dropdown .navbutton a {
    color: #FA4083;
}

.placehold {
    margin-bottom: 20px;
}

input[type=name], input[type=email], textarea {
    padding: 12px 20px;
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    box-sizing: border-box;
}

.newline {
    display: block;
    margin-bottom: 10px;
}

.margin-right {
    margin-right: 30px;
}

.submitbutton {
    padding: 10px;
    width: 80px;
    cursor: pointer;
    
}

form {
    margin-bottom: 10px;
}

.submitbutton:hover {
    background-color: #45a545;
    transition-duration: 500ms;
}
