@import url("/css/whatBlock.inc.css");
@import url("/css/_modules/List.mod.css");

.homeRow {
  padding: 50px 0;
}
@media screen and (min-width: 769px) {
  .homeRow {
    padding: 60px 0;
  }
}
.homeRow--light {
  background-color: #f7f7f7;
}
.homeRow__icon {
  display: inline-block;
  color: #f4a460;
  font-size: 60px;
  margin-bottom: 20px;
}

.homeSlide {
  background-image: url("/img/homepage/slider1.jpg");
  background-position: top right;
  background-repeat: no-repeat;
  background-size: cover;
  /*display: flex;
	align-items: flex-end;*/
  height: 65vh;
  min-height: 450px;
  /*justify-content: center;*/
  /* margin-top: -20px; */
}

.video-container {
  text-align: center;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.video-container iframe {
  height: 100%;
  position: absolute;
  width: 100%;
  left: 0;
}

@media screen and (min-width: 769px) {
  .homeSlide {
    margin-top: 0;
  }
}

@media screen and (min-width: 769px) {
  .homeSlide {
    margin-top: 0;
  }
}

.homeSlide > .container {
  display: flex;
  justify-content: center;
  position: relative;
  height: 55vh;
  min-height: 450px;
}
.homeSlide__Button {
  /*bottom: 70px;
	margin-bottom: 60px;*/
}
.homeSlide__text {
  line-height: 3em;
  background: rgba(255, 255, 255, 0.7);
  padding: 15px;
  text-align: center;
  align-self: flex-end;
  margin-bottom: 30px;
  min-width: 280px;
  max-width: 370px;
  width: 80%;
}
@media screen and (min-width: 769px) {
  .homeSlide__text {
    margin-right: 45%;
  }
}
.homeSlide__textText {
  font-size: 32px;
  margin-bottom: 20px;
  margin-top: 10px;
}

.homeSupportBlock {
  background: url("/img/homepage/tech-support.png");
  position: relative;
}
.homeSupportBlock:before {
  content: " ";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
  background: rgba(0, 0, 0, 0.5);
}

.homeSupportBlock .container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
@media screen and (min-width: 769px) {
  .homeSupportBlock .container {
    flex-direction: row;
  }
}

.homeSupportBlock__block {
  flex-grow: 1;
  text-align: center;
}
.homeSupportBlock__block:not(:last-child) {
  margin-bottom: 50px;
}
@media screen and (min-width: 769px) {
  .homeSupportBlock__block:first-child {
    margin-right: 135px;
    text-align: left;
  }
}

.homeSupportBlock__phone {
  border-color: rgba(255, 255, 255, 0.3);
  margin: 0 auto;
  white-space: nowrap;
  width: auto;
  max-width: 390px;
}
.homeSupportBlock__phone .icofont {
  color: #f4a460;
}

.homeWelcome-text {
  width: 100%;
  margin: 0 auto;
}

@media screen and (min-width: 769px) {
  .homeWelcome-text {
    width: 70%;
  }
}

#subscribe {
}

html {
  scroll-behavior: smooth;
}

/* Login button CSS */

.loginButton {
  background-color: #f4a460;
  border: #f4a460;
  padding: 5px 20px;
  text-align: center;
  width: 150px;
  color: white;
  margin-left: 25px;
}

@media screen and (max-width: 768px) {
  .loginButton {
    margin: 15px auto;
  }
}

.loginButton a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.loginButton:hover {
  background-color: #af7644;
  color: #fff;
}

.loginButton a:after {
  content: "\00bb";
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.loginButton:hover a {
  padding-right: 25px;
}

.loginButton:hover a:after {
  opacity: 1;
  right: 0;
}

/* Styling for the pop-up */
.popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 800px;
  background-color: #ffffff80;
  padding: 20px;
  text-align: center;
}

.close-button {
  cursor: pointer;
  font-size: 24px;
  position: absolute;
  top: 10px;
  right: 10px;
}
