*{
    margin: 0;
    box-sizing: border-box;
}
@font-face {
    font-family:ysab ;
    src: url(Ysabeau_Infant/YsabeauInfant-VariableFont_wght.ttf);
}

html{
    scroll-behavior: smooth;
}
body{
    font-family:ysab;
    font-size: 25px;
}

a{
    text-decoration: none;
    color:black;
}

h1{
    color: #003729;
    text-align: center;     
}

.hero{
    height:60vh;
    justify-items: center;
    align-content: center;
    background-image: linear-gradient(rgba(0, 02, 0, 0.6), rgba(0, 0, 0, 0.6)), url('pics/philosophy.png');
    background-repeat: no-repeat;
    background-size: cover;
    h1{
        font-size: 80px;
        color: #ffffff;
    }
}

.nav{
    width: 100%;
    text-align: center;
    background-color:#003729;
    padding: 0.5em;
    position:sticky;
    top:0;
    a{
        padding: 0.5em 5em;
        color: white;
    }
   
}

.main{
    justify-items: center;
    font-size: 25px;
}
.main-section{
    display: flex;
    width:80%;
    padding: 2em;
    justify-content: space-evenly;
 
    ol{
        background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url('pics/main-bg.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        padding: 3em;
        color: white;
    }

    li{
        border-bottom: 1px solid;
        margin-bottom: 5px;
    }
    div{
        align-content: center;
        justify-items: center;
        img{
            display: block;
            width:40%;
            justify-self: center;
        }
    }
    
    a{
        color:white;
        justify-items: end;
    }
}
#babysitting,#explaining-tech,#google-play,
#estimations, #technology, #launch-day
{
    width: 70%;
    margin: auto;
    >p{
        font-weight: 600;
        margin: 3em 0;
    }
    >h1{
        margin: 1em;
        text-decoration:underline;
    }
}

span{
    font-size: 30px;
    color: #003729;
}

.estimation-heading{
    display:flex;
    justify-content: center;
    align-items: center;
    margin-top: 4em;
    h1{
        text-decoration: underline;
    }
    img{
        display: block;
        width:20%;
        margin: 2em;
    }
}

.babysitting-container{
    display:flex;
    justify-content: space-evenly;
    line-height: 1.5;
    div{
        width:50%;
    }

}

.youtube, .google-play,.driverless-car{
    >p{
        font-weight: 600;
        margin: 1em 0;
    }
}

.youtube-container{
    display:flex;
    flex-direction: row-reverse;
    gap: 50px;
    justify-content: space-evenly;
    padding-top: 1em;
    margin-bottom: 2em;
}

.youtube-data {
    display:grid;
    grid-template-columns: auto auto;
    div{
        align-content: center;
        justify-content: center;
        padding: 2em;
        text-align: center;
    }
}

.youtube-logo{
    width:30%;
    align-content: center;
}

.youtube-users,
.youtube-calculation{
    width:40%;
    padding:4em 3em;
    justify-self: center;
    justify-items: center;
    text-align: center;
    color:white;
}

.youtube-average{
    display:flex;
    text-align: center;
    margin-left: 20%;
    margin-bottom: 8%;
}
.youtube-users{
    text-align: center;
    border:black solid 2px;
    color:black;
}
.youtube-calculation{
    background-color: rgb(0, 0, 0);
}

.google-play-container{
    display: flex;
    justify-content: space-evenly;
    line-height: 1.5;
    margin-top: 3em;
    margin-bottom: 5em;
}

.google-play-logo{
    width: 20%;
    align-content: center;
    margin-right: 2em;
    border-right:#003729 2px solid;
    img{
        width:70%;
    }
}

.driverless-car-container{
    display:flex;
    justify-content: space-evenly;
    margin-bottom: 10%;
    img{
        margin-top: -20px;
    }
}

table {
    margin-top: 3.6em;
    border-spacing: 30px;
  }

.technology-container{
    display:flex;
    justify-content:space-evenly;
    margin-bottom: 5em;
    div{
        width: 50%;
    }
    img{
        width: 80%;
        height: 100%;
    }
}

.launch-day-container{
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 5em;
    div{
        width: 20%;
        text-align: center;
    }
    .num{
        margin-top: 2em;
    }
}

#explaining-tech{
    justify-items: center;
}

#footer{
    background-image: linear-gradient(rgba(0, 02, 0, 0.6), rgba(0, 0, 0, 0.6)), url(pics/foot.png);
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 4em;
    padding: 2em;
    justify-items: center;
    input{
        display:block;
        margin: 1em;
        padding: 1.2em 10em 1.2em 1em;
        border: none;
    }
    button{
        background-color: #003729;
        color: white;
        border: none;
        border-radius: 10px;
        font-weight: bold;
        font-size: 22px;
        padding: 0.5em 3em;
    }
    h1{
    color: #ffffff;
   }
}
