body{
    padding:0;
    margin:0 auto;
    background-image: url('assets/bg-stars.svg');
    background-color: hsl(234, 17%, 12%);
    font-family: 'Red Hat Text', sans-serif;
    font-size:14px;
}
#container{
    width: 100%;
    height:100vh;
    background-image: url('assets/pattern-hills.svg');
    background-repeat: no-repeat;
    background-size: 100vw 197px;
    background-position: 0 calc(100vh - 197px);
}
h1{
    color:hsl(0, 0%, 100%);
    padding-top:140px;
    font-size:30px;
    letter-spacing: 10px;
}
#main{
    max-width: 1440px;
    height:100vh;
    margin:0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}
#countdown{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top:80px;
    max-width:1000px;
    width:90%;
}
.countdown-child-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 180px;
}
.countdown-child-container:last-child{
    margin-right: 0;
}
.countdown-child{
    width: 100%;
    height: 100%;
    background-color: hsl(235, 16%, 14%);
    margin-bottom:20px;
    border-radius: 10px;
    position: relative;
}
.countdown-child:after{
    content:" ";
    width: 100%;
    height: calc(50% - 5px);
    background-color: hsl(236, 21%, 26%);
    opacity: 25%;
    left:0;
    top:0;
    position:absolute;
    z-index: 2;
}
.countdown-number{
    width: 100%;
    padding:20px 0;
    text-align:center;
    background-color: hsl(236, 21%, 26%);
    border-radius: 10px;
    font-size:100px;
    color:hsl(345, 95%, 68%);
    margin-bottom:10px;
    position: relative;
}
.countdown-number:after{
    content:" ";
    height:20px;
    width: 10px;
    background-color: hsl(235, 16%, 14%);
    left:0;
    top: calc(50% - 10px);
    position:absolute;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom: 0;
    z-index: 3;
}
.countdown-number:before{
    content:" ";
    width: 10px;
    height: 20px;
    background-color: hsl(235, 16%, 14%);
    right:0;
    top: calc(50% - 10px);
    position:absolute;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;    
    z-index: 3;
}
.countdown-label{
    color:hsl(237, 18%, 59%);
    letter-spacing: 6px;
    width: 100%;
    text-align: center;
}
#social-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    bottom: 0;
    padding-bottom:60px;

}
#social-network{
    width: 200px;
    display: flex;
    justify-content: space-around;
    align-items: center;   
}
#social-container svg{
    cursor: pointer;
}
#social-container svg:hover path{
    fill:hsl(345, 95%, 68%);
}

@media screen and (max-width:1000px) {
    #main{
        max-width: 700px;
    }
    .countdown-child-container{
        width: 130px;
    }
    .countdown-number{
        font-size: 70px;
    }        
}
@media screen and (max-width:800px) {
    #main{
        max-width: 500px;
    }
    .countdown-child-container{
        width: 90px; 
    }
    .countdown-number{
        font-size: 35px;
    }
    h1{
        text-align: center;
        font-size:25px;
        letter-spacing: 10px;
    }
    .countdown-label{
        letter-spacing: 2px;
        font-size: 12px;
    }            
}
@media screen and (max-width:500px) {
    #main{
        max-width: 360px;
    }
    h1{
        font-size: 20px;
    }
    .countdown-child-container{
        width: 70px; 
    }
    .countdown-number{
        font-size: 25px;
    }        
    .countdown-label{
        letter-spacing: 2px;
        font-size: 10px;
    }
    .countdown-number:after{
        content:" ";
        height:10px;
        width: 10px;
        background-color: hsl(235, 16%, 14%);
        left:0;
        top: calc(50% - 5px);
        position:absolute;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        border-bottom: 0;
        z-index: 3;
    }
    .countdown-number:before{
        content:" ";
        width: 10px;
        height: 10px;
        background-color: hsl(235, 16%, 14%);
        right:0;
        top: calc(50% - 5px);
        position:absolute;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;    
        z-index: 3;
    }
    #countdown{
        width:100%;
    }                    
}
@media screen and (max-width:400px) {
    #main{
        max-width: 330px;
    }
    h1{
        padding-top:80px;
        font-size: 20px;
    }    
}