* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier', monospace;   
}

html, body {
    height: 100%;
    width: 100%;
}

#main{
    background-color: black;
}

#page1 {
    height: 100vh;
    width: 100%;
    position: relative;
}

#cursor {
    height: 7vw;
    width: 7vw;
    border-radius: 50%;
    position: fixed;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    left: 50%;  
    transform: translate(-50%, -50%);
}

#cursor h5 {
    color: white;
    font-size: 1.5vw;
}

#page1 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

#page4 h1{
    font-size: 2vw;
    color: white;
    font-weight: 500;
}

.social-icons {
  display: flex;
  align-items: center;
  justify-content: end;
  margin-bottom: 4vw;
  gap: 16px;
}

.social-icons a svg {
  transition: transform 0.2s ease;
}

.social-icons a:hover svg {
  transform: scale(1.1);
}


#page1-content {
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 10;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1 vw;
}

nav {
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 2vw  3vw;
}

#github-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2vw;
}

#github-icon {
    width: 2.5vw;
    height: auto;
    transition: transform 0.3s ease;
}

#github-icon:hover {
    transform: scale(1.1);
}

#page1-content h1 {
    font-size: 15vw;
    letter-spacing: -4.3vw;
    line-height: 20vw;
}

#page1-content h1 span {
    display: inline-block;
}

#page2 {
  height: 100vh;
  width: 100%;
  background-color: rgb(0, 0, 0);
}

#page2-content {
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1vw 3vw;
}
#quote-block {
  display: flex;
  flex-direction: row;
  color: white;
  justify-content: space-between;
  margin-top: 2vw;
}

#quote-block h1 {
  font-size: 3vw;
  margin-bottom: 1vw;
}

#quote-block h2 {
  font-size: 2vw;
  padding-left: 33vw;
  margin-bottom: 2vw;
  padding-top: 4vw;
}

#line {
  height: 0.1vw;
  width: 100%;
  background-color: white;
  border-radius: 1vw;
}

#page2-content h3 {
    font-size: 3.5vw;
    text-align: center;
    color: white;
    font-weight: 100;
    margin-top: 2vw;
}

#page3{
    min-height: 100vh;
    width: 100%;
    position: relative;
    padding: 3vw;
    background-image: url('./public/ferrari.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

#page3-top {
    text-align: center;
}

#page3-top h4 {
    margin-bottom: 1vw;
    font-size: 1vw;
    font-weight: 500;
}

#page3-top h4 span{
    font-size: 0.7vw;
    background-color: rgb(171, 1, 1);
    color: white;
    padding: 2px 5px;
    border-radius: 5px;
}

#page3-top h2 {
    font-size: 4vw;
    font-weight: 500;
}

#page4 {
  height: 100vh;
  width: 100%;
  background-color: rgb(0, 0, 0);
}

#page4-top {
    text-align: center;
    padding: 3vw;
    color: white;
}

#page4-top h2 {
    font-size: 4vw;
    font-weight: 500;
}

#page4-top span {
    font-size:2vw;
    background-color: rgb(171, 1, 1);
    color: white;
    padding: 2px 5px;
    border-radius: 10px;
}

#elements {
  height: 70vh;
  width: 80%;
  margin-left: 10vw;
  display: flex;
  align-items: center;
  justify-content: space-between;

}

#page4 .box {
    height: 100%;
    width: 33%;
    position: relative;
}

#page4 .box video{
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

#page4 .box img{
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all ease 0.5s;
}

#page4 .box:hover img{
    opacity: 0;
}

#loader {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    color: white;
    background-color: black;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#loader h3 {
    font-size: 3vw;
}