/***** Estilos generales *****/


/*#226A88 #60ABB2 #A9B578 #AC9C93*/

body {
    /*font-family: 'Krona One', sans-serif;*/
    font-family: 'Raleway', sans-serif;
    background: url("../css/images/bg_textura.jpg")
}

.general_container {
    width: 80%;
    margin: 0 10%;
    background-color: #fbfbfb;
}

a {
    text-decoration: none;
}

i {
    color: #fff;
}

#wrapper {
    padding-bottom: 60px;
    min-height: calc(100% - 60px);
    position: relative;
}

main {
    width: 80%;
    margin: 0 10%;
}


/***** Header *****/

header {
    background-color: #226A88;
    width: 100%;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

img.logo {
    width: 250px;
    padding-left: 20px;
}

#btn-menu {
    display: none;
}

header label {
    display: none;
    padding: 20px;
}

header label:hover i {
    cursor: pointer;
    color: #60ABB2;
}

@media (max-width: 768px) {
    img.logo {
        width: 200px;
    }
    header label {
        display: block;
    }
}


/***** Navbar *****/

.menu ul {
    margin: 0 20px 0 0;
    display: flex;
}

.menu li {
    list-style: none;
}

.menu li:hover {
    background-color: #60ABB2;
    cursor: pointer;
    border-radius: 5px;
}

.menu li a {
    color: #fff;
    font-weight: 700;
    display: block;
    padding: 15px 20px;
}

@media (max-width: 768px) {
    .menu {
        position: absolute;
        width: 70%;
        background-color: #226A88;
        top: 66px;
        right: -70%;
        transition: all 0.5s;
    }
    .menu ul {
        padding: 8px;
        flex-direction: column;
    }
    .menu li {
        border-top: 1px solid #60ABB2;
    }
    #btn-menu:checked~.menu {
        right: 0;
    }
}


/**** Home *****/

.container {
    height: 300px;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 180px 2em 2em 2em;
}

.container-img {
    text-align: center;
    width: 100%;
    /*flex-basis: calc(40% - 1rem);*/
}

.container-img img {
    width: 250px;
    border-radius: 50%;
    border: 4px solid #60ABB2;
}

.container-info {
    width: 100%;
}

h1 {
    color: #A9B578;
}

h1,
h2 {
    font-weight: 600;
}

p.footer-title {
    font-size: 25px;
    font-weight: 600;
    text-align: center;
}

p.title {
    text-align: center;
    font-size: 35px;
    font-weight: 600;
    color: #A9B578;
    margin-bottom: 0;
    padding: 100px 0 0 0;
}

.btn-home {
    color: #fff;
    background-color: #60ABB2;
    border: none;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 10px 5px 0;
    width: 150px;
}

.btn-home:hover {
    background-color: #226A88;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav {
        padding: 0;
    }
    .menu-logo {
        text-align: center;
    }
    main {
        width: 100%;
        margin: 0;
    }
    .container {
        flex-direction: column;
        height: auto;
        text-align: center;
        padding: 125px 15px 0 15px;
    }
    .container-img img {
        width: 200px;
    }
    .container-info {
        text-align: center;
    }
}


/**** Proyectos *****/

.container-cards {
    min-height: 450px;
    padding: 2rem 2rem 8rem 2rem;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.card {
    width: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    margin-bottom: 35px;
    border-radius: 5px;
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.card a h3 {
    color: #A9B578;
}

.card a p {
    color: auto;
}

.container-txt {
    padding: 2px 16px;
}

.card img {
    width: 100%;
    border-radius: 5px 5px 0 0;
}

@media (max-width: 768px) {
    p.title {
        padding: 85px 0 0 0;
    }
    .container-cards {
        flex-direction: column;
    }
}


/***** Contacto *****/

.container-contacto {
    background-color: #226A88;
    width: 100%;
    height: auto;
    color: white;
    display: flex;
    justify-content: space-around;
}

.contacto {
    width: 25%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.text {
    width: 40%;
    text-align: justify;
}

.skills {
    text-align: center;
    width: 25%;
}

.contacto a i,
.skills i {
    margin: 10px;
}

.icons-contacto a i:hover {
    color: #60ABB2;
    cursor: pointer;
}

@media (max-width: 768px) {
    .container-contacto {
        text-align: center;
        padding: 0 0 30px 0;
        height: auto;
        flex-direction: column;
    }
    .text,
    .contacto,
    .skills {
        width: 100%;
    }
    .text p {
        padding: 0 20px;
    }
}


/***** Footer *****/

footer {
    color: white;
    text-align: center;
    background-color: #226A88;
    border-top: 1px solid #60ABB2;
    width: 100%;
    height: 60px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer-title {
    color: #fff;
    font-weight: 600;
}

footer span {
    color: #60ABB2;
}
