@font-face {
    font-family: Nothing;
    src: url("nothing.ttf") format("truetype");
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Nothing';
}

html {
    font-size: 62.5%;
}

body {
    background-color: #000000;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("https://raw.githubusercontent.com/SEADAsXs/start_page/refs/heads/main/background.jpg");
}

.container {
    width: 80%;
    max-width: 620px;
    display: grid;
    grid-template:
		"card_1 card_2" 1fr
		"card_3 card_3" 1fr
		"card_4 card_4" 1fr
		/ 1fr 1fr;
}

.card_1 {
    grid-area: card_1;
    border-radius: 1rem;
}

.image {
    width: 100%;
    height: 100%;
    display: flex;
}

.img {
    height: 100%;
    width: 80%;
    background-image: url("https://raw.githubusercontent.com/SEADAsXs/start_page/refs/heads/main/JujutsuKaisen2.gif");
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    border-bottom-left-radius: 0rem;
}

.card_2 {
    grid-area: card_2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 1rem;
    position: relative;
    background-color: #00000065;
    border: 3px solid rgba(255, 255, 255, 255);
}

#txt {
    font-size: 8rem;
    color: #f2e9e4;
    font-weight: 600;
}

.secondsContainer {
    position: absolute;
    display: flex;
    bottom: -20px;
    right:-20px;
    background-color: #f2e9e4;
    width: 50px;
    height: 50px;
    border-radius: 1rem;
    align-items: center;
    justify-content: center;
    box-shadow: 1px 5px 30px #0b0b0e64;
}

#seconds {
    font-size: 3rem;
    color: #000000;
    font-weight: 600;
}

.card_3 {
    
    grid-area: card_3;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
}

.search {
    position: relative;
}

input {
    width: 100%;
    padding: 2rem;
    border-radius: 1rem;
    border: none;
    background-color: #000000;
    color: #f2e9e4;
    outline: none;
    font-size: 2rem;
}

.iconSearch {
    position: absolute;
    top: 25%;
    right: 3%;
    font-size: 3rem;
    color: #f2e9e4;
}

.card_4 {
    grid-area: card_4;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.link {
    width: 10rem;
    height: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #00000045;
    border-radius: 1rem;
    text-decoration: none;
    color: #f2e9e4;
    border: 3px solid rgba(255, 255, 255, 255);
}

.link:nth-child(1):hover {
    box-shadow: 0rem 0rem 4rem #ffffff;
    transition: all ease-in-out 0.2s;
    .icon {
        color: #ffffff;
        transition: all ease-in-out 0.5s;
    }
}

.link:nth-child(2):hover {
    box-shadow: 0rem 0rem 4rem #ffffff;
    transition: all ease-in-out 0.2s;
    .icon {
        color: #ffffff;
        transition: all ease-in-out 0.5s;
    }
}
 
.link:nth-child(3):hover {
    box-shadow: 0rem 0rem 4rem #ffffff;
    transition: all ease-in-out 0.2s;
    .icon {
        color: #ffffff;
        transition: all ease-in-out 0.5s;
    }
}

.link:nth-child(4):hover {
    box-shadow: 0rem 0rem 4rem #ffffff ;
    transition: all ease-in-out 0.2s;
    .icon {
        color: #ffffff ;
        transition: all ease-in-out 0.5s;
    }
}

.link:nth-child(5):hover {
    box-shadow: 0rem 0rem 4rem #f2e9e4 ;
    transition: all ease-in-out 0.2s;
    .icon {
        color: #24292e ;
        transition: all ease-in-out 0.5s;
    }
}

.icon {
    font-size: 40px;
}
