@font-face {
    font-family: "Poppins";
    src: url(Poppins-Regular.ttf) format("truetype");
}

*{
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
}

video{
    width:704px;
    height:480px;
}

body {
    background: linear-gradient(rgba(14, 19, 31, 0.9), rgba(14, 19, 31, 0.9)), url(img/background.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    width: 99%;
    height: 90vh;
    background-color: #0E131F;
}

header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 15%;
    background-color: #ffa987;
}

.logo{
    size: 20px;
    padding:0;
    margin: 0;
}

.navbar{
    display: flex;
}

.navbar a{
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    margin: 0 5px;
    color: #0E131F;
    transition: all .45s ease;
    border-radius: 5px;
}

.navbar a:hover{
    background:  #e54b4b;
}

#menu-icon{
    font-size: 30px;
    z-index: 100012;
    color: #0E131F;
    cursor: pointer;
    display: none;
}

@media (max-width: 1530px){
    header{
        padding: 18px 3%;
        transition: .2s;
    }
}

@media (max-width: 1070px){
    header{
        padding: 18px 3%;
        transition: .2s;
    }

    body{
        width: 97%;
    }

    video{
        width:426px;
        height:240px;
    }
    

    #menu-icon{
        display: block;
    }

    .navbar{
        position: absolute;
        top: -800%;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background:#ffa987;
        transition: all .50s ease;
        text-align: left;
    }
    .navbar a{
        display: block;
        padding: 1rem;
        margin: 0.8rem;
    }
    .navbar.open{
        top: 100%;
    }
}


h1 {
    color: #F7EBE8;
    text-align: center;
}

h3 {
    color: #F7EBE8;
    text-align: center;
    margin-top: -10px;
    font-size: 30px;
}
  
p {
    margin-left: 30px;
    margin-right: 30px;
    padding: 10px;
    font-size: 23px;
    color: #F7EBE8;
}
