html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}


/*ANDROID*/

body {
    background-color: #101010;
    background-image: url("../img/bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Muli', sans-serif;
    display: flex;
    flex-direction: column;
}
p{
    font-size: 1.2rem;
}

* {
    box-sizing: border-box;
    margin: auto;
}
.email{
    color: #8a1818
}

.image {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    
}

.image img {
    z-index: 2;
    width: 100%;
    height: auto;
    border-radius: 20px;
/*    clip-path: polygon(100% 0%, 100% 95%, 0% 100%, 0% 0%);*/
}

.main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    height: 500px;
    padding: 0;

}

ul li {
    margin: 0.3rem;
    width: 6.1rem;
    height: 6.1rem;
    list-style: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.7;
}

a:nth-child(1) li {
    background-image: url('../img/youtube.png');
}

a:nth-child(2) li {
    background-image: url('../img/instagram.png');
}

a:nth-child(3) li {
    z-index: 2;
    background-image: url('../img/mail.png');

}

a li:hover {
    background-position: center;
    background-size: contain;
    cursor: pointer;
}

a:hover:nth-child(1) li {
    background-image: url('../img/youtube-hover.png');

}

a:hover:nth-child(2) li {
    background-image: url('../img/instagram-hover.png');

}

a:hover:nth-child(3) li {
    background-image: url('../img/mail-hover.png');
}

section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap-reverse;
    
}

article {
/*    clip-path: polygon(100% 0%, 100% 100%, 0% 95%, 0% 5%);*/
    padding: 8rem 1rem 4rem 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    margin-top: -6rem;
    border-radius: 20px;
}

footer {
    order: -1;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    ali
}

footer img {
    width: 12rem;
}

ul {
    margin-top: -10rem;
}
@media screen and (min-width:700px) {
    .image img {
        width: 25rem;
    }
}

/*breaking point 768px*/

@media screen and (min-width:1300px) {
    body {
        background-repeat: no-repeat;
        background-position: center;
        flex-wrap: wrap;
        flex-direction: row;
        display: flex;
        margin: 0 auto;
        width: 100%;
    }
    article {
/*        clip-path: polygon(100% 100%, 0% 100%, 0% 0%, 60% 10%, 100% 40%);*/
        padding: 6rem 2rem 6rem 2rem;
        margin: 0 auto;
        width: 80%;
        margin-top: -4rem;
    }
    article p {
        width: 80%;

    }
    footer img {
        margin-top:1rem;
        width: 19rem;
    }

    ul li {
        margin: 2.2rem;
        width: 9rem;
        height: 9rem;
        list-style: none;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }
    ul {
        margin: 0;
    }
    section {
        margin-top: rem;
    }

    section {
        order: 2
    }
    footer {
        margin: 0 auto;
        order: 4
    }
    .main {
        margin-top: 1rem;
        margin-bottom: 2rem;
        order: 1;
        padding-top: 18.5rem;
        padding-left: 14rem;
    }
}

@media screen and (min-width:1305px) and (max-width:1314px){
.main {
    padding-left: 13rem;
}
}
    @media screen and (min-width:1314px) and (max-width:1370px){
.main {
    padding-left: 14rem;
}
    }

    @media screen and (min-width:1370px) and (max-width:1380px){
.main {
    padding-left: 15rem;
}
        }
    @media screen and (min-width:1380px) and (max-width:1440px){
.main {
    padding-left: 16rem;
}
        }

    @media screen and (min-width:1440px) and (max-width:1450px){
.main {
    padding-left: 18rem;
}
        }
   
    
/*----DESKTOP-----*/

@media screen and (min-width:1450px) {
    section {
        margin-right: 6rem;
    }
    body {
        background-repeat: no-repeat;
        background-position: center;
        flex-wrap: wrap;
        flex-direction: row;
        display: flex;
        margin: 0 auto;
        width: 90%;
    }
    article {
        width: 100%;
        
    }

    img {

        order: -1
    }
    .main {
        margin-top: 1rem;
        margin-bottom: 2rem;
        order: 1
    }
    .main {
        padding-top: 19.5rem;
        padding-left: 12rem;
        
    }
    nav {
        flex-grow: 1;
        flex-shrink: 0;
    }
    ul li {
        margin: 2rem;
      
        width: 10rem;
        height: 10rem;
    }
    .image {
        height: auto;
        margin-bottom: -13rem;
        min-width: 400px;
    }
    
    section {
        order: 2
    }
    article {
        position: relative;
        margin: 0;
    }
    article p {
        width: 80%;
        margin-left: 2rem;
    }
 
    footer {
        margin: 0 auto;
        order: 4
    }
}

@media screen and (min-width:1500px) {
    body {
        background-size: contain;
    }
    nav {
        flex-grow: 2;
        flex-shrink: 0;
    }
     .main {
          padding-top: 20.4rem;
        padding-left: 6.4rem;
    }
    ul li {
    width:9rem
    }
}
@media screen and (min-width:1600px) {
    body {
        background-size: contain;
    }
    nav {
        flex-grow: 2;
        flex-shrink: 0;
    }
     .main {
          padding-top: 19rem;
        padding-left: 12rem;
    }
    ul li {
    width:9rem;
    padding:5.5rem;
    }
    
      section {
        margin-right: 20rem;
    }
}


