* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
body {
  font-family: 'Montserrat', sans-serif;
  background: #fde4d5;
}
a {
  text-decoration: none;
  color: #fff;
}
ul {
  list-style: none;
}
h1 {
  font-family: 'Lora', serif;
  font-size: 21px;
  color: rgb(182, 246, 4);
  font-weight: 300;
  text-align: center;
  line-height: 1.6;
}
p {
  line-height: 1.6;
}
.father {
  display: flex;
  flex-flow: column nowrap;
}
.inner-padding {
  padding: 0 50px;
}
.header {
  background: url('../images/bazzar.jpg');
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  flex-flow: column nowrap;
}
.image-container {
  display: flex;
}
.image-leftcolumn {
  width: 50%;
  background: url('../images/university-mainpage.jpg') no-repeat;
  background-size: cover;
  height: 100vh !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.image-rightcolumn {
  width: 50%;
  background: url('../images/market-mainpage.jpg') no-repeat;
  background-size: cover;
  height: 100vh !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.mybutton {
  background-color: #fde4d5;
  border: none;
  color: black;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 8px;
  width: 50%;
  box-shadow: 0 8px 16px 0 rgba(240, 7, 7, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.esp-flag-icon-background {
  background: url('../images/spanish.png') no-repeat;
  background-size: cover;
  background-position: 50%;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
}
.eng-flag-icon-background {
  background: url('../images/eng.png') no-repeat;
  background-size: cover;
  background-position: 50%;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
}
.mybutton:hover {
  background-color: black;
  color: white;
}

.headerBar {
  position: sticky;
  top: 0px;
  background-color: rgb(112, 43, 43);
  width: 100%;
  z-index: 1000;
}
.container {
  max-width: 65rem;
  padding: 0 2rem;
  margin: 0 auto;
  display: flex;
  position: relative;
}
.logo-container {
  flex: 1;
  display: flex;
  align-items: center;
}
.nav-btn {
  flex: 3;
  display: flex;
  /* display: none;*/
}
.nav-links {
  flex: 2;
}
.log-sign {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}
.logo {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.2rem;
}
.logo span {
  font-weight: 300;
}
.btn {
  display: inline-block;
  padding: 0.5rem 1.3rem;
  font-size: 0.7rem;
  border: 2px solid #fff;
  border-radius: 2rem;
  line-height: 1;
  margin: 0 0.2rem;
  transition: 0.3s;
  text-transform: uppercase;
}
.btn.solid,
.btn.transparent:hover {
  background-color: #fff;
  color: #69bde7;
}
.btn.transparent,
.btn.solid:hover {
  background-color: transparent;
  color: #fff;
}
.nav-links > ul {
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav-link {
  position: relative;
}
.nav-link > a {
  line-height: 3rem;
  color: #fff;
  padding: 0 0.8rem;
  letter-spacing: 1px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.5s;
}
.nav-link > a > i {
  margin-left: 0.2rem;
}
.nav-link:hover > a {
  transform: scale(1.1);
}
.dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  width: 10rem;
  /*transform: translateY(10px);*/
  opacity: 0;
  pointer-events: none;
  transition: 0.5s;
}
.dropdown ul {
  position: relative;
}
.dropdown-link > a {
  display: flex;
  background-color: rgb(112, 43, 43);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  align-items: center;
  justify-content: space-between;
  transition: 0.3s;
}

.dropdown-link:hover > a {
  background-color: rgb(248, 102, 45);
  color: #fff;
}
.dropdown-link:not(:nth-last-child(2)) {
  border-bottom: 1px solid #efefef;
}
.dropdown-link > i {
  transform: rotate(-90deg);
}
.arrow {
  position: absolute;
  width: 11px;
  height: 11px;
  top: -5.5px;
  left: 32px;
  background-color: rgb(112, 43, 43);
  transform: rotate(45deg);
  cursor: pointer;
  transition: 0.3s;
  z-index: -1;
}

.dropdown-link:first-child:hover ~ .arrow {
  background-color: #f8662d;
}
.dropdown-link {
  position: relative;
}
.dropdown.second {
  top: 0;
  left: 100%;
  padding-left: 0.8rem;
  cursor: pointer;
  /* transform: translateX(10px); */
}
.dropdown.second .arrow {
  top: 10px;
  left: -5.5px;
}
.nav-link:hover > .dropdown,
.dropdown-link:hover > .dropdown {
  /* transform: translate(0, 0);*/
  opacity: 1;
  pointer-events: auto;
}

/* mobile size */
.hamburger-menu-container {
  flex: 1;
  /* display: flex; */
  display: none;
  align-items: center;
  justify-content: flex-end;
}
.hamburger-menu {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hamburger-menu div {
  width: 1.6rem;
  height: 3px;
  border-radius: 3px;
  background-color: #fff;
  position: relative;
  z-index: 1001;
  transition: 0.5s;
}
.hamburger-menu div::before,
.hamburger-menu div::after {
  content: '';
  position: absolute;
  width: inherit;
  height: inherit;
  background-color: #fff;
  border-radius: 3px;
}

.hamburger-menu div::before {
  transform: translateY(-7px);
}
.hamburger-menu div::after {
  transform: translateY(7px);
}
#check {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  z-index: 90000;
  cursor: pointer;
  opacity: 0;
  display: none;
}
#check:checked ~ .hamburger-menu-container .hamburger-menu div {
  background-color: transparent;
}
#check:checked ~ .hamburger-menu-container .hamburger-menu div::before {
  transform: translateY(0) rotate(-45deg);
}
#check:checked ~ .hamburger-menu-container .hamburger-menu div::after {
  transform: translateY(0) rotate(45deg);
}

@keyframes animation {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}
/*End of menu*/
.image-principal {
  height: 100%;
  display: flex;
  align-items: center;
}
.header .image-principal h1 {
  font-size: 27px;
  font-weight: bolder;
  padding: 20px;
  text-shadow: 3px 3px 6px rgb(0, 0, 0);
}
.section {
  display: flex;
  flex-flow: row wrap;
}
.articles {
  /* background: #fde4d5; */
  flex: 2 1 70%;
  display: flex;
  flex-flow: row wrap;
}

.article {
  color: #444;
  font-size: 13px;
  letter-spacing: 1px;
  flex: 1 1 45%;
  margin: 10px 10px 0 0;
  display: flex;
  flex-flow: column nowrap;
  padding: 30px;
}
.article h3 {
  color: #fff;
  font-size: 13px;
  padding: 10px 0px;
  margin-top: -80px;
  text-align: center;
  flex: 1 1 0%;
}
.article h2 {
  font-size: 18px;
  text-transform: uppercase;
  padding: 0 0 10px 0;
  color: rgb(133, 35, 35);
  text-align: center;
  flex: 1 1 0%;
}
.article img {
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 10px;
  flex: 5 1 100%;
}
.article a {
  color: #fff;
  font-size: 13px;
  padding: 10px;
  margin: 10px 10px;
  background: rgb(133, 35, 35);
  /* rgb(233, 69, 69); */
  display: inline-block;
  border-radius: 5px;
  text-align: center;
}
.article a:hover {
  background: #f8662d;
}
#article-target {
  flex: 1 1 100%;
}
#article-target h2 {
  text-shadow: 3px 3px 9px rgba(85, 0, 136, 0.5);
  color: rgb(133, 35, 35);
}
.article-nav {
  background: rgb(133, 35, 35);
  flex: 1 1 100%;
  margin: 10px 10px 0 0;
}
.article-nav a {
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  padding: 0 10px;
  letter-spacing: 2px;
}
.article-nav a:hover {
  color: #edc988;
}
.aside {
  margin: 10px 0 10px 0;
  flex: 1 1 30%;
}
.aside img {
  width: 100%;
}
.aside h4 {
  padding: 10px;
  text-transform: uppercase;
  color: #fff;
  background-color: rgb(133, 35, 35);
}
.advertising {
  padding: 10px;
}

.slider-container {
  flex: 1 1 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* width: 60%; */
  height: 350px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.footer {
  margin-top: 40px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  background: rgb(133, 35, 35);
  color: #edc988;
  box-shadow: 1px 1px 50px -7px rgb(133, 35, 35, 0.842);
}
.footer ul {
  list-style: none;
  color: #edc988;
  padding: 10px;
}
.footer a {
  font-size: 11px;
}
.footer a:hover {
  color: #edc988;
}
.products-footer {
  display: flex;
  flex-flow: row nowrap;
  flex: 2 1 70%;
}
.companyInfo-footer {
  flex: 1 1 30%;
}
.copy-right-footer {
  flex: 1 1 100%;
  text-align: center;
  height: 40px;
  padding: 10px;
  font-size: 12px;
}

@media all and (max-width: 920px) {
  .image-container {
    flex-direction: column;
  }
  .image-leftcolumn {
    width: 100%;
    background: url('../images/university-mainpage.jpg') no-repeat;
    background-size: cover !important;
    height: 50vh !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .image-rightcolumn {
    width: 100%;
    background: url('../images/market-mainpage.jpg') no-repeat;
    background-size: cover !important;
    height: 50vh !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .secondary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }
  .inner-padding {
    padding: 0;
  }
  .header {
    position: sticky;
  }
  /* start of menu*/
  .hamburger-menu-container {
    display: flex;
  }
  #check {
    display: block;
  }

  .nav-btn {
    position: fixed;
    height: calc(100vh - 2.5rem);
    top: 2.5rem;
    left: 0;
    width: 100%;
    background-color: rgb(112, 43, 43);
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(100%);
    transition: 0.65s;
  }
  #check:checked ~ .nav-btn {
    transform: translateX(0);
  }
  #check:checked ~ .nav-btn .nav-link,
  #check:checked ~ .nav-btn .log-sign {
    animation: animation 0.5s ease forwards var(--i);
  }

  .nav-links {
    flex: initial;
    width: 100%;
  }
  .nav-links > ul {
    flex-direction: column;
  }
  .nav-link {
    width: 100%;
    opacity: 0;
    transform: translateY(15px);
  }
  .nav-link > a {
    line-height: 1;
    padding: 1.6rem 2rem;
  }
  .nav-link:hover > a {
    transform: scale(1);
    background-color: rgb(248, 102, 45);
  }
  .dropdown,
  .dropdown.second {
    position: initial;
    top: initial;
    left: initial;
    transform: initial;
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    padding: 0;
    background-color: rgb(187, 78, 35);
    display: none;
  }
  .nav-link:hover > .dropdown,
  .dropdown-link:hover > .dropdown {
    display: block;
  }
  .nav-link:hover > a > i,
  .dropdown-link:hover > a > i {
    transform: rotate(360deg);
  }
  .dropdown-link > a {
    background-color: transparent;
    color: #fff;
    padding: 1.2rem 2rem;
    line-height: 1;
  }
  .dropdown.second .dropdown-link > a {
    padding: 1.2rem 2rem 1.2rem 3rem;
  }
  .dropdown.second .dropdown.second .dropdown-link > a {
    padding: 1.2rem 2rem 1.2rem 4rem;
  }
  .arrow {
    z-index: 1;
    background-color: rgb(187, 78, 35);
    left: 10%;
    transform: scale(1.1) rotate(45deg);
    transition: 0.5s;
  }
  .nav-link:hover > .arrow {
    background-color: #50a9d6;
  }
  .dropdown .dropdown .arrow {
    display: none;
  }
  .dropdown-link:hover > a {
    background-color: rgb(141, 49, 13);
  }
  .dropdown-link:first-child:hover ~ .arrow {
    background-color: rgb(141, 49, 13);
  }
  .nav-link > a > i {
    font-size: 1.1rem;
    transform: rotate(-90deg);
    transition: 0.7s;
  }
  .dropdown i {
    font-size: 1rem;
    transition: 0.7s;
  }
  .log-sign {
    flex: initial;
    width: 100%;
    padding: 1.5rem 1.9rem;
    justify-content: flex-start;
    transform: translateY(15px);
  }
  /*end of menu*/

  .section {
    flex-direction: column;
  }
  .header .image-principal h1 {
    font-size: 25px;
    font-weight: bolder;
    padding: 30px 20px;
  }

  .aside {
    display: flex;
    justify-content: center;
  }
  .slider-container {
    display: none;
  }
  /* .slider-container {
    width: 350px;
    height: 250px;
  } */
}

@media all and (max-width: 500px) {
  .image-container {
    flex-direction: column;
  }
  .image-leftcolumn {
    width: 100%;
    background: url('../images/university-mainpage.jpg') no-repeat;
    background-size: cover !important;
    height: 50vh !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .image-rightcolumn {
    width: 100%;
    background: url('../images/market-mainpage.jpg') no-repeat;
    background-size: cover !important;
    height: 50vh !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .articles {
    flex-direction: column;
  }
  .aside {
    flex-direction: column;
  }
  .slider-container {
    display: none;
  }
}
