* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
}

a {
  text-decoration: none;
  color: white;
}

.container {
  width: 100%;
}

.btn {
  background: teal;
  color: white;
  padding: 10px;
  border-radius: 5px;
  transition: 0.4s;
  border: none;
}

.about-column-text .btn {
  width: 10rem;
}

.btn-secondary {
  background: var(--secondary);
  color: black;
  padding: 10px;
  border-radius: 5px;
  transition: 0.4s;
}

.btn:hover {
  opacity: 0.9;
  color: black;
}

.btn-secondary:hover {
  opacity: 0.7s;
}

header {
  z-index: 6;
}

.main::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.568);
  top: 0;
  left: 0;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.705);
  width: calc(100% - 1rem);
  padding: 10px;
  opacity: 0.8;
  position: fixed;
  z-index: 1;
  font-size: 1.7rem;
}

.navbar {
  margin-top: 7px;
}

.navbar a {
  color: white;
  transition: 0.3s;
  padding: 0 5px;
}

.navbar a:hover {
  border-bottom: 2px solid goldenrod;
}

.logo {
  color: gainsboro;
}

.img-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: white;
}

.img-content h2 {
  font-size: 4rem;
}

.img-content p {
  font-size: 2rem;
  margin: 2rem;
}

.img-content a {
  font-size: 2rem;
}

.main {
  background-image: url(../images/bg-1.jpeg);
  height: 100vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.main.blogs {
    background-image: url(../images/bg-2.jpeg);
    height: 50vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
  }

.main * {
  z-index: 5;
}

/* main */

.flex-box {
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  text-align: center;
  background-color: gainsboro;
  padding: 2rem;
}

.flex-items i {
  color: goldenrod;
  background-color: teal;
  padding: 1.5rem;
  border-radius: 50%;
}

.flex-items p {
  font-size: 1.2rem;
  line-height: 1.5rem;
  padding: 0 1.5rem;
}

/* about */

.columns {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
}

.columns .about-column-img,
.columns .about-column-text {
  flex: 1;
}

.about-column-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.about-column-text {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  justify-content: center;
}

.about-column-text h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.about-column-text p {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.flex-reverse {
  flex-direction: row-reverse;
}

/* gallery */

.gallery-header {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
    font-size: 2rem;
}

.gallery-header h2 {
    font-size: 2.5rem;
    padding: 2rem;
}

.gallery-header p {
    padding: 0 0 2rem 0;
}

.gallery-img {
    display: flex;
    margin: 2rem 2rem;
}

.gallery-col1 {
    display: flex;
    width: 25%;
    flex-direction: column;
}

.gallery-col1 img {
    padding: .2rem;
}

.gallery-col1 img:hover {
    opacity: .8;
    cursor: pointer;
}

/* rooms */

.rooms {
    width: 100%;
    
}

.cards {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.card {
    width: 33%;
    padding: 3rem;
}

.card img {
    width: 100%;
}

.card img:hover {
    opacity: 0.8;
    cursor: pointer;
}

.card-body {
    background-color: rgb(216, 167, 8);
    padding: 3rem;
    font-size: 1.5rem;
    color: white;
}

/* teams  */

.teams-body img{
    border-radius: 50%;
}

.teams-texts {
    text-align: center;
    font-size: 1.5rem;
    padding: 1.5rem;
}

/* contact */

.contact {
    margin-top: 1rem;
}

.contact h2 {
    font-size: 4rem;
}

.contact-img img {
    width: 100%;
    height: 100%;
}

.forms-item {
    padding: 1.5rem 0
}

.forms-item label {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.forms-item input {
    display: block;
    width: 90%;
    border: 1px solid gray;
    padding: .5rem;
}

.contact-form button {
    margin-top: 1rem;
}

/* articles */

.article .about-column-img {
    flex: 2;
}

.article .about-column-text {
    flex: 3;
}

.articles {
    padding: 2rem;
}

/* footer */

.footer-social a {
    font-size: 3rem;
    color: goldenrod;
}

.article {
    margin: 1rem;
}


.flex-row-center {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
}

footer {
    height: 10rem;
}

footer a:hover {
    opacity: .7;
}

@media (max-width:768px) {
    html {
        font-size: 8px;
    }

    .main-header {
        flex-direction: column;
    }

    .main {
        text-align: center;
    }

    .flex-box {
        flex-direction: column;
    }

    .flex-items {
        padding: 1rem 0;
    }

    .flex-items h3 {
        padding: .5rem;
    }

    .columns {
        flex-direction: column;
    }

    .about-column-text {
        align-items: center;
    }

    .gallery-img {
        flex-wrap: wrap;
    }

    .gallery-col1 {
        width: 50%;
    }

    .cards {
        flex-direction: column;
    }

    .card {
        width: 100%;
    }

    .teams-body {
        display: flex;
        flex-direction: column;
        align-items: center;    
    }

    .teams-body img {
        width: 70%;
    }
}