@font-face {
  font-family: 'Bree';
  src: url('./fonts/Bree.woff');
}

@font-face {
  font-family: 'Ciutadella-Regular';
  src: url('./fonts/Ciutadella-Regular.woff');
}

@font-face {
  font-family: 'Helvetica';
  src: url('./fonts/Helvetica.woff');
}

@font-face {
  font-family: 'Helvetica-Bold';
  src: url('./fonts/Helvetica-bold.woff');
}

@font-face {
  font-family: 'Proxima';
  src: url('./fonts/Proxima.woff');
}

@font-face {
  font-family: 'Din-Next';
  src: url('./fonts/Dinnext.woff');
}

html {
  min-height: 100%;
}
body {
  margin: 0;
  min-width: 25rem;
  font-family: 'Helvetica', sans-serif;
  pointer-events: auto;
  display: grid;
  width: 100%;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
}

/* 
#################################################
##################page - header##################
#################################################
*/

header {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

header > a > img {
  width: 360px;
  height: 60px;
  padding: 0.5rem 0;
}

header > nav {
  font-family: 'Din-Next', sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  color: #0e3e9b;
  position: relative;
  z-index: 9;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-end;
}

header > nav a {
  padding: 1rem;
  box-sizing: border-box;
  text-decoration: none;
  color: #0e3e9b;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

header > nav > .dropdown {
  position: relative;
  height: 100%;
}

header > nav > .dropdown > nav {
  position: absolute;
  top: calc(100% - 1px);
  max-height: 1px;
  min-width: 100%;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, background 0.4s linear;
  background: white;
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

header > nav > .dropdown > .mobile {
  display: none;
}

header > nav > .dropdown:hover > nav,
header > nav > .dropdown > nav:hover,
:hover + header > nav > .dropdown > nav {
  max-height: 50rem;
  top: 100%;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
}

header > nav a.active {
  text-decoration: underline;
}

header > nav a:hover {
  background: rgba(0, 0, 190, 0.1);
  cursor: pointer;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-row > span > a > button {
  padding: 0.5rem 1rem;

}

.contact-row > span > a > button {
  width: auto;
}

.contact-row strong {
  font-size: 1.2rem !important;
}

/* 
#################################################
##################title and btn##################
#################################################
*/

.webbanner {
  position: relative;
}
.webbanner > div {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: start;
  padding-left: 3rem;
  color: #dedede;
}

@media (max-width: 45rem) {
  .webbanner > div {
    display: none;
  }
}

.title {
  font-family: 'Helvetica-Bold', sans-serif;
  display: block;
  text-align: center;
  background: #e9ecf3;
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  color: #f59949;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.title > span {
  display: block;
  font-family: 'Din-Next', sans-serif;
  font-size: 1.3rem;
  color: #0f3266;
  letter-spacing: 0.1rem;
  padding-top: 1rem;
}

.button > input,
button {
  background-color: #f59949;
  color: white;
  border: transparent;
  width: 100px;
  height: 40px;
  font-family: 'Din-Next', sans-serif;
}

.button > input:hover,
button:hover {
  background-color: #ebca5c;
  cursor: pointer;
}

button > a {
  text-decoration: none;
  color: white;
  font-size: 16px;
}

.button {
  display: grid;
  margin-top: 10px;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

button#vst {
  width: 200px;
  font-size: 17px;
}

/* 
#################################################
##################container - 1##################
#################################################
*/

.container-1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 2rem auto;
  padding: 0 2rem;
  max-width: 280rem;
}

.container-1 > section {
  min-width: min(100%, 20rem);
  flex: 1;
  margin: 1rem 3rem;
  font-size: 16px;
}
@media (max-width: 45rem) {
  .container-1 > section {
    margin: 1rem auto;
  }
}

.container-1 > section > h3 {
  color: #0f3266;
  font-size: 24px;
  letter-spacing: 0.2rem;
}

.container-1 > section:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.container-1 > section > img {
  display: block;
  height: 100%;
  margin: auto;
}

.container-1 > section#einvoiceimg {
  padding: 1rem 1rem;
  margin: 0rem;
  max-height: 20rem;

}

/* 
#################################################
##################container - 2##################
#################################################
*/

.container-2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 2rem;
}

.item-2 > h2 {
  min-height: 2em;
  line-height: 1em;
}

.item-2:hover {
  cursor: pointer;
  background-color: #6d686833;
}

.item-2 img {
  border-radius: 50%;
  margin-right: 1rem;
}

.container-2-1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.item-2 {
  flex: 1 1 auto;
  max-width: 18rem;
  padding: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;

  border-radius: 1rem;
  transition: background-color 0.1s linear;
}

.item-2 h2 {
  font-weight: lighter;
  margin-bottom: 0.5rem;
  margin-top: 0;
  color: #254074;
}
.item-2 p {
  margin: 0;
}

.item-2 em {
  color: grey;
}

.services-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* 
#################################################
##################container - 3##################
#################################################
*/

.container-3 {
  display: grid;
  grid-template-columns: minmax(170px, 25%) 1fr;
  margin: 20px auto;
  padding: 20px 2rem;
  max-width: 70rem;
}

.container-3 h3 {
  text-align: left;
  margin: 0;
  color: #00254b;
}

.item-3#image {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 1/2;
  grid-row: 1/3;
}
.item-3#text {
  /* margin: 0 30px; */
  grid-row: 2/3;
  grid-column: 2/3;
}
.item-3 p {
  margin-top: 0;
}

/* 
#################################################
##################container - 4##################
#################################################
*/

.container-4 {
  font-family: 'Helvetica', sans-serif;
  letter-spacing: normal;
  font-size: 1rem;
  max-width: 70rem;
  margin: 1rem auto;
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.container-4#productsfeature {
  color: #0f3266;
  font-size: 1.2rem;
  /* margin-bottom: 0; */
}

.feature-chart {
  margin: 20px auto;
  max-width: 60rem;
  min-width: 300px;
  text-align: center;
}

.feature-chart > img {
  display: block;
  width: 100%;
}

.item-4 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: rgb(7, 31, 78);
  margin: 0.5rem;
}

.item-4#features {
  background-color: white;
  width: 20rem;
  height: 12rem;
  margin-bottom: 20px;
}

.item-4-text {
  text-align: center;
  display: block;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
  z-index: 2;
}

.item-4-text > strong {
  font-size: 1.2rem;
  display: block;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.3;
  color: white;
}

#image-1 {
  background-image: url('./images/review-1.jpg');
  background-size: cover;
}

#image-2 {
  background-image: url('./images/review-2.jpg');
  background-size: cover;
}

/* 
#################################################
##################page - footer##################
#################################################
*/

footer {
  padding: 2rem;
  grid-gap: 1rem;
  border-top: 5px solid #0f3266;
}

footer > .copyright {
  color: #333;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

footer > div {
  display: flex;
  justify-content: center;
  align-items: center;
}

footer > div > img {
  height: 4rem;
  margin: 1rem 0 1rem 1rem;
}

@media (max-width: 60rem) {
  footer {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  footer > div:first-child {
    grid-row: 3/4;
  }
}

/* 
#################################################
###############@media responsive#################
#################################################
*/

@media (max-width: 45rem) {
  body, header {
    display: block;
  }
  header > nav {
    flex-direction: column;
    align-items: stretch;
  }

  header {
    padding: 0;
  }

  header > a {
    display: flex;
    justify-content: center;
  }
  header > img {
    width: 300px;
  }

  .container-3 {
    padding: 0;
  }

  header > nav > .dropdown > nav {
    position: relative;
    top: 0;
    z-index: 10;
  }
  header > nav > .dropdown:hover > nav,
  header > nav > .dropdown > nav:hover,
  :hover + header > nav > .dropdown > nav {
    background: #f0f0f0;
    top: 0;
  }
}

@media (hover: hover) {
  header > nav > .dropdown > .mobile {
    display: none;
  }
  header > nav > .dropdown > .not-mobile {
    display: flex;
  }
}

@media (hover: none) {
  header > nav > .dropdown > .mobile {
    display: flex;
  }
  header > nav > .dropdown > .not-mobile {
    display: none;
  }
}


@media (max-width: 70rem) {
  header {
    flex-direction: column;
  }

  header > img {
    margin: auto;
  }

  header > nav {
    justify-content: space-around;
  }

  .container-1 > section#einvoiceimg {
    padding: 0;
    margin: 0;
  }
}


@media (max-width: 300px) {
  .container-4 {
    font-size: 0.9rem;
  }

  .container-4#productsfeature {
    color: #0f3266;
    font-size: 0.8rem;
  }

  header > img {
    width: 280px;
  }

  .feature-chart {
    min-width: 280px;
  }
}
