/* -------------------------------------------------------------------------- */
/*                                  CSS RESET                                 */
/* -------------------------------------------------------------------------- */

/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
    box-sizing: border-box;
}

/* 2. Remove default margin */
* {
    margin: 0;
}

body {
    /* 3. Add accessible line-height */
    line-height: 1.5;
    /* 4. Improve text rendering */
    -webkit-font-smoothing: antialiased;
}

/* 5. Improve media defaults */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input, button, textarea, select {
    font: inherit;
}

/* 7. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
    text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

/*
9. Create a root stacking context
*/
#root, #__next {
    isolation: isolate;
}


/* -------------------------------------------------------------------------- */
/*                                 BASE STYLES                                */
/* -------------------------------------------------------------------------- */

body {
    background: url("../imgs/background-f.png") no-repeat center;
    background-size: cover;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media screen and (min-width: 768px) {
    .container {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

header,
main,
footer {
  padding: 1em;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header a {
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
}

.contacts {
    text-align: right;
}

.dash {
    display: block;
    margin-left: auto;
    margin-bottom: .25em;
    height: 3px;
    width: 30px;
    background-color: #DC6259;
}

.contacts p {
    line-height: 120%;
}

.social-icons {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5em;
    margin-top: .5em;
    color: #DC6259;
}
.social-icons img:hover {
    filter: brightness(.75);
    transition: all .25s ease;
}

main {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}

footer {
    text-align: center;
}

footer img {
    display: inline-block;
}

::-moz-selection { /* Code for Firefox */
    color: #fff;
    background: #DC6259;
  }
  
  ::selection {
    color: #fff;
    background: #DC6259;
  }

/* -------------------------------------------------------------------------- */
/*                                    ROWS                                    */
/* -------------------------------------------------------------------------- */
.row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
}

@media screen and (min-width: 768px) {
    .row {
        grid-template-columns: 1fr 1fr;
    }
}

/* -------------------------------------------------------------------------- */
/*                                   COLUMNS                                  */
/* -------------------------------------------------------------------------- */
.col1 {
    margin-bottom: 3rem;
}

@media screen and (min-width: 768px) {
    .col1 {
        margin-bottom: 0;
        margin-top: -50px;
    }

    .col2 {
        padding-left: 15%;
        padding-right: 15%;
    }
}

/* -------------------------------------------------------------------------- */
/*                                   TITLES                                   */
/* -------------------------------------------------------------------------- */
.h1 {
    font-size: 2rem;
    color: #DC6259;
    text-align: center;
    line-height: 120%;
    margin-top: 2rem;
    margin-bottom: .5rem;
}

.title {
    font-weight: 700;
}

.title-es {
    color: #B1B2B2;
    font-size: .75rem;
    padding-left: 4%;
}
.title-pt {
    color: #9C9D9D;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.title-fr {
    color: #9C9D9D;
    font-size: .65rem;
    padding-left: 12%;
    margin-bottom: .75rem;
}
.title-de {
    color: #9C9D9D;
    font-size: .85rem;
    text-align: right;
}

@media screen and (min-width: 768px) {
    .h1 {
        font-size: 3rem;
        margin-bottom: 0;
    }
    .title-pt {
        font-size: 2rem;
        text-align: center;
    }
    .title-es {
        transform: translateY(-10px);
        font-size: 1.55rem;
        padding-left: 10%;
    }
    .title-de {
        font-size: 1.5rem;
        position: absolute;
        right: 1.5rem;
        transform: translateY(200px);
        /* bottom: 1rem; */
    }
    .title-fr {
        font-size: 1.5rem;
        position: absolute;
        right: 3rem;
        transform: translateY(-250px);
        /* top: 10rem; */
    }
}

/* -------------------------------------------------------------------------- */
/*                                   BUTTONS                                  */
/* -------------------------------------------------------------------------- */
.btn {
    background-color: #DC6259;
    border: 3px solid #DC6259;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    padding: .5em 1em;
    font-size: 1.2em;
    line-height: 120%;
    transition: all .25s ease;
}
.btn:hover {
    box-shadow: 0 0 12px #9C9D9D;
}

.btn.btn-alt {
    background-color: #fff;
    border: 5px solid #DC6259;
    color: #DC6259;
}
.btn.btn-alt:hover {
    box-shadow: 0 0 12px #9C9D9D;
}

.btn-block {
    display: block;
    width: 100%;
}