/*
 * Theme Name: Sabadina
 * Description: Sabadina
 * Author: Matteo Totaro
*/

/* Reset */

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;
}

b, strong {
    font-weight: 900;
}

em {
    font-style: italic;
    font-weight: 400;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2rem;
}

#slider-increment i {
    cursor: pointer;
}

#slider-increment i,
a:link {
    text-decoration: none;
    color: #333;
}

a:visited {
    text-decoration: none;
    color: #333;
}

#slider-increment i:hover,
a:hover {
    text-decoration: none;
    color: #000;
}

.wrapper {
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 100%;
    text-align: center;
  }

.img_home {
    max-width: 400px;
    cursor: pointer;
}

.icon_container {
    max-width: calc(400px - 5%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto 20px;
}


.icon_container i {
    font-size: 30px;
}

.intro {
    max-width: calc(400px - 5%);
    margin: 0 auto 10px;
    font-size: 20px;
}

.news_wrapper {
    display: flex;
    flex-direction: column;
}

.news_container {
    /* border: 1px solid black; */
    margin: 15px;
    padding: 15px;
    flex-grow: 2;
}

#slider-increment i {
    font-size: 30px;
}

footer {
    margin: 60px 15px 10px;
}

.img_footer {
    max-width: 150px;
    max-height: 35px;
    margin: 0 10px 5px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.news_title {
    font-size: 18px;
}

.news_content {
    margin-top: 15px;
}

.news_content a {
    text-decoration: underline;
}

@media screen and (max-width: 480px) {
    .img_home {
        max-width: calc(100% - 50px);
    }
    .icon_container {
        max-width: calc(100% - 20%);
        margin: 0 auto 20px;
    }
    footer {
        margin: 40px 15px 10px;
    }
}