@import url('https://fonts.googleapis.com/css2?family=Lato:wght@700&family=Roboto:wght@300;400&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

.test-class {
    color: aqua;
}

html {
    width: 100%;
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
}

img,
video {
    width: 100%;
    height: 100%;
}

body {
    background-color: #2e2e2e;
}

header {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.menu {
    display: none;
}

.logo {
    max-height: 3.5rem;
    max-width: 6rem;
}

.image-preview>img {
    max-width: 16rem;
    max-height: 16rem;
    align-self: center;
}

.skill-icon {
    max-height: 5rem;
    max-width: 5rem;
}

.about-section>img {
    max-width: 15rem;
    border-radius: 1rem;
    margin-bottom: 3rem;
    border: 2px solid white;
    align-self: center;
}

.about-section {
    text-align: start;
}

.images-carousel {
    margin-bottom: 3rem;
    border: 2px solid white;
}

.video-works {
    margin-bottom: 3rem;
}


.download-buttons>a {
    display: block;
    max-width: 17.5rem;
    height: 3rem;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons>a+a {
    margin-top: 3rem;
}

.download-buttons>a>button {
    width: 100%;
    height: 100%;
}

.skills-icons>div {
    display: flex;
    justify-content: space-between;
}

.skills-icons>div+div {
    margin-top: 2rem;
}

.certificates-list {
    display: flex;
    flex-direction: column;
}

.certificates-list>div {
    display: flex;
}

.certificates-list>div+div {
    margin-top: 2rem;
}

.certificates-list>div>a {
    flex: 1 1 50%;
    text-align: start;
    padding-right: 1rem;
}

.contacts>div {
    display: flex;
}

.mail-link {
    justify-content: center;
    margin-bottom: 2rem;
}

.messengers-links {
    justify-content: space-between;
}

footer {
    border-top: 2px solid white;
    padding-top: 2rem;
    padding-bottom: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
    color: white;
}

section {
    /* border-top: 2px solid white; */
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
}

h1,
h2,
h3,
button,
a {
    margin: 0;
    padding: 0;
    color: white;
    line-height: 2.5rem;
}

button:hover {
    background-color: white;
    color: #2e2e2e;
}


a:hover {
    color: white;
    text-decoration: none;
}

h2,
h3,
button,
a {
    font-family: 'Roboto';
}

button {
    background-color: #2e2e2e;
    border-radius: 4px;
    border: 1px solid white;
}

footer>a {
    display: block;
}

h1 {
    font-family: 'Lato';
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

h2,
a {
    font-size: 1.125rem;
    font-weight: 400;
    font-style: normal;
}



@media all and (max-width: 699px) {
    /* .test-class {
        color: bisque; small
    } */

    .desktop {
        display: none;
    }
}


@media all and (min-width: 700px) {
    
    /* .test-class {
        color: green; middle
    } */

    body {
        display: block;
    }

    header {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    section {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    h1 {
        font-weight: 400;
        font-size: 2rem;
    }

    h2 {
        font-weight: 300;
        font-size: 1.5rem;
    }

    a {
        font-weight: 300;
    }

    footer {
        padding-top: 3.5rem;
        padding-left: 3rem;
        padding-right: 3rem;
        padding-bottom: 4rem;
    }

    footer h2 {
        font-size: 1.125rem;
    }



    .about-section {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
    }

    .about-section>img {
        max-width: 18.5rem;
        margin-bottom: 0;
        margin-right: 3rem;
    }


    .about-section>* {
        flex: 1 1 50%;
    }

    .download-buttons {
        display: flex;
        justify-content: space-around;
    }

    .download-buttons>a {
        flex: 1 1 50%;
        margin-left: 0;
        margin-right: 0;
    }

    .download-buttons>a+a {
        margin-top: 0;
    }

    .skills-icons {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }



    footer {
        display: flex;
        justify-content: space-between;
    }

    .mobile {
        display: none;
    }

}

@media all and (min-width: 1000px) {
    /* .test-class {
        color: red; big
    } */

    body {
        display: flex;
        justify-content: space-evenly;
    }

    h1 {
        font-size: 3rem;
        margin-bottom: 7rem;
    }

    .about-section h1 {
        margin-bottom: 3rem;
    }

    .images-carousel {
        margin-bottom: 7rem;
    }

    .video-works {
        margin-bottom: 7rem;
    }

    .download-buttons button {
        font-size: 1.125rem;
    }

    .skills-icons>div>img+img{
        margin-left: 4rem;
    }

    .skills-icons>div+div {
        margin-left: 4rem;
    }

    footer {
        padding-top: 6rem;
        padding-left: 6rem;
        padding-right: 6rem;
        padding-bottom: 8rem;
    }

    header {
        padding-left: 6rem;
        padding-right: 6rem;
        padding-top: 0.375rem;
        padding-bottom: 0.375rem;
    }

    section {
        padding-left: 6rem;
        padding-right: 6rem;
        padding-top: 7rem;
        padding-bottom: 7rem;
    }

    h2 {
        font-size: 2rem;
    }

    .menu {
        display: inline-block;
        margin-left: 3rem;
    }

    .menu a {
        font-size: 1.5rem;
        font-weight: 300;
    }

    a {
        font-size: 2rem;
    }

    .menu>a+a {
        margin-left: 3rem;
    }

    .logo {
        max-height: 7rem;
        max-width: 10rem;
    }

    .about-section>img {
        max-width: 35.5rem;
        margin-bottom: 0;
        margin-right: 7rem;
    }

    .about-description {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .skill-icon {
        max-height: 7rem;
        max-width: 7rem;
    }


    footer h2 {
        font-size: 2rem;
    }
}