@font-face {
    font-family: Gilroy;
    src: url("fonts/Gilroy-Regular.woff");
    font-weight: 400;
    font-style: normal; } 
  
  @font-face {
    font-family: Gilroy;
    src: url("fonts/Gilroy-Bold.woff");
    font-weight: 700;
    font-style: normal; }


    section {
        position: relative;
        width: 100%;
        height: 100vh;
        min-height: 400px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-wrap: nowrap;
        margin: 0px;
    }
    
    header {
        position: absolute;
        z-index: 2;
        left: 5%;
        top: 5%;
    }
    
    footer {
        position: absolute;
        z-index: 2;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        bottom: 5%;
        left: 5%;
        width: 90%;
        gap: 20px;
    }
    
    .media {
        position: relative;
        width: 100%;
        height: 100vh;
        left: 0px;
        top: 0px;
        z-index: 1;
    }
    
    .media img, .media video {
        width: 100%;
        height: 100vh;
        object-fit: cover;
    }
    
    body {
        width: 100%;
        height: 100vh;
        margin: 0px;
        padding: 0px;
        overflow: hidden;
        font-family: Gilroy;
    }

    .contacts p,  .contacts a {
        margin: 0px;
        font-weight: 400;
        font-size: 24px;
        line-height: 29px;
        color: rgba(2, 34, 44, 1);
    }
    
    .contacts {
        display: flex;
        flex-direction: column;
        gap: 5px;
        max-width: 50%;
    }
    
    .soon h1 {
        text-align: end;
        margin: 0px;
        font-weight: 700;
        color: rgba(2, 34, 44, 1);
        font-size: 40px;
        line-height: 50px;
    }
    @media (max-width: 1300px) {
        .contacts p,  .contacts a {
            font-size: 22px;
            line-height: 26px;
        }
        
        .soon h1 {
            font-size: 36px;
            line-height: 44px;
        }
    }

    @media (max-width: 1000px) {
        body{
            overflow: hidden;
        }
        header {
            display: flex;
            justify-content: center;
            width: 90%;
        }
        
        footer {
            display: flex;
            flex-direction: column-reverse;
            gap: 50px;
            bottom: 10%;
        } 
        
        .contacts p,  .contacts a {
            font-size: 20px;
            line-height: 28px;
            text-align: center;
        }
        .soon {
            margin: auto;
        }
        
        .soon h1 {
            font-size: 30px;
            line-height: 36px;
            text-align: center;
        }
        
        .contacts {
            align-items: center;
            max-width: 100%;
            width: 100%;
        }
    }

    @media (max-width: 500px){
        .soon h1 {
            font-size: 26px;
            line-height: 30px;
        }
        
        .contacts p,  .contacts a {
            font-size: 16px;
            line-height: 24px;
        }
    }
