a:link {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
a:active {
  text-decoration: none;
}
a {
  color: #000;
}


body, html {
  height: 98%;
  background-color: #f2f2f7;
  width: 100%;
  margin: 0;
  padding: 0;
}
html {
  background-color: #f2f2f7;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, #footerLink {
    font-family: ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, 'Inter', "Segoe UI", "Helvetica Neue", sans-serif;
    transition: font-size 0.2s;
    font-weight: 700;
    text-wrap: balance;
}
h1 {
  font-size: 60pt;
  margin: 25px;
}
h2 {
  font-size: 30pt;
  margin: 25px;
  text-align: center;
}
h3 {
  font-size: 15pt;
  margin: 25px;
  text-align: center;
}
h4, #footerLink {
  font-size: 15pt;
  margin: 25px;
}

h5 {
  font-size: 15pt;
  transition: font-size 0.2s;
}

#vector-logo {
  width: 50px;
  transition-timing-function: cubic-bezier(0.19, 0.82, 0.29, 0.94);
}

#phones {
    display: flex;
    margin: 40px;
    margin-bottom: 225px;
    flex-wrap: wrap;
}

.phone {
    width: 30%;
    max-width: 300px;
    min-width: 250px;
    transition: all 0.8s;
/*    transition-timing-function: cubic-bezier(0, 0.5, 0.5, 1);*/
    
}
#phone1:hover {
    rotate: -15deg;
    scale: 110%;
}
#phone2:hover {
    rotate: 10deg;
    scale: 110%;
}
#phone3:hover {
    rotate: -10deg;
    scale: 110%;
}
#phone4:hover {
    rotate: 15deg;
    scale: 110%;
}

#phone1 {
    transform: rotate(15deg) scale(1) translateY(0px);
}
#phone2 {
    transform: rotate(-10deg);
}
#phone3 {
    transform: rotate(10deg);
}
#phone4 {
    transform: rotate(-15deg);
}

header {
  margin-top: 2vw;
  margin-left: 2vw;
  width: 96vw;
  display: flex;
  position: fixed;
  padding: 15px;
  box-sizing: border-box;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  justify-content: center;
  z-index: 100;
  transition: scale 0.6s, box-shadow 0.6s, background-color 0.6s, opacity 0.6s,
    transform 0.6s;
  transition-timing-function: cubic-bezier(0.19, 0.82, 0.29, 0.94);
  box-shadow: none;
  transform: translate(0px, -300px);
  scale: 1;
}

header:hover {
  scale: 1.01;
  box-shadow: 0px 20px 30px rgb(0, 0, 0, 0.05);
  background-color: rgba(255, 255, 255, 0.9);
}

#header-img {
  width: 140px;
  object-fit: cover;
  padding: 25px;
  transition: width 0.2s;
}

#top-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

#top-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  transition-timing-function: cubic-bezier(0.19, 0.82, 0.29, 0.94);
  transition: scale 0.6s, opacity 0.6s, filter 0.6s, transform 0.6s;
}

#bottom-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 120px;
}

#section-2 {
  display: flex;
  flex-direction: column;
  background-color: none;
  margin-left: 1vw;
  margin-right: 1vw;
  margin-top: 50px;
  margin-bottom: 125px;
  padding: 25px;
  
  border-radius: 25px;
  transition-timing-function: cubic-bezier(0.19, 0.82, 0.29, 0.94);
  transition: scale 0.6s, opacity 0.6s, filter 0.6s;
}

#video {
  aspect-ratio: 16 / 9;
  height: 100%;
  width: 100%;
  border-radius: 25px;
}

#section-3 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-left: 2vw;
  margin-right: 2vw;
  margin-top: 25px;
  margin-bottom: 125px;
/*  aspect-ratio: 16/9;*/
}
#section-4 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-left: 2vw;
  margin-right: 2vw;
  margin-top: 25px;
  margin-bottom: 125px;
/*  aspect-ratio: 16/9;*/
}
#section-5 {
  display: flex;
  flex-direction: column;
/*  flex-wrap: wrap;*/
  align-items: center;
  justify-content: center;
  margin-left: 2vw;
  margin-right: 2vw;
  margin-top: 25px;
  margin-bottom: 150px;
/*  aspect-ratio: 16/9;*/
}
#section-title {
  width: 60%;
  margin-bottom: 40pt;
}
#section-title-r {
  width: 30%;
}

#icons-grid {
  max-width: 680px;
  margin: 100px;
}


.btn {
    
  display: flex;
  font-family: ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, 'Inter', "Segoe UI", "Helvetica Neue", sans-serif;
  color: rgba(0, 0, 0, 1);
  background-color: rgba(0, 0, 0, 0.1);
  padding-left: 60px;
  padding-right: 60px;
  padding-top: 20px;
  padding-bottom: 20px;
  box-sizing: border-box;
  text-decoration: none;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  min-width: 200pt;
  max-width: 400pt;
  transition: color 0.4s, background-color 0.4s, scale 0.4s;
  transition-timing-function: cubic-bezier(0.19, 0.82, 0.29, 0.94);
}
.btn:hover {
  color: rgba(255, 255, 255, 1);
  background-color: rgba(0, 0, 0, 0.7);
  scale: 1.1;
}

.btn:active {
  color: rgba(255, 255, 255, 1);
  background-color: rgba(0, 0, 0, 0.7);
  scale: 0.95;
}

#scrollBtn {
    margin-bottom: 164px;
    display: flex;
    justify-content: center;
}


#scrollBtnImg {
    width: 44px;
    height: 44px;
    text-align: center;
    left: 50%;
    transition: all 0.4s;
    animation: chevronMove 3s ease infinite;
    transition-timing-function: cubic-bezier(0.19, 0.82, 0.29, 0.94);
    transform: translateY(-50px);
}

#scrollBtnImg:hover {
    transform: scale(1.3);
}

#icons-grid {
  margin: 10px;
  transition: scale 0.4s;
  transition-timing-function: cubic-bezier(0.19, 0.82, 0.29, 0.94);
}

#wallpapers {
  transition: filter 0.4s, scale 0.4s;
  transition-timing-function: cubic-bezier(0.19, 0.82, 0.29, 0.94);
}

.spacer {
  flex-grow: 1;
}

.divider {
  width: 2px;
  height: 20pt;
  background-color: rgba(0,0,0,0.5);
}
.spacer-small {
  flex-grow: 0.1;
}

#wallpapers {
  border-radius: 20px;
  width: 90%;
  max-width: 680px;
  margin: 100px;
  margin-bottom: 100px;
}


.divider {
    margin-top: 50px;
    height: 4px;
    width: 25%;
    min-width: 150px;
    border-radius: 2px;
    background-color: black;
    opacity: 0.2;
    
}

#iconsScroll-1 {
    width: 100%;
    height: 140px;
    flex-flow: column wrap;
    justify-content: center;
    background-image: url(img/icons1.png);
    background-size: 5700px;
    background-repeat: repeat-x;
    background-position: top;
    animation: iconScroll 30s linear infinite;
    border-radius: 25px;

}


#iconsScroll-2 {
    width: 100%;
    height: 140px;
    flex-flow: column wrap;
    justify-content: center;
    background-image: url(img/icons2.png);
    background-size: 5700px;
    background-repeat: repeat-x;
    background-position: top;
    animation: iconScroll 30s linear infinite reverse;
    border-radius: 25px;
    
}
#iconsScroll-3 {
    width: 100%;
    height: 140px;
    flex-flow: column wrap;
    justify-content: center;
    background-image: url(img/icons3.png);
    background-size: 5700px;
    background-repeat: repeat-x;
    background-position: top;
    animation: iconScroll 30s linear infinite;
    border-radius: 25px;
    
}

#wallpapersScroll {
    width: 100%;
    height: 515px;
    flex-flow: column wrap;
    justify-content: center;
    background-image: url(img/wallpapers.png);
    background-size: 2000px;
    background-repeat: repeat-x;
    background-position: top;
    animation: wallpaperScroll 15s linear infinite;
    border-radius: 25px;
}

.grid {
    display: flex;
    
}

#gridImg {
   width: 100%;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 30px;
}

#footerLink {
    
   text-align: center;
    transition: all 0.4s;
    transition-timing-function: cubic-bezier(0.19, 0.82, 0.29, 0.94);
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 20px;
}


#footerLink:hover {
    
    transform: scale(1.2);
    
    color: rgba(0, 0, 0, 1);
    background-color: rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    text-decoration: none;
    justify-content: center;
    align-items: center;

}
#footerLink:active {
    padding-left: 30px;
    padding-right: 30px;
    transform: scale(0.8);
    color: rgba(255, 255, 255, 1);
    background-color: rgba(0, 0, 0, 0.7);
}

@keyframes iconScroll {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 5700px 0;
    }
}

@keyframes chevronMove {
    0% {
        transform: translateY(-50px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(-50px);
    }
}

@keyframes wallpaperScroll {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 2000px 0;
    }
}

@media screen and (max-width: 600px) {
    #headerbtn {
        display: none;
    }
    
   
}

@media screen and (max-width: 950px) {
 
  #phone4 {
      display: none;
  }
  
  #footerLink {
      width: 100%;
  }
  #gridImg {
      content: url("img/Vertical Grid.png")
   }
}

@media screen and (max-width: 1400px) {
  #phone4 {
      display: none;
  }
  #phones {
      justify-content: center;
  }
}

@media screen and (max-width: 400px) {

  #phone4 {
      display: none;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #232024;
  }
  html {
    background-color: #232024;
  }
  header {
    background-color: rgba(51, 48, 51, 0.7);
  }

  h1, h2, h3, h4, h5, #footerLink {
    color: white;
  }
 
  #vector-logo, #scrollBtnImg {
    filter: invert();
  }
  
  .btn {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(255, 255, 255, 0.1);
  }
  .btn:hover {
    color: rgba(0, 0, 0, 1);
    background-color: rgba(255, 255, 255, 0.7);
  }
  header:hover {
    box-shadow: 0px 20px 30px rgb(0, 0, 0, 0.05);
    background-color: rgba(51, 48, 51, 0.9);
  }
  html {
    background-color: #232024;
  }

  #footerLink:hover {
      color: rgba(0, 0, 0, 1);
      background-color: rgba(255, 255, 255, 0.7);
  }
  
  
  a {
    color: #000;
  }
  .divider {
    background-color: white;
  }
}


