html{
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: white;
}

body{
    margin: 0;
    font-family: 'Heebo', cursive;
    text-align: center;
    background: black;
}

.imgbox {
    display: grid;
    height: 100%;
}
.center-fit {
    max-width: 100%;
    max-height: 100vh;
    margin: auto;
}

img{
    max-width: 100%;
    height: auto;
}
.hometext .footer-container{
    width: 100%;
    margin: 0 auto;
    height: 300px;
}

/* =======title======= */

.hometext h1{
    font-size: 15vmin;
    text-align: center;
    line-height: 70px;
    font-weight: normal;
    text-shadow: 2px 2px black;
}

/* =======logo======= */
.logo {
    width: 120px;
    float: right;
}


/* ======header====== */
header{
    position: absolute;
    left: 0;
    right: 0;
}

.header1 ul{
    padding: 15px;
}

.header1 ul li{
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 0px 5px;
    border-radius: 100%;
}

.header1 ul li a{
    color: black;
    font-size: 25px;
    display: block;
}

.header1 ul li a i{
    line-height: 50px;
}

/* =======home-bg======= */
.hometext{
    background-image: url("https://raw.githubusercontent.com/ArielAndNitay/ArielAndNitay.github.io/master/images/front2.jpg");
    padding: 6em 0;
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: block;
    margin: 0 auto;
}

#main {
    margin-top: 50px;
}

#loader-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loader {
    border: 0.6vw solid #8a8a8a;
    border-radius: 50%;
    border-top: 0.6vw solid #ffffff;
    width: 6vw;
    height: 6vw;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    margin: auto;
  }
  
  /* Safari */
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }